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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #FFD700;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #FFD700;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFD700;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #FFD700;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFD700;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: #fff;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.skills-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #FFD700;
    transform: translateY(-2px);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    width: 24px;
    height: 24px;
}

.html-bg {
    background-color: #FFD700;
}

.css-bg {
    background-color: #FFD700;
}

.react-bg {
    background-color: #FFD700;
}

.angular-bg {
    background-color: #FFD700;
}

.ios-bg {
    background-color: #FFD700;
}

.android-bg {
    background-color: #FFD700;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

/* Experience Section */
.experience-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #E1E1E1;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 0.9rem;
    color: #666;
}

.profile-section {
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #FFD700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.intro {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00E9A3;
}

.hire-me-btn {
    background: #00E9A3;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.hire-me-btn:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    margin-top: 30px;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.arrows span {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Navigation Button Styles */
.nav-button {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #00E9A3;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 233, 163, 0.3);
}

.nav-button:hover {
    background: #00c38a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 233, 163, 0.4);
}

.nav-button i {
    color: #1E1E2A;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-button {
        left: 15px;
        width: 40px;
        height: 40px;
        padding: 12px;
    }
    
    .nav-button i {
        font-size: 1.2rem;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
    background: #fff;
    position: relative;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E1E2A;
}

.portfolio-info span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-more {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f0f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366F1;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: #6366F1;
    color: #fff;
}

/* Testimonials Section */
.testimonials-wrapper {
    position: relative;
    padding: 20px 0;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    font-size: 4rem;
    color: #6366F1;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    position: relative;
    transition: all 0.3s ease;
}

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

.testimonial-card:hover .client-image {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

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

/* Remove previous background colors */
.client-image.yellow-bg,
.client-image.purple-bg {
    background: none;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.client-position {
    color: #6366F1;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-text {
    color: #4B5563;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 10px;
}

.contact-form p {
    color: #4B5563;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1E1E2A;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

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

.btn-send {
    background: #6366F1;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.contact-info {
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f0f1ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.info-content p {
    color: #4B5563;
    line-height: 1.6;
}

.contact-illustration {
    margin-top: 50px;
    text-align: center;
}

.contact-illustration img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }
}

/* Animation Classes */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Dots Navigation for Testimonials */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6366F1;
    transform: scale(1.2);
}

/* Yellow Background Variation */
.yellow-bg {
    border-color: #FFB800;
}

/* Purple Background Variation */
.purple-bg {
    border-color: #9333EA;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: transparent;
}

#services {
    background: transparent;
}

#skills {
    background: transparent;
}

#portfolio {
    background: transparent;
}

#contact {
    background: transparent;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366F1;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Common Section Styles */
.hero,
.services,
.skills,
.portfolio,
.contact {
    min-height: 100vh;
    width: 100%;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 1;
}

/* Section Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #6366F1;
}

/* Remove individual section backgrounds */
#home,
#services,
#skills,
#portfolio,
#contact {
    background: transparent !important;
}

/* Content Cards with Glass Effect */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Animation Effects */
@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

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

@keyframes float-left {
    0% { transform: translateX(100vw) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(-100px) rotate(360deg); opacity: 0; }
}

@keyframes float-right {
    0% { transform: translateX(-100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(100vw) rotate(-360deg); opacity: 0; }
}

@keyframes float-diagonal-1 {
    0% { transform: translate(-100px, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(100vw, 100vh) rotate(360deg); opacity: 0; }
}

@keyframes float-diagonal-2 {
    0% { transform: translate(100vw, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(-100px, 100vh) rotate(-360deg); opacity: 0; }
}

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

@keyframes rotate-3d {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Animations */
.programming-icon:nth-child(6n + 1) {
    animation: float-up 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1s);
}

.programming-icon:nth-child(6n + 2) {
    animation: float-down 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.programming-icon:nth-child(6n + 3) {
    animation: float-left 15s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

.programming-icon:nth-child(6n + 4) {
    animation: float-right 15s linear infinite;
    animation-delay: calc(var(--i) * -2.5s);
}

.programming-icon:nth-child(6n + 5) {
    animation: float-diagonal-1 12s linear infinite;
    animation-delay: calc(var(--i) * -3s);
}

.programming-icon:nth-child(6n + 6) {
    animation: float-diagonal-2 12s linear infinite;
    animation-delay: calc(var(--i) * -3.5s);
}

/* Additional Decorative Elements */
.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.tech-particle:nth-child(3n) {
    animation: pulse 4s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 1) {
    width: 8px;
    height: 8px;
    background: rgba(255, 184, 0, 0.2);
    animation: pulse 5s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 2) {
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 157, 0.2);
    animation: pulse 6s ease-in-out infinite;
}

/* Add 3D rotation effect to some icons */
.programming-icon.rotate-3d {
    animation: rotate-3d 10s linear infinite !important;
    transform-style: preserve-3d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
    
    .tech-particle {
        display: none;
    }
}

/* Code Snippet Animation */
.code-snippet {
    position: fixed;
    font-family: 'Consolas', monospace;
    color: rgba(255, 215, 0, 0.1);
    font-size: 14px;
    white-space: pre;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.1; transform: translateY(0); }
    80% { opacity: 0.1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Double the number of animations for more variety */
@keyframes float1 { 
    0% { transform: translate(-100px, 10vh) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 10vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), 10vh) rotate(360deg) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(calc(100vw + 100px), 30vh) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 30vh) rotate(180deg) scale(1); }
    100% { transform: translate(-100px, 30vh) rotate(0deg) scale(1.2); }
}

@keyframes float3 {
    0% { transform: translate(-100px, 50vh) rotate(0deg) scale(0.8); }
    50% { transform: translate(50vw, 40vh) rotate(180deg) scale(1.1); }
    100% { transform: translate(calc(100vw + 100px), 50vh) rotate(360deg) scale(0.8); }
}

@keyframes float4 {
    0% { transform: translate(calc(100vw + 100px), 70vh) rotate(360deg) scale(1.1); }
    50% { transform: translate(50vw, 80vh) rotate(180deg) scale(0.9); }
    100% { transform: translate(-100px, 70vh) rotate(0deg) scale(1.1); }
}

@keyframes floatDiagonal1 {
    0% { transform: translate(-100px, -100px) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), calc(100vh + 100px)) rotate(360deg) scale(1); }
}

@keyframes floatDiagonal2 {
    0% { transform: translate(calc(100vw + 100px), -100px) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(0.8); }
    100% { transform: translate(-100px, calc(100vh + 100px)) rotate(0deg) scale(1.2); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.15; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.3; }
}

@keyframes spin3D {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1); }
    50% { transform: perspective(500px) rotateY(180deg) rotateX(180deg) scale(1.2); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg) scale(1); }
}

/* Apply animations to icons */
.programming-icon:nth-child(8n + 1) { animation: float1 20s infinite; }
.programming-icon:nth-child(8n + 2) { animation: float2 23s infinite; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 184, 0, 0.08) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #FFD700;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #FFD700;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFD700;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #FFD700;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFD700;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.15s; }
.glow-text span:nth-child(3) { animation-delay: 0.2s; }
.glow-text span:nth-child(4) { animation-delay: 0.25s; }
.glow-text span:nth-child(5) { animation-delay: 0.3s; }
.glow-text span:nth-child(6) { animation-delay: 0.35s; }
.glow-text span:nth-child(7) { animation-delay: 0.4s; }
.glow-text span:nth-child(8) { animation-delay: 0.45s; }
.glow-text span:nth-child(9) { animation-delay: 0.5s; }
.glow-text span:nth-child(10) { animation-delay: 0.55s; }
.glow-text span:nth-child(11) { animation-delay: 0.6s; }
.glow-text span:nth-child(12) { animation-delay: 0.65s; }
.glow-text span:nth-child(13) { animation-delay: 0.7s; }

/* Hover Effect */
.intro-heading:hover .letter {
    animation: letter-bounce 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .intro-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .intro-heading {
        font-size: 2rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .intro-heading .line,
    .intro-heading .letter {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #6366F1;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFB800;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #6366F1;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #6366F1;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFB800;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #6366F1;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFB800;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFB800;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: #fff;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.skills-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #FFB800;
    transform: translateY(-2px);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    width: 24px;
    height: 24px;
}

.html-bg {
    background-color: #6366F1;
}

.css-bg {
    background-color: #6366F1;
}

.react-bg {
    background-color: #6366F1;
}

.angular-bg {
    background-color: #6366F1;
}

.ios-bg {
    background-color: #6366F1;
}

.android-bg {
    background-color: #6366F1;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

/* Experience Section */
.experience-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #E1E1E1;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 0.9rem;
    color: #666;
}

.profile-section {
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #FFB800;
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00E9A3;
}

.hire-me-btn {
    background: #00E9A3;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.hire-me-btn:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    margin-top: 30px;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.arrows span {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Navigation Button Styles */
.nav-button {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #00E9A3;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 233, 163, 0.3);
}

.nav-button:hover {
    background: #00c38a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 233, 163, 0.4);
}

.nav-button i {
    color: #1E1E2A;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-button {
        left: 15px;
        width: 40px;
        height: 40px;
        padding: 12px;
    }
    
    .nav-button i {
        font-size: 1.2rem;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
    background: #fff;
    position: relative;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E1E2A;
}

.portfolio-info span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-more {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f0f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366F1;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: #6366F1;
    color: #fff;
}

/* Testimonials Section */
.testimonials-wrapper {
    position: relative;
    padding: 20px 0;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    font-size: 4rem;
    color: #6366F1;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    position: relative;
    transition: all 0.3s ease;
}

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

.testimonial-card:hover .client-image {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

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

/* Remove previous background colors */
.client-image.yellow-bg,
.client-image.purple-bg {
    background: none;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.client-position {
    color: #6366F1;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-text {
    color: #4B5563;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 10px;
}

.contact-form p {
    color: #4B5563;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1E1E2A;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

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

.btn-send {
    background: #6366F1;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.contact-info {
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f0f1ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.info-content p {
    color: #4B5563;
    line-height: 1.6;
}

.contact-illustration {
    margin-top: 50px;
    text-align: center;
}

.contact-illustration img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }
}

/* Animation Classes */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Dots Navigation for Testimonials */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6366F1;
    transform: scale(1.2);
}

/* Yellow Background Variation */
.yellow-bg {
    border-color: #FFB800;
}

/* Purple Background Variation */
.purple-bg {
    border-color: #9333EA;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: transparent;
}

#services {
    background: transparent;
}

#skills {
    background: transparent;
}

#portfolio {
    background: transparent;
}

#contact {
    background: transparent;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366F1;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Common Section Styles */
.hero,
.services,
.skills,
.portfolio,
.contact {
    min-height: 100vh;
    width: 100%;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 1;
}

/* Section Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #6366F1;
}

/* Remove individual section backgrounds */
#home,
#services,
#skills,
#portfolio,
#contact {
    background: transparent !important;
}

/* Content Cards with Glass Effect */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Animation Effects */
@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

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

@keyframes float-left {
    0% { transform: translateX(100vw) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(-100px) rotate(360deg); opacity: 0; }
}

@keyframes float-right {
    0% { transform: translateX(-100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(100vw) rotate(-360deg); opacity: 0; }
}

@keyframes float-diagonal-1 {
    0% { transform: translate(-100px, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(100vw, 100vh) rotate(360deg); opacity: 0; }
}

@keyframes float-diagonal-2 {
    0% { transform: translate(100vw, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(-100px, 100vh) rotate(-360deg); opacity: 0; }
}

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

@keyframes rotate-3d {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Animations */
.programming-icon:nth-child(6n + 1) {
    animation: float-up 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1s);
}

.programming-icon:nth-child(6n + 2) {
    animation: float-down 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.programming-icon:nth-child(6n + 3) {
    animation: float-left 15s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

.programming-icon:nth-child(6n + 4) {
    animation: float-right 15s linear infinite;
    animation-delay: calc(var(--i) * -2.5s);
}

.programming-icon:nth-child(6n + 5) {
    animation: float-diagonal-1 12s linear infinite;
    animation-delay: calc(var(--i) * -3s);
}

.programming-icon:nth-child(6n + 6) {
    animation: float-diagonal-2 12s linear infinite;
    animation-delay: calc(var(--i) * -3.5s);
}

/* Additional Decorative Elements */
.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.tech-particle:nth-child(3n) {
    animation: pulse 4s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 1) {
    width: 8px;
    height: 8px;
    background: rgba(255, 184, 0, 0.2);
    animation: pulse 5s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 2) {
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 157, 0.2);
    animation: pulse 6s ease-in-out infinite;
}

/* Add 3D rotation effect to some icons */
.programming-icon.rotate-3d {
    animation: rotate-3d 10s linear infinite !important;
    transform-style: preserve-3d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
    
    .tech-particle {
        display: none;
    }
}

/* Code Snippet Animation */
.code-snippet {
    position: fixed;
    font-family: 'Consolas', monospace;
    color: rgba(255, 215, 0, 0.1);
    font-size: 14px;
    white-space: pre;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.1; transform: translateY(0); }
    80% { opacity: 0.1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Double the number of animations for more variety */
@keyframes float1 { 
    0% { transform: translate(-100px, 10vh) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 10vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), 10vh) rotate(360deg) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(calc(100vw + 100px), 30vh) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 30vh) rotate(180deg) scale(1); }
    100% { transform: translate(-100px, 30vh) rotate(0deg) scale(1.2); }
}

@keyframes float3 {
    0% { transform: translate(-100px, 50vh) rotate(0deg) scale(0.8); }
    50% { transform: translate(50vw, 40vh) rotate(180deg) scale(1.1); }
    100% { transform: translate(calc(100vw + 100px), 50vh) rotate(360deg) scale(0.8); }
}

@keyframes float4 {
    0% { transform: translate(calc(100vw + 100px), 70vh) rotate(360deg) scale(1.1); }
    50% { transform: translate(50vw, 80vh) rotate(180deg) scale(0.9); }
    100% { transform: translate(-100px, 70vh) rotate(0deg) scale(1.1); }
}

@keyframes floatDiagonal1 {
    0% { transform: translate(-100px, -100px) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), calc(100vh + 100px)) rotate(360deg) scale(1); }
}

