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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 25%, #fef7ff 50%, #fff5f9 75%, #f8f9ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.95) 0%, 
        rgba(139, 92, 246, 0.95) 50%, 
        rgba(236, 72, 153, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.98) 0%, 
        rgba(139, 92, 246, 0.98) 50%, 
        rgba(236, 72, 153, 0.98) 100%
    );
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 20px;
}

.logo {
    position: relative;
    z-index: 2;
}

.logo a {
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    overflow: visible;
}

.logo a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.logo a:hover::before {
    opacity: 1;
    transform: scale(1);
}

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.logo a:hover .logo-icon::before {
    animation: shine 0.6s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.logo-icon i {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #ffffff, #f0f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.logo a:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.logo a:hover .logo-icon i {
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.4));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 0.1rem;
}

.logo-word {
    font-weight: 800;
    display: block;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-word.coding {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-text-fill-color: transparent;
}

.logo-word.institution {
    font-size: 1rem;
    background: linear-gradient(135deg, #f0f0ff 0%, #d8daff 100%);
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo a:hover .logo-word.coding {
    transform: translateX(2px);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.4));
}

.logo a:hover .logo-word.institution {
    transform: translateX(2px);
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.3));
}

/* Logo Image Styles */
.logo-image {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo a:hover .logo-image {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Keep text-based logo styles for fallback or alternative use */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
    border-radius: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #ffffff, #f0f0ff);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
}

.nav-link.active::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #ffffff;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #ffffff;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px;
    transform-origin: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, 
        rgba(248, 249, 255, 0.95) 0%, 
        rgba(240, 244, 255, 0.95) 25%,
        rgba(255, 247, 255, 0.95) 50%,
        rgba(255, 245, 249, 0.95) 75%,
        rgba(248, 249, 255, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(251, 146, 60, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.greeting {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 2rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex !important;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-buttons .btn {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.profile-image::before {
    content: '👨‍💻';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    bottom: -30px;
    left: -30px;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    right: -40px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(249, 250, 255, 0.9) 20%,
        rgba(254, 247, 255, 0.9) 40%,
        rgba(255, 249, 250, 0.9) 60%,
        rgba(248, 250, 255, 0.9) 80%,
        rgba(255, 255, 255, 0.9) 100%
    );
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 18s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(251, 146, 60, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 22s ease-in-out infinite reverse;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.9) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s ease;
}

.about-text:hover::before {
    transform: scaleY(1);
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 2;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.about-text p::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.about-text p:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.about-text p:hover {
    color: var(--text-dark);
    padding-left: 2rem;
    transform: translateX(5px);
}

.about-text p:first-child {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    padding-left: 0;
}

.about-text p:first-child::before {
    display: none;
}

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

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.95) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 18px;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.stat-item:hover::after {
    transform: scale(1);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

.stat-item:hover::before {
    opacity: 0.1;
}

.stat-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.stat-item:nth-child(1):hover::before {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    opacity: 0.15;
}

.stat-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.stat-item:nth-child(2):hover::before {
    background: linear-gradient(135deg, #ec4899, #db2777);
    opacity: 0.15;
}

.stat-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.stat-item:nth-child(3):hover::before {
    background: linear-gradient(135deg, #10b981, #059669);
    opacity: 0.15;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    letter-spacing: -1px;
}

.stat-item:nth-child(1) h3 {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(2) h3 {
    background: linear-gradient(135deg, #ec4899, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(3) h3 {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:hover h3 {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.stat-item:nth-child(1):hover h3 {
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
}

.stat-item:nth-child(2):hover h3 {
    filter: drop-shadow(0 4px 8px rgba(236, 72, 153, 0.4));
}

.stat-item:nth-child(3):hover h3 {
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.4));
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item:hover p {
    color: var(--text-dark);
    transform: translateY(5px);
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, 
        rgba(249, 250, 255, 0.95) 0%, 
        rgba(243, 244, 255, 0.95) 25%,
        rgba(254, 252, 255, 0.95) 50%,
        rgba(255, 243, 250, 0.95) 75%,
        rgba(249, 250, 255, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.skills::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, rgba(251, 146, 60, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 24s ease-in-out infinite reverse;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:nth-child(1)::before {
    background: linear-gradient(90deg, #e34c26, #f06529, #e34c26);
}

.skill-category:nth-child(2)::before {
    background: linear-gradient(90deg, #4f46e5, #ec4899, #4f46e5);
}

.skill-category:nth-child(3)::before {
    background: linear-gradient(90deg, #10b981, #3b82f6, #10b981);
}

.skill-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-category h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.skill-category:nth-child(1) h3::after {
    background: linear-gradient(90deg, #e34c26, #f06529);
}

.skill-category:nth-child(2) h3::after {
    background: linear-gradient(90deg, #4f46e5, #ec4899);
}

.skill-category:nth-child(3) h3::after {
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.8) 0%, rgba(243, 244, 246, 0.8) 100%);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.skill-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.skill-item:nth-child(1):hover {
    background: linear-gradient(135deg, #e34c26 0%, #f06529 100%);
    box-shadow: 0 10px 25px rgba(227, 76, 38, 0.3);
}

.skill-item:nth-child(2):hover {
    background: linear-gradient(135deg, #264de4 0%, #2965f1 100%);
    box-shadow: 0 10px 25px rgba(38, 77, 228, 0.3);
}

.skill-item:nth-child(3):hover {
    background: linear-gradient(135deg, #f0db4f 0%, #f7df1e 100%);
    box-shadow: 0 10px 25px rgba(240, 219, 79, 0.3);
    color: #323330;
}

.skill-item:nth-child(4):hover {
    background: linear-gradient(135deg, #7952b3 0%, #563d7c 100%);
    box-shadow: 0 10px 25px rgba(121, 82, 179, 0.3);
}

.skill-item:nth-child(5):hover {
    background: linear-gradient(135deg, #cf649a 0%, #cc6699 100%);
    box-shadow: 0 10px 25px rgba(207, 100, 154, 0.3);
}

/* Backend skill colors */
.skill-category:nth-child(2) .skill-item:nth-child(1):hover {
    background: linear-gradient(135deg, #777bb4 0%, #4f5b93 100%);
    box-shadow: 0 10px 25px rgba(119, 123, 180, 0.3);
}

.skill-category:nth-child(2) .skill-item:nth-child(2):hover {
    background: linear-gradient(135deg, #00758f 0%, #00546b 100%);
    box-shadow: 0 10px 25px rgba(0, 117, 143, 0.3);
}

.skill-category:nth-child(2) .skill-item:nth-child(3):hover {
    background: linear-gradient(135deg, #ff2d20 0%, #d21f1a 100%);
    box-shadow: 0 10px 25px rgba(255, 45, 32, 0.3);
}

.skill-category:nth-child(2) .skill-item:nth-child(4):hover {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 10px 25px rgba(108, 117, 125, 0.3);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

.skill-item:nth-child(1) i {
    color: #e34c26;
}

.skill-item:nth-child(2) i {
    color: #264de4;
}

.skill-item:nth-child(3) i {
    color: #f0db4f;
}

.skill-item:nth-child(4) i {
    color: #7952b3;
}

.skill-item:nth-child(5) i {
    color: #cf649a;
}

/* Backend skill icon colors */
.skill-category:nth-child(2) .skill-item:nth-child(1) i {
    color: #777bb4;
}

.skill-category:nth-child(2) .skill-item:nth-child(2) i {
    color: #00758f;
}

.skill-category:nth-child(2) .skill-item:nth-child(3) i {
    color: #ff2d20;
}

/* Tools & Others skill colors */
.skill-category:nth-child(3) .skill-item:nth-child(1):hover {
    background: linear-gradient(135deg, #f05032 0%, #ee5131 100%);
    box-shadow: 0 10px 25px rgba(240, 80, 50, 0.3);
}

.skill-category:nth-child(3) .skill-item:nth-child(2):hover {
    background: linear-gradient(135deg, #f24e1e 0%, #a259ff 100%);
    box-shadow: 0 10px 25px rgba(162, 89, 255, 0.3);
}

.skill-category:nth-child(3) .skill-item:nth-child(3):hover {
    background: linear-gradient(135deg, #0078d4 0%, #0063b1 100%);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.3);
}

.skill-category:nth-child(3) .skill-item:nth-child(4):hover {
    background: linear-gradient(135deg, #cb3837 0%, #a91e1d 100%);
    box-shadow: 0 10px 25px rgba(203, 56, 55, 0.3);
}

/* Tools icon colors */
.skill-category:nth-child(3) .skill-item:nth-child(1) i {
    color: #f05032;
}

.skill-category:nth-child(3) .skill-item:nth-child(2) i {
    color: #f24e1e;
}

.skill-category:nth-child(3) .skill-item:nth-child(3) i {
    color: #0078d4;
}

.skill-category:nth-child(3) .skill-item:nth-child(4) i {
    color: #cb3837;
}

.skill-item:hover i {
    color: white;
    transform: rotate(360deg) scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.skill-item:nth-child(3):hover i {
    color: #323330;
}

.skill-item span {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.skill-item:hover span {
    transform: translateX(5px);
}

/* AI Subsection */
.ai-subsection {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 4rem;
    padding: 5rem 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.95) 100%
    );
    border-top: 3px solid rgba(99, 102, 241, 0.5);
    border-bottom: 3px solid rgba(236, 72, 153, 0.5);
}

.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        url('https://images.unsplash.com/photo-1677442136019-21780ecad995?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    opacity: 0.3;
    animation: backgroundShift 20s ease infinite;
    filter: blur(1px);
}

.ai-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(99, 102, 241, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: patternMove 15s linear infinite;
}

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

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

.ai-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ai-icon {
    margin-bottom: 2rem;
    display: inline-block;
    animation: pulse 3s ease-in-out infinite;
}

.ai-icon i {
    font-size: 4rem;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.7));
    }
}

.ai-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff, #f0f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    line-height: 1.2;
}

.ai-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ai-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(236, 72, 153, 0.2) 100%
    );
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.ai-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.ai-feature:hover::before {
    transform: scale(1);
}

.ai-feature:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.3) 0%, 
        rgba(236, 72, 153, 0.3) 100%
    );
}

.ai-feature i {
    font-size: 2.5rem;
    color: #ffffff;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.6));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.ai-feature:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 6px 20px rgba(236, 72, 153, 0.8));
}

.ai-feature span {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(250, 250, 255, 0.95) 20%,
        rgba(255, 250, 255, 0.95) 40%,
        rgba(255, 248, 252, 0.95) 60%,
        rgba(250, 250, 255, 0.95) 80%,
        rgba(255, 255, 255, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 22s ease-in-out infinite;
}

.projects::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.1) 0%, rgba(236, 72, 153, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 26s ease-in-out infinite reverse;
}

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

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.project-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    z-index: 1;
    pointer-events: none;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Section */
/* Web Development Section */
.webdev {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 255, 0.95) 25%,
        rgba(255, 252, 255, 0.95) 50%,
        rgba(250, 248, 255, 0.95) 75%,
        rgba(255, 255, 255, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
    padding: 60px 0 !important;
}

.webdev .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.webdev-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 0;
}

.webdev-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.webdev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.webdev-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.webdev-card.full-width {
    grid-column: 1 / -1;
}

.webdev-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.webdev-icon i {
    font-size: 1.75rem;
    color: white;
}

.webdev-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.webdev-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.webdev-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.webdev-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.webdev-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.webdev-list li strong {
    color: var(--text-dark);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
}

.process-step h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Tech Categories */
.tech-intro {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.1rem;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-category {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(236, 72, 153, 0.03));
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.tech-category h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.tech-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tech-list li strong {
    color: var(--text-dark);
}

/* Responsive Design for Web Development Section */
@media (max-width: 768px) {
    .webdev {
        padding: 40px 0 !important;
    }

    .webdev-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .webdev-card {
        padding: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }
}

.contact {
    background: linear-gradient(135deg, 
        rgba(249, 250, 255, 0.95) 0%, 
        rgba(243, 244, 255, 0.95) 25%,
        rgba(254, 252, 255, 0.95) 50%,
        rgba(255, 243, 250, 0.95) 75%,
        rgba(249, 250, 255, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 21s ease-in-out infinite;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, rgba(251, 146, 60, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 25s ease-in-out infinite reverse;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
}

.contact-details {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-light);
}

.contact-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.contact-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.98) 0%, 
        rgba(37, 47, 63, 0.98) 50%,
        rgba(31, 41, 55, 0.98) 100%
    );
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-note {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .image-wrapper {
        width: 300px;
        height: 300px;
    }

    .contact-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .logo a {
        gap: 0.5rem;
        padding: 0.4rem 0.75rem;
    }

    .logo-image {
        height: 40px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-icon i {
        font-size: 1rem;
    }

    .logo-word.coding {
        font-size: 1.2rem;
    }

    .logo-word.institution {
        font-size: 0.85rem;
        letter-spacing: 0.8px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, 
            rgba(99, 102, 241, 0.98) 0%, 
            rgba(139, 92, 246, 0.98) 50%, 
            rgba(236, 72, 153, 0.98) 100%
        );
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
        padding: 2rem 0;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 1rem;
        width: calc(100% - 2rem);
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .nav-link::after {
        bottom: 0.5rem;
    }

    .nav-link:hover {
        transform: translateX(5px);
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        padding-left: 1rem;
    }

    .about-text p:hover {
        padding-left: 1.25rem;
    }

    .stat-item {
        padding: 2rem 1.5rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        padding: 2rem;
    }

    .skill-category h3 {
        font-size: 1.5rem;
    }

    .skill-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-item {
        padding: 1rem 0.875rem;
    }

    .skill-item i {
        font-size: 1.75rem;
    }

    .ai-subsection {
        padding: 3rem 1.5rem;
        margin-top: 3rem;
    }

    .ai-title {
        font-size: 2rem;
    }

    .ai-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .ai-icon i {
        font-size: 3rem;
    }

    .ai-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .ai-feature {
        padding: 1.5rem 1rem;
    }

    .ai-feature i {
        font-size: 2rem;
    }

    .ai-feature span {
        font-size: 0.875rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo a {
        gap: 0.4rem;
        padding: 0.35rem 0.6rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon i {
        font-size: 0.9rem;
    }

    .logo-word.coding {
        font-size: 1.1rem;
    }

    .logo-word.institution {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .logo-image {
        height: 35px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-name {
        font-size: 2rem;
    }

    .image-wrapper {
        width: 250px;
        height: 250px;
    }

    section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   PROFESSIONAL ENHANCEMENTS
   ============================================ */

/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-inner {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.loader-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loaderBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.5);
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Project Card Filter Animation */
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Animated Counter */
.counter {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Typing Animation */
#typing-text {
    position: relative;
}

#typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
    color: var(--primary-color);
}

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

/* Enhanced Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.2rem;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-3px) scale(1.05);
}

/* Skills Progress Bars Enhancement */
.skill-item {
    position: relative;
    overflow: hidden;
}

.skill-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 1s ease;
    border-radius: 2px;
}

.skill-item:hover::after {
    width: 100%;
}

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

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design for New Features */
@media (max-width: 768px) {
    .project-filters {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    .loader-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .project-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