@keyframes floatDiagonal2 {
    0% { transform: translate(calc(100vw + 100px), -100px) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(0.8); }
    100% { transform: translate(-100px, calc(100vh + 100px)) rotate(0deg) scale(1.2); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.15; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.3; }
}

@keyframes spin3D {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1); }
    50% { transform: perspective(500px) rotateY(180deg) rotateX(180deg) scale(1.2); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg) scale(1); }
}

/* Apply animations to icons */
.programming-icon:nth-child(8n + 1) { animation: float1 20s infinite; }
.programming-icon:nth-child(8n + 2) { animation: float2 23s infinite; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 184, 0, 0.08) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.15s; }
.glow-text span:nth-child(3) { animation-delay: 0.2s; }
.glow-text span:nth-child(4) { animation-delay: 0.25s; }
.glow-text span:nth-child(5) { animation-delay: 0.3s; }
.glow-text span:nth-child(6) { animation-delay: 0.35s; }
.glow-text span:nth-child(7) { animation-delay: 0.4s; }
.glow-text span:nth-child(8) { animation-delay: 0.45s; }
.glow-text span:nth-child(9) { animation-delay: 0.5s; }
.glow-text span:nth-child(10) { animation-delay: 0.55s; }
.glow-text span:nth-child(11) { animation-delay: 0.6s; }
.glow-text span:nth-child(12) { animation-delay: 0.65s; }
.glow-text span:nth-child(13) { animation-delay: 0.7s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #6366F1;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFB800;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #6366F1;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #6366F1;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFB800;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #6366F1;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFB800;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFB800;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: #fff;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.skills-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #FFB800;
    transform: translateY(-2px);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    width: 24px;
    height: 24px;
}

.html-bg {
    background-color: #6366F1;
}

.css-bg {
    background-color: #6366F1;
}

.react-bg {
    background-color: #6366F1;
}

.angular-bg {
    background-color: #6366F1;
}

.ios-bg {
    background-color: #6366F1;
}

.android-bg {
    background-color: #6366F1;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

/* Experience Section */
.experience-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #E1E1E1;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 0.9rem;
    color: #666;
}

.profile-section {
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #FFB800;
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00E9A3;
}

.hire-me-btn {
    background: #00E9A3;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.hire-me-btn:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    margin-top: 30px;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.arrows span {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Navigation Button Styles */
.nav-button {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #00E9A3;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 233, 163, 0.3);
}

.nav-button:hover {
    background: #00c38a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 233, 163, 0.4);
}

.nav-button i {
    color: #1E1E2A;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-button {
        left: 15px;
        width: 40px;
        height: 40px;
        padding: 12px;
    }
    
    .nav-button i {
        font-size: 1.2rem;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
    background: #fff;
    position: relative;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E1E2A;
}

.portfolio-info span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-more {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f0f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366F1;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: #6366F1;
    color: #fff;
}

/* Testimonials Section */
.testimonials-wrapper {
    position: relative;
    padding: 20px 0;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    font-size: 4rem;
    color: #6366F1;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    position: relative;
    transition: all 0.3s ease;
}

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

.testimonial-card:hover .client-image {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

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

/* Remove previous background colors */
.client-image.yellow-bg,
.client-image.purple-bg {
    background: none;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.client-position {
    color: #6366F1;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-text {
    color: #4B5563;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 10px;
}

.contact-form p {
    color: #4B5563;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1E1E2A;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

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

.btn-send {
    background: #6366F1;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.contact-info {
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f0f1ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.info-content p {
    color: #4B5563;
    line-height: 1.6;
}

.contact-illustration {
    margin-top: 50px;
    text-align: center;
}

.contact-illustration img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }
}

/* Animation Classes */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Dots Navigation for Testimonials */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6366F1;
    transform: scale(1.2);
}

/* Yellow Background Variation */
.yellow-bg {
    border-color: #FFB800;
}

/* Purple Background Variation */
.purple-bg {
    border-color: #9333EA;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: transparent;
}

#services {
    background: transparent;
}

#skills {
    background: transparent;
}

#portfolio {
    background: transparent;
}

#contact {
    background: transparent;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366F1;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Common Section Styles */
.hero,
.services,
.skills,
.portfolio,
.contact {
    min-height: 100vh;
    width: 100%;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 1;
}

/* Section Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #6366F1;
}

/* Remove individual section backgrounds */
#home,
#services,
#skills,
#portfolio,
#contact {
    background: transparent !important;
}

/* Content Cards with Glass Effect */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Animation Effects */
@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

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

@keyframes float-left {
    0% { transform: translateX(100vw) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(-100px) rotate(360deg); opacity: 0; }
}

@keyframes float-right {
    0% { transform: translateX(-100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(100vw) rotate(-360deg); opacity: 0; }
}

@keyframes float-diagonal-1 {
    0% { transform: translate(-100px, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(100vw, 100vh) rotate(360deg); opacity: 0; }
}

@keyframes float-diagonal-2 {
    0% { transform: translate(100vw, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(-100px, 100vh) rotate(-360deg); opacity: 0; }
}

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

@keyframes rotate-3d {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Animations */
.programming-icon:nth-child(6n + 1) {
    animation: float-up 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1s);
}

.programming-icon:nth-child(6n + 2) {
    animation: float-down 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.programming-icon:nth-child(6n + 3) {
    animation: float-left 15s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

.programming-icon:nth-child(6n + 4) {
    animation: float-right 15s linear infinite;
    animation-delay: calc(var(--i) * -2.5s);
}

.programming-icon:nth-child(6n + 5) {
    animation: float-diagonal-1 12s linear infinite;
    animation-delay: calc(var(--i) * -3s);
}

.programming-icon:nth-child(6n + 6) {
    animation: float-diagonal-2 12s linear infinite;
    animation-delay: calc(var(--i) * -3.5s);
}

/* Additional Decorative Elements */
.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.tech-particle:nth-child(3n) {
    animation: pulse 4s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 1) {
    width: 8px;
    height: 8px;
    background: rgba(255, 184, 0, 0.2);
    animation: pulse 5s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 2) {
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 157, 0.2);
    animation: pulse 6s ease-in-out infinite;
}

/* Add 3D rotation effect to some icons */
.programming-icon.rotate-3d {
    animation: rotate-3d 10s linear infinite !important;
    transform-style: preserve-3d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
    
    .tech-particle {
        display: none;
    }
}

/* Code Snippet Animation */
.code-snippet {
    position: fixed;
    font-family: 'Consolas', monospace;
    color: rgba(255, 215, 0, 0.1);
    font-size: 14px;
    white-space: pre;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.1; transform: translateY(0); }
    80% { opacity: 0.1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Double the number of animations for more variety */
@keyframes float1 { 
    0% { transform: translate(-100px, 10vh) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 10vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), 10vh) rotate(360deg) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(calc(100vw + 100px), 30vh) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 30vh) rotate(180deg) scale(1); }
    100% { transform: translate(-100px, 30vh) rotate(0deg) scale(1.2); }
}

@keyframes float3 {
    0% { transform: translate(-100px, 50vh) rotate(0deg) scale(0.8); }
    50% { transform: translate(50vw, 40vh) rotate(180deg) scale(1.1); }
    100% { transform: translate(calc(100vw + 100px), 50vh) rotate(360deg) scale(0.8); }
}

@keyframes float4 {
    0% { transform: translate(calc(100vw + 100px), 70vh) rotate(360deg) scale(1.1); }
    50% { transform: translate(50vw, 80vh) rotate(180deg) scale(0.9); }
    100% { transform: translate(-100px, 70vh) rotate(0deg) scale(1.1); }
}

@keyframes floatDiagonal1 {
    0% { transform: translate(-100px, -100px) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), calc(100vh + 100px)) rotate(360deg) scale(1); }
}

@keyframes floatDiagonal2 {
    0% { transform: translate(calc(100vw + 100px), -100px) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(0.8); }
    100% { transform: translate(-100px, calc(100vh + 100px)) rotate(0deg) scale(1.2); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.15; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.3; }
}

@keyframes spin3D {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1); }
    50% { transform: perspective(500px) rotateY(180deg) rotateX(180deg) scale(1.2); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg) scale(1); }
}

/* Apply animations to icons */
.programming-icon:nth-child(8n + 1) { animation: float1 20s infinite; }
.programming-icon:nth-child(8n + 2) { animation: float2 23s infinite; }
.programming-icon:nth-child(8n + 3) { animation: float3 25s infinite; }
.programming-icon:nth-child(8n + 4) { animation: float4 22s infinite; }
.programming-icon:nth-child(8n + 5) { animation: floatDiagonal1 28s infinite; }
.programming-icon:nth-child(8n + 6) { animation: floatDiagonal2 26s infinite; }
.programming-icon:nth-child(8n + 7) { animation: pulse 15s infinite; }
.programming-icon:nth-child(8n + 8) { animation: spin3D 18s infinite; }

/* Add glowing effect */
.programming-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

/* Background Matrix Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05; /* Slightly increased from 0.03 */
    background: linear-gradient(rgba(255, 215, 0, 0.15) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 215, 0, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: matrixShift 30s linear infinite;
}

@keyframes matrixShift {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

/* Header Logo/Profile Image */
.logo img,
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.2);
}

.logo img:hover,
.logo-img:hover {
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .logo img,
    .logo-img {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
}

/* Mobile-First Adjustments */
@media (max-width: 768px) {
    /* Header Fixes */
    .header {
        height: 50px; /* Reduced header height on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .header .container {
        height: 50px;
        padding: 0 15px;
    }

    /* Logo Adjustments */
    .logo img,
    .logo-img {
        width: 32px;
        height: 32px;
    }

    /* Main Content Fixes */
    main {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    /* Hero Section Fixes */
    .hero {
        margin: 0;
        padding: 50px 0 0 0; /* Only top padding to account for header */
        min-height: 100vh;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-content {
        padding: 0 15px;
        width: 100%;
        gap: 8px;
        margin-top: 0;
    }

    /* Profile Image Container */
    .profile-image-container {
        width: 200px;
        height: 200px;
        margin: 0 auto 15px;
    }

    /* Text Adjustments */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin: 0;
        padding: 0;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 5px 0;
    }

    .hero-buttons {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    /* Fix iOS Safari 100vh issue */
    @supports (-webkit-touch-callout: none) {
        .hero {
            min-height: -webkit-fill-available;
        }
    }

    /* Navigation Menu */
    .nav-menu {
        top: 50px; /* Match header height */
    }

    /* Content Sections */
    section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }
}

/* Additional iOS Fixes */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }

    html {
        height: -webkit-fill-available;
    }
}

/* General Mobile Optimization */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .profile-image-container {
        width: 180px;
        height: 180px;
        margin-top: -80px;  /* Increased negative margin to move it up */
        margin-bottom: 30px;
        position: relative;
        z-index: 2;
    }
}

/* Ensure content is visible on notched phones */
@supports (padding: max(0px)) {
    .header,
    .hero-content,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .hero {
        padding-top: max(50px, env(safe-area-inset-top));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
    /* Header height for mobile */
    .header {
        height: 60px;
    }

    .header .container {
        height: 60px;
    }

    /* Hero section spacing */
    .hero {
        margin-top: 30px; /* Added positive margin instead of negative */
        padding-top: 40px; /* Reduced top padding to balance with new margin */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 20px; /* Reduced since we now have margin on hero */
    }

    /* Ensure content doesn't overflow */
    main {
        padding-top: 60px; /* Match header height */
        overflow: hidden;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
        margin-top: -60px;  /* Increased negative margin for mobile */
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .profile-image-container {
        width: 130px;
        height: 130px;
        margin-top: -50px;  /* Increased negative margin for smaller screens */
        margin-bottom: 15px;
    }
}

/* Enhanced Profile Image Effects */
.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        0 0 45px rgba(255, 215, 0, 0.1);
    animation: float 6s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.3),
            0 0 30px rgba(255, 215, 0, 0.2),
            0 0 45px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 0.4),
            0 0 50px rgba(255, 215, 0, 0.3),
            0 0 75px rgba(255, 215, 0, 0.2);
    }
}

/* Enhanced Navigation Menu */
.nav-menu ul li a {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu ul li a:hover {
    transform: translateY(-2px);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.1);
}

/* Enhanced Mobile Menu Button */
.mobile-menu {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.1);
}

.mobile-menu span {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.mobile-menu span::before,
.mobile-menu span::after {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Enhanced Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .profile-image {
        transform: scale(0.95);
        margin-top: -40px;
    }

    .nav-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }

    .nav-menu ul li a {
        margin: 5px 0;
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 14px;
        letter-spacing: 0.5px;
        background: rgba(255, 255, 255, 0.5);
    }

    .nav-menu ul li a:hover {
        background: rgba(255, 215, 0, 0.1);
        transform: translateX(5px);
    }

    .mobile-menu {
        width: 35px;
        height: 35px;
        margin-right: 5px;
    }

    .mobile-menu span {
        width: 20px;
    }

    .mobile-menu span::before,
    .mobile-menu span::after {
        width: 20px;
    }
}

/* Smooth Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    75% {
        transform: translateY(10px) rotate(-2deg);
    }
}

/* Enhanced Skill Icons */
.skill-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.3),
        0 0 50px rgba(255, 215, 0, 0.2);
}

.skill-icon i {
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Neon Glow Effect for Profile */
.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFB800;
    box-shadow: 
        0 10px 30px rgba(255, 184, 0, 0.2),
        0 0 20px rgba(255, 184, 0, 0.1),
        0 0 40px rgba(255, 184, 0, 0.1);
    animation: float 4s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(255, 184, 0, 0.2),
            0 0 20px rgba(255, 184, 0, 0.1),
            0 0 40px rgba(255, 184, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(255, 184, 0, 0.4),
            0 0 30px rgba(255, 184, 0, 0.2),
            0 0 50px rgba(255, 184, 0, 0.2);
    }
}

/* 3D Text Effect for Name */
.hero h1 {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #1a1a1a 30%, #4a4a4a 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.2),
        4px 4px 0px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    animation: titleFloat 5s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% {
        transform: perspective(500px) translateZ(0px);
    }
    50% {
        transform: perspective(500px) translateZ(30px);
    }
}

/* Animated Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 184, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 230, 118, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Glass Morphism Effect for Social Links */
.social-link {
    font-size: 22px;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: #FFB800;
    color: white;
    box-shadow: 
        0 10px 20px rgba(255, 184, 0, 0.3),
        0 0 20px rgba(255, 184, 0, 0.2);
}

/* Modern Gradient Button */
.hire-me {
    background: linear-gradient(45deg, #00e676, #00c853, #64dd17);
    background-size: 200% 200%;
    color: white;
    padding: 16px 45px;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 20px rgba(0, 230, 118, 0.3),
        0 0 20px rgba(0, 230, 118, 0.2);
    animation: gradientShift 3s ease infinite;
}

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

.hire-me:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 230, 118, 0.4),
        0 0 30px rgba(0, 230, 118, 0.3);
    letter-spacing: 3px;
}

/* Description Text Animation */
.hero-description {
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.8s ease forwards, textFloat 4s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .social-link {
        font-size: 20px;
        padding: 12px;
    }

    .hire-me {
        padding: 14px 35px;
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* Add Decorative Elements */
.decorative-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 184, 0, 0.2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 10s linear infinite;
    pointer-events: none;
}

.shape-1 {
    top: 10%;
    left: 10%;
}

.shape-2 {
    bottom: 10%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Navigation Close Button Styles */
.mobile-menu {
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1000;
}

.mobile-menu span {
    position: relative;
    width: 24px;
    height: 2px;
    background: #333;
    display: block;
    transition: all 0.3s ease-in-out;
}

.mobile-menu span::before,
.mobile-menu span::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease-in-out;
}

.mobile-menu span::before {
    transform: translateY(-8px);
}

.mobile-menu span::after {
    transform: translateY(8px);
}

/* Active State */
.mobile-menu.active span {
    background: transparent;
}

.mobile-menu.active span::before {
    transform: rotate(45deg);
}

.mobile-menu.active span::after {
    transform: rotate(-45deg);
}

/* Hover Effect */
.mobile-menu:hover span,
.mobile-menu:hover span::before,
.mobile-menu:hover span::after {
    background: #FFB800;
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 35px;
        height: 35px;
    }

    .mobile-menu span {
        width: 20px;
    }

    .mobile-menu span::before,
    .mobile-menu span::after {
        width: 20px;
    }

    .mobile-menu span::before {
        transform: translateY(-6px);
    }

    .mobile-menu span::after {
        transform: translateY(6px);
    }
}

/* Add smooth transition for menu items */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

.nav-menu.active {
    transform: translateX(0);
}

/* Modern Mobile Menu Button */
.mobile-menu {
    display: none;  /* Hide by default */
    width: 45px;
    height: 45px;
    position: relative;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 184, 0, 0.15);
    border-radius: 12px;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #FFD700;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #FFD700;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFD700;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #FFD700;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFD700;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: #fff;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.skills-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #FFD700;
    transform: translateY(-2px);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    width: 24px;
    height: 24px;
}

.html-bg {
    background-color: #FFD700;
}

.css-bg {
    background-color: #FFD700;
}

.react-bg {
    background-color: #FFD700;
}

.angular-bg {
    background-color: #FFD700;
}

.ios-bg {
    background-color: #FFD700;
}

.android-bg {
    background-color: #FFD700;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

/* Experience Section */
.experience-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #E1E1E1;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 0.9rem;
    color: #666;
}

.profile-section {
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #FFD700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.intro {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00E9A3;
}

.hire-me-btn {
    background: #00E9A3;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.hire-me-btn:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    margin-top: 30px;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.arrows span {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Navigation Button Styles */
.nav-button {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #00E9A3;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 233, 163, 0.3);
}

.nav-button:hover {
    background: #00c38a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 233, 163, 0.4);
}

.nav-button i {
    color: #1E1E2A;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-button {
        left: 15px;
        width: 40px;
        height: 40px;
        padding: 12px;
    }
    
    .nav-button i {
        font-size: 1.2rem;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
    background: #fff;
    position: relative;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E1E2A;
}

.portfolio-info span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-more {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f0f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366F1;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: #6366F1;
    color: #fff;
}

/* Testimonials Section */
.testimonials-wrapper {
    position: relative;
    padding: 20px 0;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    font-size: 4rem;
    color: #6366F1;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    position: relative;
    transition: all 0.3s ease;
}

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

.testimonial-card:hover .client-image {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

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

/* Remove previous background colors */
.client-image.yellow-bg,
.client-image.purple-bg {
    background: none;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.client-position {
    color: #6366F1;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-text {
    color: #4B5563;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 10px;
}

.contact-form p {
    color: #4B5563;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1E1E2A;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

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

.btn-send {
    background: #6366F1;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.contact-info {
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f0f1ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.info-content p {
    color: #4B5563;
    line-height: 1.6;
}

.contact-illustration {
    margin-top: 50px;
    text-align: center;
}

.contact-illustration img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }
}

/* Animation Classes */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Dots Navigation for Testimonials */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6366F1;
    transform: scale(1.2);
}

/* Yellow Background Variation */
.yellow-bg {
    border-color: #FFB800;
}

/* Purple Background Variation */
.purple-bg {
    border-color: #9333EA;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: transparent;
}

#services {
    background: transparent;
}

#skills {
    background: transparent;
}

#portfolio {
    background: transparent;
}

#contact {
    background: transparent;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366F1;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Common Section Styles */
.hero,
.services,
.skills,
.portfolio,
.contact {
    min-height: 100vh;
    width: 100%;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 1;
}

/* Section Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #6366F1;
}

/* Remove individual section backgrounds */
#home,
#services,
#skills,
#portfolio,
#contact {
    background: transparent !important;
}

/* Content Cards with Glass Effect */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Animation Effects */
@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

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

@keyframes float-left {
    0% { transform: translateX(100vw) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(-100px) rotate(360deg); opacity: 0; }
}

@keyframes float-right {
    0% { transform: translateX(-100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(100vw) rotate(-360deg); opacity: 0; }
}

@keyframes float-diagonal-1 {
    0% { transform: translate(-100px, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(100vw, 100vh) rotate(360deg); opacity: 0; }
}

@keyframes float-diagonal-2 {
    0% { transform: translate(100vw, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(-100px, 100vh) rotate(-360deg); opacity: 0; }
}

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

@keyframes rotate-3d {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Animations */
.programming-icon:nth-child(6n + 1) {
    animation: float-up 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1s);
}

.programming-icon:nth-child(6n + 2) {
    animation: float-down 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.programming-icon:nth-child(6n + 3) {
    animation: float-left 15s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

.programming-icon:nth-child(6n + 4) {
    animation: float-right 15s linear infinite;
    animation-delay: calc(var(--i) * -2.5s);
}

.programming-icon:nth-child(6n + 5) {
    animation: float-diagonal-1 12s linear infinite;
    animation-delay: calc(var(--i) * -3s);
}

.programming-icon:nth-child(6n + 6) {
    animation: float-diagonal-2 12s linear infinite;
    animation-delay: calc(var(--i) * -3.5s);
}

/* Additional Decorative Elements */
.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.tech-particle:nth-child(3n) {
    animation: pulse 4s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 1) {
    width: 8px;
    height: 8px;
    background: rgba(255, 184, 0, 0.2);
    animation: pulse 5s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 2) {
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 157, 0.2);
    animation: pulse 6s ease-in-out infinite;
}

/* Add 3D rotation effect to some icons */
.programming-icon.rotate-3d {
    animation: rotate-3d 10s linear infinite !important;
    transform-style: preserve-3d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
    
    .tech-particle {
        display: none;
    }
}

/* Code Snippet Animation */
.code-snippet {
    position: fixed;
    font-family: 'Consolas', monospace;
    color: rgba(255, 215, 0, 0.1);
    font-size: 14px;
    white-space: pre;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.1; transform: translateY(0); }
    80% { opacity: 0.1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Double the number of animations for more variety */
@keyframes float1 { 
    0% { transform: translate(-100px, 10vh) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 10vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), 10vh) rotate(360deg) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(calc(100vw + 100px), 30vh) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 30vh) rotate(180deg) scale(1); }
    100% { transform: translate(-100px, 30vh) rotate(0deg) scale(1.2); }
}

@keyframes float3 {
    0% { transform: translate(-100px, 50vh) rotate(0deg) scale(0.8); }
    50% { transform: translate(50vw, 40vh) rotate(180deg) scale(1.1); }
    100% { transform: translate(calc(100vw + 100px), 50vh) rotate(360deg) scale(0.8); }
}

@keyframes float4 {
    0% { transform: translate(calc(100vw + 100px), 70vh) rotate(360deg) scale(1.1); }
    50% { transform: translate(50vw, 80vh) rotate(180deg) scale(0.9); }
    100% { transform: translate(-100px, 70vh) rotate(0deg) scale(1.1); }
}

@keyframes floatDiagonal1 {
    0% { transform: translate(-100px, -100px) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), calc(100vh + 100px)) rotate(360deg) scale(1); }
}

@keyframes floatDiagonal2 {
    0% { transform: translate(calc(100vw + 100px), -100px) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(0.8); }
    100% { transform: translate(-100px, calc(100vh + 100px)) rotate(0deg) scale(1.2); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.15; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.3; }
}

@keyframes spin3D {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1); }
    50% { transform: perspective(500px) rotateY(180deg) rotateX(180deg) scale(1.2); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg) scale(1); }
}

/* Apply animations to icons */
.programming-icon:nth-child(8n + 1) { animation: float1 20s infinite; }
.programming-icon:nth-child(8n + 2) { animation: float2 23s infinite; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 184, 0, 0.08) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #FFD700;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #FFD700;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFD700;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #FFD700;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFD700;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(120deg, rgba(255, 215, 0, 0.05), transparent),
        linear-gradient(-120deg, rgba(255, 165, 0, 0.05), transparent);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

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

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }
.glow-text span:nth-child(9) { animation-delay: 0.9s; }
.glow-text span:nth-child(10) { animation-delay: 1s; }
.glow-text span:nth-child(11) { animation-delay: 1.1s; }
.glow-text span:nth-child(12) { animation-delay: 1.2s; }

/* Dynamic Name Animation */
.intro-text {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    position: relative;
    color: #FFD700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2);
    animation: textFloat 3s ease-in-out infinite;
}

.intro-text span {
    display: inline-block;
    animation: letterPop 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px) rotate(10deg);
    filter: blur(10px);
}

@keyframes letterPop {
    0% {
        opacity: 0;
        transform: translateY(20px) rotate(10deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
        text-shadow: 
            0 0 10px rgba(255, 215, 0, 0.5),
            0 0 20px rgba(255, 215, 0, 0.3),
            0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
        text-shadow: 
            0 0 15px rgba(255, 215, 0, 0.6),
            0 0 25px rgba(255, 215, 0, 0.4),
            0 0 35px rgba(255, 215, 0, 0.3);
    }
}

/* Add glowing border effect */
.intro-text::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 10px;
    background: linear-gradient(45deg, #FFD700, transparent, #FFD700);
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    opacity: 0.5;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .intro-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .intro-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .intro-text,
    .intro-text span,
    .intro-text::before {
        animation: none;
        transform: none;
    }
}

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #6366F1;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFB800;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #6366F1;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #6366F1;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFB800;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #6366F1;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFB800;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFB800;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: #fff;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.skills-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #FFB800;
    transform: translateY(-2px);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    width: 24px;
    height: 24px;
}

.html-bg {
    background-color: #6366F1;
}

.css-bg {
    background-color: #6366F1;
}

.react-bg {
    background-color: #6366F1;
}

.angular-bg {
    background-color: #6366F1;
}

.ios-bg {
    background-color: #6366F1;
}

.android-bg {
    background-color: #6366F1;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

/* Experience Section */
.experience-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #E1E1E1;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 0.9rem;
    color: #666;
}

.profile-section {
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #FFB800;
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00E9A3;
}

.hire-me-btn {
    background: #00E9A3;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.hire-me-btn:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    margin-top: 30px;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.arrows span {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Navigation Button Styles */
.nav-button {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #00E9A3;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 233, 163, 0.3);
}

.nav-button:hover {
    background: #00c38a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 233, 163, 0.4);
}

.nav-button i {
    color: #1E1E2A;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-button {
        left: 15px;
        width: 40px;
        height: 40px;
        padding: 12px;
    }
    
    .nav-button i {
        font-size: 1.2rem;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
    background: #fff;
    position: relative;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E1E2A;
}

.portfolio-info span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-more {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f0f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366F1;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: #6366F1;
    color: #fff;
}

/* Testimonials Section */
.testimonials-wrapper {
    position: relative;
    padding: 20px 0;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    font-size: 4rem;
    color: #6366F1;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    position: relative;
    transition: all 0.3s ease;
}

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

.testimonial-card:hover .client-image {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

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

/* Remove previous background colors */
.client-image.yellow-bg,
.client-image.purple-bg {
    background: none;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.client-position {
    color: #6366F1;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-text {
    color: #4B5563;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 10px;
}

.contact-form p {
    color: #4B5563;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1E1E2A;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

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

.btn-send {
    background: #6366F1;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.contact-info {
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f0f1ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.info-content p {
    color: #4B5563;
    line-height: 1.6;
}

.contact-illustration {
    margin-top: 50px;
    text-align: center;
}

.contact-illustration img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }
}

/* Animation Classes */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Dots Navigation for Testimonials */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6366F1;
    transform: scale(1.2);
}

/* Yellow Background Variation */
.yellow-bg {
    border-color: #FFB800;
}

/* Purple Background Variation */
.purple-bg {
    border-color: #9333EA;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: transparent;
}

#services {
    background: transparent;
}

#skills {
    background: transparent;
}

#portfolio {
    background: transparent;
}

#contact {
    background: transparent;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366F1;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Common Section Styles */
.hero,
.services,
.skills,
.portfolio,
.contact {
    min-height: 100vh;
    width: 100%;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 1;
}

/* Section Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #6366F1;
}

/* Remove individual section backgrounds */
#home,
#services,
#skills,
#portfolio,
#contact {
    background: transparent !important;
}

/* Content Cards with Glass Effect */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Animation Effects */
@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

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

@keyframes float-left {
    0% { transform: translateX(100vw) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(-100px) rotate(360deg); opacity: 0; }
}

@keyframes float-right {
    0% { transform: translateX(-100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(100vw) rotate(-360deg); opacity: 0; }
}

@keyframes float-diagonal-1 {
    0% { transform: translate(-100px, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(100vw, 100vh) rotate(360deg); opacity: 0; }
}

@keyframes float-diagonal-2 {
    0% { transform: translate(100vw, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(-100px, 100vh) rotate(-360deg); opacity: 0; }
}

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

@keyframes rotate-3d {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Animations */
.programming-icon:nth-child(6n + 1) {
    animation: float-up 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1s);
}

.programming-icon:nth-child(6n + 2) {
    animation: float-down 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.programming-icon:nth-child(6n + 3) {
    animation: float-left 15s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

.programming-icon:nth-child(6n + 4) {
    animation: float-right 15s linear infinite;
    animation-delay: calc(var(--i) * -2.5s);
}

.programming-icon:nth-child(6n + 5) {
    animation: float-diagonal-1 12s linear infinite;
    animation-delay: calc(var(--i) * -3s);
}

.programming-icon:nth-child(6n + 6) {
    animation: float-diagonal-2 12s linear infinite;
    animation-delay: calc(var(--i) * -3.5s);
}

/* Additional Decorative Elements */
.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.tech-particle:nth-child(3n) {
    animation: pulse 4s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 1) {
    width: 8px;
    height: 8px;
    background: rgba(255, 184, 0, 0.2);
    animation: pulse 5s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 2) {
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 157, 0.2);
    animation: pulse 6s ease-in-out infinite;
}

/* Add 3D rotation effect to some icons */
.programming-icon.rotate-3d {
    animation: rotate-3d 10s linear infinite !important;
    transform-style: preserve-3d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
    
    .tech-particle {
        display: none;
    }
}

/* Code Snippet Animation */
.code-snippet {
    position: fixed;
    font-family: 'Consolas', monospace;
    color: rgba(255, 215, 0, 0.1);
    font-size: 14px;
    white-space: pre;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.1; transform: translateY(0); }
    80% { opacity: 0.1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Double the number of animations for more variety */
@keyframes float1 { 
    0% { transform: translate(-100px, 10vh) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 10vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), 10vh) rotate(360deg) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(calc(100vw + 100px), 30vh) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 30vh) rotate(180deg) scale(1); }
    100% { transform: translate(-100px, 30vh) rotate(0deg) scale(1.2); }
}

@keyframes float3 {
    0% { transform: translate(-100px, 50vh) rotate(0deg) scale(0.8); }
    50% { transform: translate(50vw, 40vh) rotate(180deg) scale(1.1); }
    100% { transform: translate(calc(100vw + 100px), 50vh) rotate(360deg) scale(0.8); }
}

@keyframes float4 {
    0% { transform: translate(calc(100vw + 100px), 70vh) rotate(360deg) scale(1.1); }
    50% { transform: translate(50vw, 80vh) rotate(180deg) scale(0.9); }
    100% { transform: translate(-100px, 70vh) rotate(0deg) scale(1.1); }
}

@keyframes floatDiagonal1 {
    0% { transform: translate(-100px, -100px) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), calc(100vh + 100px)) rotate(360deg) scale(1); }
}

@keyframes floatDiagonal2 {
    0% { transform: translate(calc(100vw + 100px), -100px) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(0.8); }
    100% { transform: translate(-100px, calc(100vh + 100px)) rotate(0deg) scale(1.2); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.15; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.3; }
}

@keyframes spin3D {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1); }
    50% { transform: perspective(500px) rotateY(180deg) rotateX(180deg) scale(1.2); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg) scale(1); }
}

/* Apply animations to icons */
.programming-icon:nth-child(8n + 1) { animation: float1 20s infinite; }
.programming-icon:nth-child(8n + 2) { animation: float2 23s infinite; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    color: #333;
    background-color: #e6e6e6; /* 10% darker than #f5f5f5 */
}

/* Unified Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 184, 0, 0.08) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Main Content Wrapper */
#root, main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    color: #333;
}

/* Remove all section backgrounds */
section,
.hero,
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Content Cards with Glass Effect */
.header,
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    color: #333;
}

/* Footer with Glass Effect */
.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* Programming Icons Container */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* Programming Language Icons */
.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transform-origin: center;
    will-change: transform, opacity;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

/* Simplified animations for better performance */
@keyframes floatAcross1 {
    0% {
        transform: translate(-100px, 10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross2 {
    0% {
        transform: translate(-100px, 30vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 30vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross3 {
    0% {
        transform: translate(-100px, 50vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 50vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross4 {
    0% {
        transform: translate(-100px, 70vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 70vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatAcross5 {
    0% {
        transform: translate(-100px, 90vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% {
        transform: translate(calc(100vw + 100px), 90vh) rotate(360deg);
        opacity: 0;
    }
}

/* Apply animations to icons with different delays */
.programming-icon:nth-child(6n + 1) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(6n + 2) {
    animation: floatAcross2 15s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(6n + 3) {
    animation: floatAcross3 15s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(6n + 4) {
    animation: floatAcross4 15s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(6n + 5) {
    animation: floatAcross5 15s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(6n + 6) {
    animation: floatAcross1 15s linear infinite;
    animation-delay: -15s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Add smooth transition for icons */
.programming-icon {
    transition: transform 0.3s ease-out;
}

/* Optional: Add hover effect */
.programming-icon:hover {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Create multiple animation paths */
@keyframes floatLeft {
    0% {
        transform: translate(120vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, random(100)vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatRight {
    0% {
        transform: translate(-20vw, random(100)vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, random(100)vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatTop {
    0% {
        transform: translate(random(100)vw, 120vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, -20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBottom {
    0% {
        transform: translate(random(100)vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(random(100)vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal1 {
    0% {
        transform: translate(-20vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(120vw, 120vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatDiagonal2 {
    0% {
        transform: translate(120vw, -20vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% {
        transform: translate(-20vw, 120vh) rotate(-360deg);
        opacity: 0;
    }
}

/* Apply animations to icons */
.programming-icon:nth-child(12n + 1) {
    animation: floatLeft 25s linear infinite;
    animation-delay: 0s;
}

.programming-icon:nth-child(12n + 2) {
    animation: floatRight 28s linear infinite;
    animation-delay: -3s;
}

.programming-icon:nth-child(12n + 3) {
    animation: floatTop 22s linear infinite;
    animation-delay: -6s;
}

.programming-icon:nth-child(12n + 4) {
    animation: floatBottom 26s linear infinite;
    animation-delay: -9s;
}

.programming-icon:nth-child(12n + 5) {
    animation: floatDiagonal1 30s linear infinite;
    animation-delay: -12s;
}

.programming-icon:nth-child(12n + 6) {
    animation: floatDiagonal2 27s linear infinite;
    animation-delay: -15s;
}

.programming-icon:nth-child(12n + 7) {
    animation: floatLeft 24s linear infinite;
    animation-delay: -18s;
}

.programming-icon:nth-child(12n + 8) {
    animation: floatRight 29s linear infinite;
    animation-delay: -21s;
}

.programming-icon:nth-child(12n + 9) {
    animation: floatTop 23s linear infinite;
    animation-delay: -24s;
}

.programming-icon:nth-child(12n + 10) {
    animation: floatBottom 25s linear infinite;
    animation-delay: -27s;
}

.programming-icon:nth-child(12n + 11) {
    animation: floatDiagonal1 28s linear infinite;
    animation-delay: -30s;
}

.programming-icon:nth-child(12n + 12) {
    animation: floatDiagonal2 26s linear infinite;
    animation-delay: -33s;
}

/* Adjust icon sizes for different screen sizes */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .programming-icon {
        width: 25px;
        height: 25px;
    }
}

/* Position icons with different paths */
.programming-icon:nth-child(1) { --startX: 10vw; --endX: 20vw; animation-delay: 0s; }
.programming-icon:nth-child(2) { --startX: 30vw; --endX: 15vw; animation-delay: -5s; }
.programming-icon:nth-child(3) { --startX: 50vw; --endX: 60vw; animation-delay: -10s; }
.programming-icon:nth-child(4) { --startX: 70vw; --endX: 55vw; animation-delay: -15s; }
.programming-icon:nth-child(5) { --startX: 90vw; --endX: 80vw; animation-delay: -20s; }
.programming-icon:nth-child(6) { --startX: 20vw; --endX: 40vw; animation-delay: -25s; }

/* Add more floating icons */
.programming-icon:nth-child(7) { --startX: 40vw; --endX: 30vw; animation-delay: -8s; }
.programming-icon:nth-child(8) { --startX: 60vw; --endX: 70vw; animation-delay: -13s; }
.programming-icon:nth-child(9) { --startX: 80vw; --endX: 65vw; animation-delay: -18s; }
.programming-icon:nth-child(10) { --startX: 15vw; --endX: 35vw; animation-delay: -23s; }

/* Section background adjustments */
section {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* White background */
}

/* Adjust other section backgrounds */
.services,
.skills,
.portfolio,
.testimonials,
.contact {
    background: #ffffff !important;
}

/* Card and content background adjustments */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Header adjustment */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer adjustment */
.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Programming Language Icons Animation */
.programming-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: floatIcon 15s linear infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(0, -100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Modify icon positions */
.programming-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.programming-icon:nth-child(2) { left: 25%; animation-delay: -3s; }
.programming-icon:nth-child(3) { left: 40%; animation-delay: -6s; }
.programming-icon:nth-child(4) { left: 55%; animation-delay: -9s; }
.programming-icon:nth-child(5) { left: 70%; animation-delay: -12s; }
.programming-icon:nth-child(6) { left: 85%; animation-delay: -15s; }

/* Add hover effect for icons */
.programming-icon:hover {
    animation-play-state: paused;
    opacity: 0.8;
    transform: scale(1.2);
}

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

section {
    padding: 40px 0;
}

/* Main Content Adjustments */
main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Hero Section Adjustments */
.hero {
    min-height: 100vh;
    padding: 80px 0 40px; /* Increased top padding */
    margin-top: -60px; /* Offset header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased gap between elements */
    padding-top: 80px; /* Added more space at top */
    margin: 0;
}

/* Content Spacing Reset */
.hero-text {
    margin: 0 0 10px 0; /* Added bottom margin */
    padding: 0;
}

.hello-tag {
    margin: 0 0 5px 0; /* Added bottom margin */
    padding: 0;
    transform: rotate(-10deg);
}

.hero h1 {
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase; /* Make text uppercase */
    letter-spacing: 2px; /* Add slight letter spacing for better readability */
}

.hero-description {
    margin: 10px 0 15px 0; /* Added vertical margins */
    padding: 0;
}

.hero-buttons {
    margin-top: 20px; /* Increased top margin */
    display: flex;
    gap: 15px; /* Added gap between buttons */
}

@media (max-width: 768px) {
    .hero {
        margin-top: 21px; /* Reduced by 30% from 30px */
        padding-top: 28px; /* Reduced by 30% from 40px */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 14px; /* Reduced by 30% from 20px */
    }

    .hero-text {
        margin: 0 0 15px 0; /* Added more bottom margin */
    }

    .hello-tag {
        margin: 0 0 10px 0; /* Added more bottom margin */
    }

    .hero h1 {
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        letter-spacing: 1.5px; /* Slightly reduced letter spacing for mobile */
    }

    .hero-description {
        margin: 15px 0 20px 0; /* Increased margins */
        font-size: 0.9rem;
    }

    .hero-buttons {
        margin-top: 25px; /* Increased top margin */
        gap: 15px;
    }
}

.services {
    padding: 40px 0;
}

.services-grid {
    gap: 20px;
    margin-top: 30px;
}

.skills {
    padding: 40px 0;
}

.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials {
    padding: 100px 0;
    background: #fff;
}

.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero {
        margin-top: 3px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero-text {
        padding: 0;
    }
    
    .hello-tag {
        margin: 0 0 -3px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin: 0 0 3px 0;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin: 3px 0;
    }
    
    .hero-buttons {
        margin-top: 5px;
    }
    
    main {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        gap: 8px;
    }
}

/* Enhanced Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotateBg 10s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

/* Enhanced Glowing Text */
.glow-text {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin-bottom: 40px;
    opacity: 0;
    transform: perspective(500px) translateZ(0);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    animation: textAppear 0.5s ease forwards;
}

.glow-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-50px) translateZ(100px);
    animation: revealLetter 0.8s ease forwards;
}

/* Assign different delays to each letter */
.glow-text span:nth-child(1) { animation-delay: 0.1s; }
.glow-text span:nth-child(2) { animation-delay: 0.2s; }
.glow-text span:nth-child(3) { animation-delay: 0.3s; }
.glow-text span:nth-child(4) { animation-delay: 0.4s; }
.glow-text span:nth-child(5) { animation-delay: 0.5s; }
.glow-text span:nth-child(6) { animation-delay: 0.6s; }
.glow-text span:nth-child(7) { animation-delay: 0.7s; }
.glow-text span:nth-child(8) { animation-delay: 0.8s; }
.glow-text span:nth-child(9) { animation-delay: 0.9s; }
.glow-text span:nth-child(10) { animation-delay: 1s; }
.glow-text span:nth-child(11) { animation-delay: 1.1s; }
.glow-text span:nth-child(12) { animation-delay: 1.2s; }

/* Enhanced Loading Bar */
.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Loading Status with Typing Effect */
.loading-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.status-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40) infinite;
}

.percentage {
    font-family: monospace;
    font-weight: 500;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

/* Decorative Elements */
.loader-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Generate multiple particles with different positions and delays */
.loader-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.loader-particle:nth-child(3) { left: 50%; animation-delay: 0.6s; }
.loader-particle:nth-child(4) { left: 70%; animation-delay: 0.9s; }
.loader-particle:nth-child(5) { left: 90%; animation-delay: 1.2s; }

/* Enhanced Animations */
@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-50px) translateZ(100px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) translateZ(0);
    }
}

@keyframes loadingProgress {
    0% {
        left: -100%;
        transform: skewX(-20deg);
    }
    50% {
        left: 100%;
        transform: skewX(-20deg);
    }
    100% {
        left: 100%;
        transform: skewX(-20deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) scale(1);
        opacity: 0;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        transition: opacity 0.3s ease-out;
    }
    
    .glow-text,
    .glow-text span,
    .loading-progress,
    .loading-status,
    .loader-particle {
        animation: none;
    }
    
    .glow-text {
        opacity: 1;
    }
    
    .glow-text span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

:root {
    --primary-color: #6366F1;
    --secondary-color: #F59E0B;
    --text-color: #1F2937;
    --light-bg: #F3F4F6;
    --container-padding: 15px;
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Section Visibility Fix */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    min-height: auto; /* Remove fixed heights */
}

/* Header Fixes */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;  /* Match header height */
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
}

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

.logo span {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 1;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

.contact-now-btn {
    background: #6366F1;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
}

.contact-now-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: #000;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .contact-now-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo-img {
        height: 32px;
    }
}

/* Mobile Menu Fixes */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px; /* Adjust to match new header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Ensure content is visible on mobile */
    .hero-content,
    .services-grid,
    .skills-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Fix section spacing */
    section {
        padding: 60px 0;
    }

    /* Adjust container padding */
    .container {
        padding: 0 15px;
    }

    /* Fix grid layouts */
    .services-grid,
    .skills-grid,
    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    /* Fix image containers */
    .hero-image,
    .portfolio-image,
    .testimonial-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Ensure text content is visible */
    h1, h2, h3, p {
        opacity: 1;
        visibility: visible;
    }

    /* Fix button visibility */
    .btn-primary,
    .btn-secondary,
    .hire-button {
        display: inline-block;
        width: auto;
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Fixes */
.animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.reveal {
    opacity: 1;
    visibility: visible;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        height: -webkit-fill-available;
    }
}

/* Fix content overflow issues */
.hero-content,
.services-grid,
.skills-content,
.portfolio-grid,
.testimonials-slider,
.contact-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Ensure images are properly sized */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Button Styles */
.btn-primary {
    background: #6366F1;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.btn-secondary {
    background: #FFB800;
    color: #333;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* Header Styles */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced from 12px */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #111827;
    transition: transform 0.3s ease;
}

.logo span {
    letter-spacing: 1px; /* Reduced from 1.5px */
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced from 40px */
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px; /* Reduced from 14px */
    padding: 6px 12px; /* Reduced from 8px 16px */
    border-radius: 6px; /* Reduced from 8px */
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFB800;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.nav-menu ul li a.active {
    background-color: #FFB800;
    color: #000;
}

/* Contact Button Styles */
.contact-button {
    display: flex;
    align-items: center;
}

.contact-button .btn-secondary {
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    color: #000;
    padding: 8px 20px; /* Reduced from 12px 28px */
    font-size: 13px; /* Reduced from default */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px; /* Reduced from 44px */
    border: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-button .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.contact-button .btn-secondary:active {
    transform: translateY(1px);
}

/* Mobile Contact Button Styles */
@media (max-width: 768px) {
    .contact-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    .contact-button .btn-secondary {
        padding: 6px 16px;
        font-size: 12px;
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
        animation: pulseButton 2s infinite;
    }

    /* Add padding for iOS safe area */
    @supports (padding: max(0px)) {
        .contact-button {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .contact-button .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(255, 184, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-button {
        bottom: 10px;
        right: 10px;
    }

    .contact-button .btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .contact-button .btn-secondary:hover {
        transform: none;
    }

    .contact-button .btn-secondary:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-button .btn-secondary {
        background: linear-gradient(135deg, #FFB800, #FF8A00);
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-button .btn-secondary {
        background: #FFB800;
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .contact-button .btn-secondary {
        animation: none;
        transition: none;
    }
}

/* Header Mobile Menu Adjustments */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu.active ul li a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Hide desktop contact button when showing mobile version */
    .header .contact-button {
        display: none;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (padding: max(0px)) {
    body {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Hero Section Styles */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    z-index: 0;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.plus-icon {
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    color: #6366F1;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.arrow-icon {
    position: absolute;
    top: 0;
    right: 15%;
    transform: translateY(-80%);
    z-index: 3;
}

.arrow-icon svg {
    width: 50px;
    height: 50px;
    transform: rotate(-10deg);
}

/* New decorative symbols */
.circle-icon {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFB800;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

.square-icon {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: #6366F1;
    opacity: 0.4;
    transform: rotate(45deg);
    animation: rotate 6s linear infinite;
}

.dots-icon {
    position: absolute;
    top: 25%;
    right: 25%;
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.dots-icon span {
    width: 4px;
    height: 4px;
    background: #6366F1;
    border-radius: 50%;
    opacity: 0.5;
}

.cross-icon {
    position: absolute;
    bottom: 30%;
    right: 35%;
    font-size: 1.2rem;
    color: #FFB800;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: spin 8s linear infinite;
}

.zigzag-icon {
    position: absolute;
    top: 15%;
    left: 30%;
    color: #6366F1;
    opacity: 0.4;
    font-size: 1.5rem;
    animation: float 5s ease-in-out infinite;
}

.star-icon {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: #FFB800;
    opacity: 0.5;
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
}

/* Additional animations */
@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

.hello-tag {
    display: inline-block;
    margin: 0 0 -5px 0; /* Negative margin to pull content up */
    transform: rotate(-10deg);
    position: relative;
    z-index: 1;
}

.hello-tag span {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 5px 0;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 8px;
}

.hero-image {
    flex: 1;
}

.browser-frame {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.browser-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browser-dots span:first-child {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:last-child {
    background: #28C840;
}

.browser-frame:hover .browser-dots span {
    transform: scale(1.1);
}

.browser-frame img.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Improved tablet navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
        padding: 20px;
        overflow-y: auto;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu {
        display: block;
    }

    /* Improved responsive sections */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skills-content {
        flex-direction: column;
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--container-padding);
    }

    /* Improved mobile typography */
    h1 {
        font-size: calc(2rem + 1vw);
        line-height: 1.3;
    }

    h2 {
        font-size: calc(1.5rem + 1vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    /* Enhanced mobile sections */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    /* Improved mobile spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Better touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .nav-menu ul li a {
        padding: 12px 24px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .skill-item,
    .service-card,
    .portfolio-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .hero-text {
        padding-top: 1rem;
    }

    /* Social Media Links Spacing */
    .social-links {
        display: flex;
        gap: 25px; /* Increased gap between social icons */
        margin: 35px 0; /* Increased vertical margin */
        justify-content: center;
    }

    .social-link {
        font-size: 22px; /* Slightly larger icons */
        padding: 8px; /* Added padding for better touch target */
    }

    /* Hire Me Button Spacing */
    .hire-me-btn,
    .hire-me {
        margin-top: 35px; /* More space above button */
        padding: 12px 35px; /* Larger button */
        font-size: 1.1rem;
    }

    /* Name and Title Spacing */
    .hero h1 {
        margin: 25px 0 15px 0; /* More space around name */
    }

    .hero-description {
        margin: 15px 0 25px 0; /* More space around description */
    }
}

/* Main Content Styles */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.social-link {
    color: #374151;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.copyright {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Section Common Styles */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 30px;
    transform: rotate(-3deg);
}

.section-tag span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    overflow: visible;
}

.title-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFB800;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Services Section Enhancement */
.services {
    padding: 100px 0;
    background-color: #FDF8F3;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .number {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

.service-icon i {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: #fff;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.skills-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #FFB800;
    transform: translateY(-2px);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    width: 24px;
    height: 24px;
}

.html-bg {
    background-color: #6366F1;
}

.css-bg {
    background-color: #6366F1;
}

.react-bg {
    background-color: #6366F1;
}

.angular-bg {
    background-color: #6366F1;
}

.ios-bg {
    background-color: #6366F1;
}

.android-bg {
    background-color: #6366F1;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

/* Experience Section */
.experience-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-item {
    padding-bottom: 25px;
    border-bottom: 1px solid #E1E1E1;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 0.9rem;
    color: #666;
}

.profile-section {
    margin-top: 40px;
    position: relative;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #FFB800;
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00E9A3;
}

.hire-me-btn {
    background: #00E9A3;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.hire-me-btn:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    margin-top: 30px;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.arrows span {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Navigation Button Styles */
.nav-button {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: #00E9A3;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 233, 163, 0.3);
}

.nav-button:hover {
    background: #00c38a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 233, 163, 0.4);
}

.nav-button i {
    color: #1E1E2A;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-button {
        left: 15px;
        width: 40px;
        height: 40px;
        padding: 12px;
    }
    
    .nav-button i {
        font-size: 1.2rem;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px;
    background: #fff;
    position: relative;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E1E2A;
}

.portfolio-info span {
    color: #6366F1;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-more {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f0f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366F1;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: #6366F1;
    color: #fff;
}

/* Testimonials Section */
.testimonials-wrapper {
    position: relative;
    padding: 20px 0;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    font-size: 4rem;
    color: #6366F1;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    position: relative;
    transition: all 0.3s ease;
}

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

.testimonial-card:hover .client-image {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

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

/* Remove previous background colors */
.client-image.yellow-bg,
.client-image.purple-bg {
    background: none;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.client-position {
    color: #6366F1;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-text {
    color: #4B5563;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 10px;
}

.contact-form p {
    color: #4B5563;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1E1E2A;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

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

.btn-send {
    background: #6366F1;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.contact-info {
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f0f1ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E1E2A;
    margin-bottom: 5px;
}

.info-content p {
    color: #4B5563;
    line-height: 1.6;
}

.contact-illustration {
    margin-top: 50px;
    text-align: center;
}

.contact-illustration img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }
}

/* Animation Classes */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Dots Navigation for Testimonials */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #6366F1;
    transform: scale(1.2);
}

/* Yellow Background Variation */
.yellow-bg {
    border-color: #FFB800;
}

/* Purple Background Variation */
.purple-bg {
    border-color: #9333EA;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366F1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #6366F1;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: transparent;
}

#services {
    background: transparent;
}

#skills {
    background: transparent;
}

#portfolio {
    background: transparent;
}

#contact {
    background: transparent;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6366F1;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Common Section Styles */
.hero,
.services,
.skills,
.portfolio,
.contact {
    min-height: 100vh;
    width: 100%;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 1;
}

/* Section Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #6366F1;
}

/* Remove individual section backgrounds */
#home,
#services,
#skills,
#portfolio,
#contact {
    background: transparent !important;
}

/* Content Cards with Glass Effect */
.service-card,
.skill-item,
.portfolio-item,
.testimonial-card,
.contact-form-wrapper,
.contact-info {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Animation Effects */
@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

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

@keyframes float-left {
    0% { transform: translateX(100vw) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(-100px) rotate(360deg); opacity: 0; }
}

@keyframes float-right {
    0% { transform: translateX(-100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateX(100vw) rotate(-360deg); opacity: 0; }
}

@keyframes float-diagonal-1 {
    0% { transform: translate(-100px, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(100vw, 100vh) rotate(360deg); opacity: 0; }
}

@keyframes float-diagonal-2 {
    0% { transform: translate(100vw, -100px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(-100px, 100vh) rotate(-360deg); opacity: 0; }
}

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

@keyframes rotate-3d {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.programming-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Animations */
.programming-icon:nth-child(6n + 1) {
    animation: float-up 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1s);
}

.programming-icon:nth-child(6n + 2) {
    animation: float-down 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.5s);
}

.programming-icon:nth-child(6n + 3) {
    animation: float-left 15s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

.programming-icon:nth-child(6n + 4) {
    animation: float-right 15s linear infinite;
    animation-delay: calc(var(--i) * -2.5s);
}

.programming-icon:nth-child(6n + 5) {
    animation: float-diagonal-1 12s linear infinite;
    animation-delay: calc(var(--i) * -3s);
}

.programming-icon:nth-child(6n + 6) {
    animation: float-diagonal-2 12s linear infinite;
    animation-delay: calc(var(--i) * -3.5s);
}

/* Additional Decorative Elements */
.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.tech-particle:nth-child(3n) {
    animation: pulse 4s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 1) {
    width: 8px;
    height: 8px;
    background: rgba(255, 184, 0, 0.2);
    animation: pulse 5s ease-in-out infinite;
}

.tech-particle:nth-child(3n + 2) {
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 157, 0.2);
    animation: pulse 6s ease-in-out infinite;
}

/* Add 3D rotation effect to some icons */
.programming-icon.rotate-3d {
    animation: rotate-3d 10s linear infinite !important;
    transform-style: preserve-3d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .programming-icon {
        width: 30px;
        height: 30px;
    }
    
    .tech-particle {
        display: none;
    }
}

/* Code Snippet Animation */
.code-snippet {
    position: fixed;
    font-family: 'Consolas', monospace;
    color: rgba(255, 215, 0, 0.1);
    font-size: 14px;
    white-space: pre;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: fadeInOut 8s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.1; transform: translateY(0); }
    80% { opacity: 0.1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced Programming Icons */
.programming-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.programming-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    will-change: transform, opacity;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Double the number of animations for more variety */
@keyframes float1 { 
    0% { transform: translate(-100px, 10vh) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 10vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), 10vh) rotate(360deg) scale(1); }
}

@keyframes float2 {
    0% { transform: translate(calc(100vw + 100px), 30vh) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 30vh) rotate(180deg) scale(1); }
    100% { transform: translate(-100px, 30vh) rotate(0deg) scale(1.2); }
}

@keyframes float3 {
    0% { transform: translate(-100px, 50vh) rotate(0deg) scale(0.8); }
    50% { transform: translate(50vw, 40vh) rotate(180deg) scale(1.1); }
    100% { transform: translate(calc(100vw + 100px), 50vh) rotate(360deg) scale(0.8); }
}

@keyframes float4 {
    0% { transform: translate(calc(100vw + 100px), 70vh) rotate(360deg) scale(1.1); }
    50% { transform: translate(50vw, 80vh) rotate(180deg) scale(0.9); }
    100% { transform: translate(-100px, 70vh) rotate(0deg) scale(1.1); }
}

@keyframes floatDiagonal1 {
    0% { transform: translate(-100px, -100px) rotate(0deg) scale(1); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(1.2); }
    100% { transform: translate(calc(100vw + 100px), calc(100vh + 100px)) rotate(360deg) scale(1); }
}

@keyframes floatDiagonal2 {
    0% { transform: translate(calc(100vw + 100px), -100px) rotate(360deg) scale(1.2); }
    50% { transform: translate(50vw, 50vh) rotate(180deg) scale(0.8); }
    100% { transform: translate(-100px, calc(100vh + 100px)) rotate(0deg) scale(1.2); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.15; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.3; }
}

@keyframes spin3D {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1); }
    50% { transform: perspective(500px) rotateY(180deg) rotateX(180deg) scale(1.2); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(360deg) scale(1); }
}

/* Apply animations to icons */
.programming-icon:nth-child(8n + 1) { animation: float1 20s infinite; }
.programming-icon:nth-child(8n + 2) { animation: float2 23s infinite; }
.programming-icon:nth-child(8n + 3) { animation: float3 25s infinite; }
.programming-icon:nth-child(8n + 4) { animation: float4 22s infinite; }
.programming-icon:nth-child(8n + 5) { animation: floatDiagonal1 28s infinite; }
.programming-icon:nth-child(8n + 6) { animation: floatDiagonal2 26s infinite; }
.programming-icon:nth-child(8n + 7) { animation: pulse 15s infinite; }
.programming-icon:nth-child(8n + 8) { animation: spin3D 18s infinite; }

/* Add glowing effect */
.programming-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

/* Background Matrix Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05; /* Slightly increased from 0.03 */
    background: linear-gradient(rgba(255, 215, 0, 0.15) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 215, 0, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: matrixShift 30s linear infinite;
}

@keyframes matrixShift {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

/* Header Logo/Profile Image */
.logo img,
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFB800;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.2);
}

.logo img:hover,
.logo-img:hover {
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .logo img,
    .logo-img {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
}

/* Mobile-First Adjustments */
@media (max-width: 768px) {
    /* Header Fixes */
    .header {
        height: 50px; /* Reduced header height on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .header .container {
        height: 50px;
        padding: 0 15px;
    }

    /* Logo Adjustments */
    .logo img,
    .logo-img {
        width: 32px;
        height: 32px;
    }

    /* Main Content Fixes */
    main {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    /* Hero Section Fixes */
    .hero {
        margin: 0;
        padding: 50px 0 0 0; /* Only top padding to account for header */
        min-height: 100vh;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-content {
        padding: 0 15px;
        width: 100%;
        gap: 8px;
        margin-top: 0;
    }

    /* Profile Image Container */
    .profile-image-container {
        width: 200px;
        height: 200px;
        margin: 0 auto 15px;
    }

    /* Text Adjustments */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin: 0;
        padding: 0;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 5px 0;
    }

    .hero-buttons {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    /* Fix iOS Safari 100vh issue */
    @supports (-webkit-touch-callout: none) {
        .hero {
            min-height: -webkit-fill-available;
        }
    }

    /* Navigation Menu */
    .nav-menu {
        top: 50px; /* Match header height */
    }

    /* Content Sections */
    section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }
}

/* Additional iOS Fixes */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }

    html {
        height: -webkit-fill-available;
    }
}

/* General Mobile Optimization */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .profile-image-container {
        width: 180px;
        height: 180px;
        margin-top: -80px;  /* Increased negative margin to move it up */
        margin-bottom: 30px;
        position: relative;
        z-index: 2;
    }
}

/* Ensure content is visible on notched phones */
@supports (padding: max(0px)) {
    .header,
    .hero-content,
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .hero {
        padding-top: max(50px, env(safe-area-inset-top));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
    /* Header height for mobile */
    .header {
        height: 60px;
    }

    .header .container {
        height: 60px;
    }

    /* Hero section spacing */
    .hero {
        margin-top: 30px; /* Added positive margin instead of negative */
        padding-top: 40px; /* Reduced top padding to balance with new margin */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        padding-top: 20px; /* Reduced since we now have margin on hero */
    }

    /* Ensure content doesn't overflow */
    main {
        padding-top: 60px; /* Match header height */
        overflow: hidden;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
        margin-top: -60px;  /* Increased negative margin for mobile */
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .profile-image-container {
        width: 130px;
        height: 130px;
        margin-top: -50px;  /* Increased negative margin for smaller screens */
        margin-bottom: 15px;
    }
}

/* Enhanced Profile Image Effects */
.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        0 0 45px rgba(255, 215, 0, 0.1);
    animation: float 6s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.3),
            0 0 30px rgba(255, 215, 0, 0.2),
            0 0 45px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 0.4),
            0 0 50px rgba(255, 215, 0, 0.3),
            0 0 75px rgba(255, 215, 0, 0.2);
    }
}

/* Enhanced Navigation Menu */
.nav-menu ul li a {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu ul li a:hover {
    transform: translateY(-2px);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.1);
}

/* Enhanced Mobile Menu Button */
.mobile-menu {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.1);
}

.mobile-menu span {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.mobile-menu span::before,
.mobile-menu span::after {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Enhanced Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .profile-image {
        transform: scale(0.95);
        margin-top: -40px;
    }

    .nav-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }

    .nav-menu ul li a {
        margin: 5px 0;
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 14px;
        letter-spacing: 0.5px;
        background: rgba(255, 255, 255, 0.5);
    }

    .nav-menu ul li a:hover {
        background: rgba(255, 215, 0, 0.1);
        transform: translateX(5px);
    }

    .mobile-menu {
        width: 35px;
        height: 35px;
        margin-right: 5px;
    }

    .mobile-menu span {
        width: 20px;
    }

    .mobile-menu span::before,
    .mobile-menu span::after {
        width: 20px;
    }
}

/* Smooth Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    75% {
        transform: translateY(10px) rotate(-2deg);
    }
}

/* Enhanced Skill Icons */
.skill-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.3),
        0 0 50px rgba(255, 215, 0, 0.2);
}

.skill-icon i {
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Neon Glow Effect for Profile */
.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFB800;
    box-shadow: 
        0 10px 30px rgba(255, 184, 0, 0.2),
        0 0 20px rgba(255, 184, 0, 0.1),
        0 0 40px rgba(255, 184, 0, 0.1);
    animation: float 4s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(255, 184, 0, 0.2),
            0 0 20px rgba(255, 184, 0, 0.1),
            0 0 40px rgba(255, 184, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(255, 184, 0, 0.4),
            0 0 30px rgba(255, 184, 0, 0.2),
            0 0 50px rgba(255, 184, 0, 0.2);
    }
}

/* 3D Text Effect for Name */
.hero h1 {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #1a1a1a 30%, #4a4a4a 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.2),
        4px 4px 0px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    animation: titleFloat 5s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% {
        transform: perspective(500px) translateZ(0px);
    }
    50% {
        transform: perspective(500px) translateZ(30px);
    }
}

/* Animated Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 184, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 230, 118, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Glass Morphism Effect for Social Links */
.social-link {
    font-size: 22px;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: #FFB800;
    color: white;
    box-shadow: 
        0 10px 20px rgba(255, 184, 0, 0.3),
        0 0 20px rgba(255, 184, 0, 0.2);
}

/* Modern Gradient Button */
.hire-me {
    background: linear-gradient(45deg, #00e676, #00c853, #64dd17);
    background-size: 200% 200%;
    color: white;
    padding: 16px 45px;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 20px rgba(0, 230, 118, 0.3),
        0 0 20px rgba(0, 230, 118, 0.2);
    animation: gradientShift 3s ease infinite;
}

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

.hire-me:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 230, 118, 0.4),
        0 0 30px rgba(0, 230, 118, 0.3);
    letter-spacing: 3px;
}

/* Description Text Animation */
.hero-description {
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.8s ease forwards, textFloat 4s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .social-link {
        font-size: 20px;
        padding: 12px;
    }

    .hire-me {
        padding: 14px 35px;
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* Add Decorative Elements */
.decorative-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 184, 0, 0.2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 10s linear infinite;
    pointer-events: none;
}

.shape-1 {
    top: 10%;
    left: 10%;
}

.shape-2 {
    bottom: 10%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Navigation Close Button Styles */
.mobile-menu {
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1000;
}

.mobile-menu span {
    position: relative;
    width: 24px;
    height: 2px;
    background: #333;
    display: block;
    transition: all 0.3s ease-in-out;
}

.mobile-menu span::before,
.mobile-menu span::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease-in-out;
}

.mobile-menu span::before {
    transform: translateY(-8px);
}

.mobile-menu span::after {
    transform: translateY(8px);
}

/* Active State */
.mobile-menu.active span {
    background: transparent;
}

.mobile-menu.active span::before {
    transform: rotate(45deg);
}

.mobile-menu.active span::after {
    transform: rotate(-45deg);
}

/* Hover Effect */
.mobile-menu:hover span,
.mobile-menu:hover span::before,
.mobile-menu:hover span::after {
    background: #FFB800;
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 35px;
        height: 35px;
    }

    .mobile-menu span {
        width: 20px;
    }

    .mobile-menu span::before,
    .mobile-menu span::after {
        width: 20px;
    }

    .mobile-menu span::before {
        transform: translateY(-6px);
    }

    .mobile-menu span::after {
        transform: translateY(6px);
    }
}

/* Add smooth transition for menu items */
.nav-menu {
    transition: transform 0.3s ease-in-out;
}

.nav-menu.active {
    transform: translateX(0);
}

/* Modern Mobile Menu Button */
.mobile-menu {
    display: none;  /* Hide by default */
    width: 45px;
    height: 45px;
    position: relative;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 184, 0, 0.15);
    border-radius: 12px;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Show mobile menu only on mobile devices */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;  /* Show on mobile */
        width: 40px;
        height: 40px;
        margin-left: auto;  /* Push to right side */
    }

    .nav-menu {
        display: none;  /* Hide regular menu on mobile */
    }

    .nav-menu.active {
        display: block;  /* Show when active */
        position: fixed;
        top: 60px;  /* Adjust based on header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-menu.active ul li a {
        display: flex;
        align-items: center;
        padding: 15px;
        width: 100%;
        text-decoration: none;
        color: #333;
        font-size: 16px;
        transition: all 0.3s ease;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active ul li a .nav-icon {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu.active ul li a .nav-text {
        font-weight: 500;
    }

    .nav-menu.active ul li a:hover,
    .nav-menu.active ul li a.active {
        background: #FFB800;
        color: #000;
    }

    /* Mobile Menu Button */
    .mobile-menu {
        display: flex;
        width: 35px;
        height: 35px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        z-index: 1000;
    }

    .mobile-menu span {
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }

    .nav-menu {
        display: block;
    }

    .nav-menu ul {
        display: flex;
        gap: 30px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-menu ul li a {
        display: flex;
        align-items: center;
        padding: 8px 16px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 20px;
    }

    .nav-menu ul li a .nav-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu ul li a:hover,
    .nav-menu ul li a.active {
        background: #FFB800;
        color: #000;
    }
}

/* Mobile Menu Animation */
.mobile-menu span {
    width: 22px;
    height: 2px;
    background: #333;
    position: relative;
    transition: all 0.4s ease;
}

.mobile-menu span::before,
.mobile-menu span::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: #333;
    transition: all 0.4s ease;
}

.mobile-menu span::before {
    top: -7px;
    right: 0;
}

.mobile-menu span::after {
    bottom: -7px;
    left: 0;
}

/* Hover Effects */
.mobile-menu:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 184, 0, 0.3);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 184, 0, 0.2),
        0 0 20px rgba(255, 184, 0, 0.15);
}

.mobile-menu:hover span,
.mobile-menu:hover span::before,
.mobile-menu:hover span::after {
    background: #FFB800;
    width: 22px;
}

/* Active State */
.mobile-menu.active {
    background: rgba(255, 184, 0, 0.1);
    animation: buttonPulse 2s infinite;
}

.mobile-menu.active span {
    background: transparent;
}

.mobile-menu.active span::before,
.mobile-menu.active span::after {
    top: 0;
    width: 22px;
    background: #FFB800;
}

.mobile-menu.active span::before {
    transform: rotate(45deg);
}

.mobile-menu.active span::after {
    transform: rotate(-45deg);
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.4) }
    70% { box-shadow: 0 0 0 10px rgba(255, 184, 0, 0) }
    100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0) }
}

/* Safe Area Insets for Mobile */
@supports (padding: max(0px)) {
    .mobile-menu {
        padding-right: max(10px, env(safe-area-inset-right));
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu span {
        width: 20px;
    }
    
    .mobile-menu span::before,
    .mobile-menu span::after {
        width: 14px;
    }
}

/* Enhanced Testimonials Section */
.testimonials {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 184, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 184, 0, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.testimonial-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-content {
    position: relative;
    padding-left: 25px;
    border-left: 3px solid #FFD700;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-top: 15px;
}

.testimonial-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Islamic Pattern Background */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20L20 0z' fill='%23FFD700' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-image {
        width: 60px;
        height: 60px;
    }

    .testimonial-quote {
        font-size: 1rem;
    }
}

/* Enhanced Page Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Animations */
.service-card,
.portfolio-item,
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
}

.service-card:hover,
.portfolio-item:hover,
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Hover Glow Effect */
.service-card::after,
.portfolio-item::after,
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.service-card:hover::after,
.portfolio-item:hover::after,
.testimonial-card:hover::after {
    opacity: 1;
}

/* Button Animations */
.btn-primary,
.btn-secondary,
.contact-now-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before,
.btn-secondary::before,
.contact-now-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.contact-now-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Navigation Link Animations */
.nav-menu ul li a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FFD700;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

/* Skill Progress Animation */
.skill-progress {
    width: 0;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-progress.visible {
    width: var(--progress);
}

/* Portfolio Image Hover Effect */
.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-image:hover::after {
    opacity: 1;
}

/* Text Reveal Animation */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Enhanced Social Icons Animation */
.social-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: #FFD700;
}

/* Floating Animation for Decorative Elements */
.decorative-element {
    animation: float 6s ease-in-out infinite;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #FFD700, #FFA500);
    transform-origin: 0 50%;
    transform: scaleX(0);
    transition: transform 0.1s ease;
    z-index: 1000;
}

/* Mobile Menu Animation */
.mobile-menu-container {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-container.active {
    transform: translateX(0);
}

/* Testimonial Card Flip Effect */
.testimonial-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.testimonial-card:hover {
    transform: rotateY(10deg);
}

/* Contact Form Input Animations */
.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Page Transition Effects */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    transform: scaleY(1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-scroll,
    .stagger-children > *,
    section {
        opacity: 1;
        transform: none;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .animate-on-scroll,
    .stagger-children > * {
        transform: none;
        transition: opacity 0.4s ease;
    }
    
    .service-card:hover,
    .portfolio-item:hover,
    .testimonial-card:hover {
        transform: translateY(-5px);
    }
    
    .testimonial-card:hover {
        transform: none;
    }
}

/* Intersection Observer Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
}

.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Link Hover Effects */
a {
    position: relative;
    transition: color 0.3s ease;
}

a:not(.btn-primary):not(.btn-secondary):not(.contact-now-btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:not(.btn-primary):not(.btn-secondary):not(.contact-now-btn):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Update image styles with yellow neon effect */
.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    animation: float 4s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 0 10px #FFD700,
            0 0 20px #FFD700,
            0 0 30px #FFD700;
    }
    50% {
        box-shadow: 
            0 0 15px #FFD700,
            0 0 30px #FFD700,
            0 0 45px #FFD700;
    }
}

/* Update logo image with yellow neon */
.logo img,
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FFD700;
    box-shadow: 
        0 0 5px #FFD700,
        0 0 10px #FFD700;
}

.logo img:hover,
.logo-img:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
}

/* Update testimonial images with yellow neon */
.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Update portfolio images with yellow neon on hover */
.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.portfolio-image:hover::after {
    opacity: 1;
}

/* Update buttons with yellow neon */
.btn-primary,
.btn-secondary,
.contact-now-btn,
.hire-me {
    background: #FFD700;
    color: #000;
    border: 2px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    transition: all 0.4s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.contact-now-btn:hover,
.hire-me:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

/* Update social links with yellow neon */
.social-link {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
    color: #FFD700;
    box-shadow: 
        0 0 5px #FFD700,
        0 0 10px #FFD700;
}

.social-link:hover {
    background: #FFD700;
    color: #000;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
}

/* Update decorative elements with yellow */
.decorative-shape {
    border: 2px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

.hero::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

/* Neon Hire Me Button */
.hire-me-btn, .hire-button {
    background: #FFD700;
    color: #000;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    border: 2px solid #FFD700;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hire-me-btn:hover, .hire-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
    color: #000;
}

/* Neon Skill Icons */
.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    transition: all 0.3s ease;
}

.skill-icon:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

.skill-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0);
}

/* Send Message Button Neon Effect */
.btn-send {
    background: #FFD700;
    color: #000;
    padding: 15px 30px;
    border: 2px solid #FFD700;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

.btn-send:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

/* Modern Navigation Bar */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, transparent 50%, #FFD700 50%);
    background-size: 200% 100%;
    background-position: left bottom;
}

.nav-menu ul li a:hover {
    background-position: right bottom;
    color: #000;
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.2);
}

.nav-menu ul li a.active {
    background: #FFD700;
    color: #000;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

.python-bg {
    background-color: #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

.python-bg:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

/* Navigation Menu Styles */
.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.nav-menu ul li a:hover::before {
    transform: translateX(100%);
}

.nav-menu ul li a:hover {
    color: #000;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.nav-menu ul li a.active {
    background: #FFD700;
    color: #000;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Navigation Icons */
.nav-menu ul li a[href="#home"]::after {
    content: '\f015';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

.nav-menu ul li a[href="#services"]::after {
    content: '\f7d9';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

.nav-menu ul li a[href="#skills"]::after {
    content: '\f5fc';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

.nav-menu ul li a[href="#portfolio"]::after {
    content: '\f87c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

.nav-menu ul li a[href="#contact"]::after {
    content: '\f4ad';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

/* Client Testimonial Images */
.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
    position: relative;
    transition: all 0.3s ease;
}

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

.testimonial-card:hover .client-image {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FFD700,
        0 0 45px #FFD700;
}

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

.client-image.yellow-bg,
.client-image.purple-bg {
    background: none;
}

/* Modern Navigation Icons */
.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.nav-menu ul li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to right, #FFD700, rgba(255, 215, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    opacity: 0;
    transform: translateY(-50%);
}

.nav-menu ul li a:hover::before {
    height: 100%;
    opacity: 1;
}

.nav-menu ul li a:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(255, 215, 0, 0.2),
        0 6px 6px rgba(255, 215, 0, 0.1);
}

.nav-menu ul li a.active {
    background: #FFD700;
    color: #000;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2);
}

/* Navigation Icons */
.nav-menu ul li a::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    margin-left: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-menu ul li a[href="#home"]::after {
    content: '\f015';
}

.nav-menu ul li a[href="#services"]::after {
    content: '\f7d9';
}

.nav-menu ul li a[href="#skills"]::after {
    content: '\f5fc';
}

.nav-menu ul li a[href="#portfolio"]::after {
    content: '\f87c';
}

.nav-menu ul li a[href="#contact"]::after {
    content: '\f4ad';
}

.nav-menu ul li a:hover::after {
    transform: scale(1.2);
    opacity: 1;
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
    .nav-menu ul li a {
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
        border-radius: 15px;
    }

    .nav-menu ul li a::after {
        font-size: 14px;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-menu.active {
        display: block;
        transform: translateX(0);
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-menu ul li {
        width: 100%;
        opacity: 0;
        transform: translateY(10px);
        animation: fadeInUp 0.3s forwards;
    }

    .nav-menu ul li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu ul li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu ul li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu ul li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu ul li:nth-child(5) { animation-delay: 0.3s; }

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

    .nav-menu ul li a {
        display: flex;
        align-items: center;
        padding: 15px;
        width: 100%;
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(255, 184, 0, 0.1);
        border-radius: 12px;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-menu ul li a:hover,
    .nav-menu ul li a.active {
        background: #FFB800;
        color: #000;
        transform: translateX(5px);
    }

    .nav-menu ul li a .nav-icon {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Mobile menu button styles */
    .mobile-menu {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .mobile-menu span {
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        position: relative;
        transition: all 0.3s ease;
    }

    .mobile-menu span::before,
    .mobile-menu span::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: #333;
        transition: all 0.3s ease;
    }

    .mobile-menu span::before {
        top: -8px;
    }

    .mobile-menu span::after {
        bottom: -8px;
    }

    .mobile-menu.active span {
        background: transparent;
    }

    .mobile-menu.active span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-menu.active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
}

/* Updated Loading Animation */
.loader {
    background: #000;
}

.loader::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.glow-text {
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
}

.loading-bar {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.loading-progress {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

.loading-status {
    color: #FFD700;
}

.percentage {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

.loader-particle {
    background: #FFD700;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700;
}

/* Mobile Specific Loading Animation */
@media (max-width: 768px) {
    .glow-text {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .loading-bar {
        width: 80%;
        height: 8px;
        margin: 20px auto;
    }

    .loading-status {
        font-size: 0.9rem;
        margin-top: 15px;
    }

    .loader-particle {
        width: 8px;
        height: 8px;
    }
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    .header {
        height: 70px;
        padding: 0 15px;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .contact-now-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 20px;
    }

    .social-links {
        gap: 20px;
    }

    .social-link {
        font-size: 20px;
        padding: 10px;
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid rgba(255, 215, 0, 0.2);
        box-shadow: 
            0 5px 15px rgba(255, 215, 0, 0.1),
            0 0 10px rgba(255, 215, 0, 0.05);
    }

    .social-link:hover {
        transform: translateY(-3px);
        background: #FFD700;
        color: #000;
        box-shadow: 
            0 8px 20px rgba(255, 215, 0, 0.2),
            0 0 15px rgba(255, 215, 0, 0.1);
    }
}

/* Updated Loading Animation Background */
.loader {
    background: #ffffff;
}

.loader::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
}

/* Navigation Icons */
.nav-menu ul li a[href="#home"]::after {
    content: '\f015';  /* Home icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    color: #FFD700;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-menu ul li a[href="#services"]::after {
    content: '\f085';  /* Services/cog icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    color: #FFD700;
    opacity: 0.8;
}

.nav-menu ul li a[href="#skills"]::after {
    content: '\f7d9';  /* Skills/tools icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    color: #FFD700;
    opacity: 0.8;
}

.nav-menu ul li a[href="#portfolio"]::after {
    content: '\f87c';  /* Portfolio/images icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    color: #FFD700;
    opacity: 0.8;
}

.nav-menu ul li a[href="#contact"]::after {
    content: '\f2b9';  /* Contact/envelope icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    color: #FFD700;
    opacity: 0.8;
}

.nav-menu ul li a:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Mobile Navigation Icons */
@media (max-width: 768px) {
    .nav-menu ul li a::after {
        margin-left: auto !important;
        font-size: 18px !important;
        opacity: 1 !important;
    }

    .nav-menu ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .nav-menu ul li a:hover::after {
        transform: scale(1.1);
        color: #000;
    }
}

/* Simplified Mobile Menu Button */
.mobile-menu {
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1000;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFD700;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Clean Animation for Menu Toggle */
.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hover Effect */
.mobile-menu:hover span {
    background: #FFD700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }
    
    .mobile-menu span {
        transition: all 0.25s ease-in-out;
    }
}

/* Simplified Navigation */
.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu ul li a::before {
    display: none; /* Remove extra decorative elements */
}

/* Simplified Navigation Icons */
.nav-menu ul li a[href="#home"]::after {
    content: '🏠';
    font-size: 14px;
}

.nav-menu ul li a[href="#services"]::after {
    content: '⚡';
    font-size: 14px;
}

.nav-menu ul li a[href="#skills"]::after {
    content: '💡';
    font-size: 14px;
}

.nav-menu ul li a[href="#portfolio"]::after {
    content: '🎨';
    font-size: 14px;
}

.nav-menu ul li a[href="#contact"]::after {
    content: '✉️';
    font-size: 14px;
}

.nav-menu ul li a:hover {
    color: #FFD700;
    transform: translateY(-2px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu ul li a {
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-menu ul li a::after {
        font-size: 16px;
    }
}

/* Music Control Styles */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.music-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #FFD700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.music-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.music-toggle.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Mobile Styles for Music Control */
@media (max-width: 768px) {
    .music-control {
        bottom: 15px;
        right: 15px;
    }

    .music-toggle {
        width: 35px;
        height: 35px;
    }
}

/* Mobile Navigation Fix */
@media (max-width: 768px) {
    /* Hide desktop navigation on mobile */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Show navigation when active */
    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu ul li {
        width: 100%;
    }

    /* Show only one mobile menu button */
    .mobile-menu {
        display: flex;
        width: 35px;
        height: 35px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        z-index: 1000;
    }

    .mobile-menu span {
        display: block;
        width: 24px;
        height: 2px;
        background: #FFD700;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Clean Animation for Menu Toggle */
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Header adjustments for mobile */
    .header .container {
        padding: 0 15px;
        height: 70px;
        justify-content: space-between;
    }

    /* Hide any duplicate buttons */
    .contact-now-btn {
        display: none;
    }
}

/* Ensure proper stacking context */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Default state for larger screens */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }

    .nav-menu {
        display: block;
    }
}

/* New Mobile Navigation Design */
@media (max-width: 768px) {
    /* Bottom Navigation Bar */
    .nav-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px 10px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu ul {
        display: flex;
        justify-content: space-around;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-menu ul li {
        text-align: center;
    }

    .nav-menu ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px;
        color: #666;
        text-decoration: none;
        font-size: 12px;
        transition: all 0.3s ease;
        position: relative;
    }

    /* New Icon Style */
    .nav-menu ul li a::after {
        font-size: 20px;
        margin-bottom: 5px;
        display: block;
        transition: all 0.3s ease;
    }

    /* Active State */
    .nav-menu ul li a.active {
        color: #FFD700;
    }

    .nav-menu ul li a.active::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 5px;
        height: 5px;
        background: #FFD700;
        border-radius: 50%;
        box-shadow: 0 0 10px #FFD700;
    }

    /* Hover Effects */
    .nav-menu ul li a:hover {
        color: #FFD700;
        transform: translateY(-2px);
    }

    /* Hide old mobile menu button */
    .mobile-menu {
        display: none;
    }

    /* Hide contact button */
    .contact-now-btn {
        display: none;
    }

    /* Adjust main content padding */
    main {
        padding-bottom: 80px;
    }

    /* Active Tab Indicator */
    .nav-menu ul li a::before {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%) scale(0);
        width: 5px;
        height: 5px;
        background: #FFD700;
        border-radius: 50%;
        transition: all 0.3s ease;
        opacity: 0;
    }

    .nav-menu ul li a:hover::before,
    .nav-menu ul li a.active::before {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    /* Icon Animations */
    .nav-menu ul li a:hover::after {
        transform: scale(1.2);
        color: #FFD700;
    }

    /* Adjust header for new navigation */
    .header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        height: 60px;
    }

    .header .container {
        padding: 0 15px;
        justify-content: center;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 15px;
        display: flex;
        align-items: center;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .logo span {
        display: none;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }
}

/* Mobile Navigation Icon Fix */
@media (max-width: 768px) {
    .nav-menu ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 5px;
        min-width: 60px;
    }

    .nav-icon {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .nav-text {
        font-size: 12px;
        color: #666;
    }

    /* Active state */
    .nav-menu ul li a.active .nav-icon,
    .nav-menu ul li a.active .nav-text {
        color: #FFD700;
    }

    /* Hover state */
    .nav-menu ul li a:hover .nav-icon,
    .nav-menu ul li a:hover .nav-text {
        color: #FFD700;
        transform: translateY(-2px);
    }

    /* Remove old icon styles */
    .nav-menu ul li a::after,
    .nav-menu ul li a::before {
        display: none;
    }

    /* Navigation Bar Container */
    .nav-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Add subtle animation */
    .nav-icon, .nav-text {
        transition: all 0.3s ease;
    }

    /* Active indicator */
    .nav-menu ul li a.active::after {
        content: '';
        position: absolute;
        top: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background: #FFD700;
        border-radius: 50%;
        box-shadow: 0 0 10px #FFD700;
    }
}

/* Mobile Navigation Icon Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 12px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-menu ul li {
        flex: 1;
        text-align: center;
    }

    .nav-menu ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 0;
        color: #666;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-icon {
        font-size: 20px;
        margin-bottom: 5px;
        color: #666;
        transition: all 0.3s ease;
    }

    .nav-text {
        font-size: 11px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    /* Active State */
    .nav-menu ul li a.active .nav-icon,
    .nav-menu ul li a.active .nav-text {
        color: #FFD700;
    }

    .nav-menu ul li a.active .nav-icon {
        transform: translateY(-2px);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    /* Hover Effects */
    .nav-menu ul li a:hover .nav-icon {
        color: #FFD700;
        transform: translateY(-2px);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    .nav-menu ul li a:hover .nav-text {
        color: #FFD700;
    }

    /* Active Indicator */
    .nav-menu ul li a.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background: #FFD700;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
}

/* Remove music control styles */
.music-control {
    display: none;
}

.music-toggle {
    display: none;
}

.music-toggle.playing {
    display: none;
}

/* Mobile Menu Button */
.mobile-menu {
    width: 40px;
    height: 40px;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.mobile-menu .menu-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-menu .menu-icon::before,
.mobile-menu .menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-menu .menu-icon::before {
    top: -8px;
    left: 0;
}

.mobile-menu .menu-icon::after {
    bottom: -8px;
    left: 0;
}

/* Active Menu Button State */
.mobile-menu.active .menu-icon {
    background-color: transparent;
}

.mobile-menu.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
    background-color: #FFB800;
}

.mobile-menu.active .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
    background-color: #FFB800;
}

/* Hover Effects */
.mobile-menu:hover .menu-icon,
.mobile-menu:hover .menu-icon::before,
.mobile-menu:hover .menu-icon::after {
    background-color: #FFB800;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: block;
        animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        width: 100%;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.03);
        transition: all 0.3s ease;
    }

    .nav-menu ul li a:hover,
    .nav-menu ul li a.active {
        background: #FFB800;
        color: #000;
    }

    .nav-menu ul li a .nav-icon {
        margin-right: 12px;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Cool Mobile Menu Button */
.mobile-menu {
    width: 50px;
    height: 50px;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 184, 0, 0.1);
    border: 2px solid rgba(255, 184, 0, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.1);
}

.mobile-menu:hover {
    background: rgba(255, 184, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.2);
}

.mobile-menu .menu-icon {
    position: relative;
    width: 26px;
    height: 2px;
    background-color: #FFB800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

.mobile-menu .menu-icon::before,
.mobile-menu .menu-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #FFB800;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

.mobile-menu .menu-icon::before {
    top: -8px;
    right: 0;
    transform-origin: right;
}

.mobile-menu .menu-icon::after {
    bottom: -8px;
    left: 0;
    transform-origin: left;
}

/* Cool Hover Effects */
.mobile-menu:hover .menu-icon::before {
    width: 26px;
    transform: translateX(0);
}

.mobile-menu:hover .menu-icon::after {
    width: 26px;
    transform: translateX(0);
}

/* Active Menu Button State */
.mobile-menu.active {
    background: rgba(255, 184, 0, 0.2);
    border-color: rgba(255, 184, 0, 0.3);
}

.mobile-menu.active .menu-icon {
    background-color: transparent;
    transform: translateX(0);
}

.mobile-menu.active .menu-icon::before {
    top: 0;
    width: 26px;
    transform: rotate(45deg);
    background-color: #FFB800;
}

.mobile-menu.active .menu-icon::after {
    bottom: 0;
    width: 26px;
    transform: rotate(-45deg);
    background-color: #FFB800;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: block;
        animation: menuSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes menuSlideIn {
        0% {
            opacity: 0;
            transform: translateX(-20px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0;
    }

    .nav-menu ul li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        animation: menuItemsFadeIn 0.5s forwards;
    }

    .nav-menu.active ul li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active ul li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active ul li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active ul li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active ul li:nth-child(5) { animation-delay: 0.5s; }

    @keyframes menuItemsFadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu ul li a {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        width: 100%;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 184, 0, 0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-menu ul li a:hover {
        background: rgba(255, 184, 0, 0.1);
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(255, 184, 0, 0.2);
    }

    .nav-menu ul li a.active {
        background: #FFB800;
        color: #000;
        box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
    }

    .nav-menu ul li a .nav-icon {
        margin-right: 15px;
        font-size: 1.2em;
        color: #FFB800;
        transition: all 0.3s ease;
    }

    .nav-menu ul li a:hover .nav-icon,
    .nav-menu ul li a.active .nav-icon {
        transform: scale(1.1);
        color: #000;
    }

    body.menu-open {
        overflow: hidden;
    }
}

.skill-icon i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon i {
    transform: scale(1.1);
}

.skill-icon.python-bg {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.skill-icon.python-bg:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3),
        0 0 60px rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.skill-icon.python-bg i {
    color: #000;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: pythonGlow 2s ease-in-out infinite;
}

@keyframes pythonGlow {
    0%, 100% {
        filter: brightness(1);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    }
    50% {
        filter: brightness(1.2);
        text-shadow: 
            0 0 15px rgba(255, 215, 0, 0.9),
            0 0 25px rgba(255, 215, 0, 0.6);
    }
}

@media (max-width: 768px) {
    .skills {
        padding: 40px 0;
    }

    .skills-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-description {
        margin-bottom: 20px;
    }

    .skills-subtitle {
        margin-bottom: 20px;
    }

    .skills-grid {
        gap: 15px;
    }

    .experience-list {
        margin-top: 20px;
    }
}

/* Skill Icons Unified Styling */
.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.skill-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.3),
        0 0 45px rgba(255, 215, 0, 0.2);
}

.skill-icon i {
    font-size: 24px;
    color: #000;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon i {
    transform: scale(1.1);
}

/* Unified backgrounds for all technology icons */
.html-bg,
.css-bg,
.react-bg,
.python-bg,
.ios-bg,
.android-bg {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.2);
}

.html-bg:hover,
.css-bg:hover,
.react-bg:hover,
.python-bg:hover,
.ios-bg:hover,
.android-bg:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.3),
        0 0 45px rgba(255, 215, 0, 0.2);
}

/* Icon glow animation */
@keyframes iconGlow {
    0%, 100% {
        filter: brightness(1);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    }
    50% {
        filter: brightness(1.2);
        text-shadow: 
            0 0 15px rgba(255, 215, 0, 0.9),
            0 0 25px rgba(255, 215, 0, 0.6);
    }
}

.skill-icon i {
    animation: iconGlow 2s ease-in-out infinite;
}

/* Skill item container */
.skill-item {
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.skill-item:hover {
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Header and Navigation */
    .header {
        height: 60px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }

    .header .container {
        height: 60px;
        padding: 0 15px;
    }

    /* Smaller Nav Button */
    .mobile-menu {
        width: 35px;
        height: 35px;
        margin-right: 5px;
    }

    .mobile-menu span {
        width: 20px;
        height: 2px;
    }

    .mobile-menu span::before,
    .mobile-menu span::after {
        width: 20px;
        height: 2px;
    }

    /* Profile Section Adjustments */
    .hero {
        padding-top: 30px;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
        margin: -20px auto 20px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    /* Compact Navigation Menu */
    .nav-menu {
        top: 60px;
        padding: 15px;
    }

    .nav-menu ul li a {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* Adjust main content spacing */
    main {
        padding-top: 60px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .profile-image-container {
        width: 130px;
        height: 130px;
        margin: -30px auto 15px;
    }

    .profile-image {
        width: 130px;
        height: 130px;
    }
}

/* Enhanced Animations and Effects */

/* Shiny Border Effect */
@keyframes borderGlow {
    0%, 100% { border-color: #FFD700; }
    50% { border-color: #FFA500; }
}

/* Rotating Background Effect */
@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Elements Animation */
@keyframes floatAnimation {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -10px) rotate(2deg); }
    50% { transform: translate(10px, 0) rotate(0deg); }
    75% { transform: translate(5px, 10px) rotate(-2deg); }
}

/* Skill Icon Shine Effect */
@keyframes iconShine {
    0% { background-position: -100% 50%; }
    100% { background-position: 200% 50%; }
}

/* Enhanced Profile Image */
.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.2),
        0 0 60px rgba(255, 215, 0, 0.1);
    animation: 
        floatAnimation 6s ease-in-out infinite,
        borderGlow 3s ease-in-out infinite;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        rgba(255, 215, 0, 0.3),
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: iconShine 3s ease-in-out infinite;
}

/* Enhanced Skill Icons */
.skill-icon {
    background: linear-gradient(
        135deg,
        #FFD700,
        #FFA500,
        #FFD700,
        #FFA500
    );
    background-size: 300% 300%;
    animation: gradientRotate 3s ease-in-out infinite;
    border-radius: 12px;
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.3),
        0 0 50px rgba(255, 215, 0, 0.2);
}

.skill-icon::after {
    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);
    animation: iconShine 2s ease-in-out infinite;
}

/* Enhanced Navigation Menu Items */
.nav-menu ul li a {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-menu ul li a:hover::before {
    transform: translateX(100%);
}

/* Enhanced Mobile Menu Button */
.mobile-menu {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: iconShine 2s ease-in-out infinite;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .profile-image {
        transform: scale(0.95);
        margin-top: -40px;
    }

    .nav-menu ul li a {
        margin: 5px 0;
        padding: 12px 20px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.5);
        transform-origin: left;
        transition: all 0.3s ease;
    }

    .nav-menu ul li a:hover {
        transform: translateX(5px) scale(1.02);
        background: rgba(255, 215, 0, 0.1);
    }

    .nav-menu.active ul li {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideIn 0.3s ease forwards;
    }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-menu.active ul li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active ul li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active ul li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active ul li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active ul li:nth-child(5) { animation-delay: 0.5s; }
}

/* Reduce Motion if Preferred */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}