* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo span {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #334155;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.about-text h3, .about-text p {
    transition: none;
    transform: none;
}

.about-text h3 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-img {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img i {
    font-size: 3rem;
    color: white;
}

.profile-card h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.profile-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Skills Section */
.skills {
    background: #f8fafc;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skills-category h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 2rem;
    font-weight: 600;
}

.skill-bar {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info span:first-child {
    color: #374151;
    font-weight: 500;
}

.skill-info span:last-child {
    color: #2563eb;
    font-weight: 600;
}

.skill-progress {
    background: #e5e7eb;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 10px;
    transition: width 2s ease-in-out;
}

.progress-88 {
    width: 88%;
}

.progress-82 {
    width: 82%;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 300px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-placeholder {
    text-align: center;
    color: white;
}

.portfolio-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Testimonials Section */
.testimonials {
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.contact-item i {
    color: #2563eb;
    width: 20px;
}

.response-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-info p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.footer h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #2563eb;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Back to top button styles */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    opacity: 0;
    transform: translateY(100px);
}

.back-to-top a:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top.visible a {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays for Tailwind */
.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

.animate-delay-700 {
    animation-delay: 0.7s;
}

.animate-delay-900 {
    animation-delay: 0.9s;
}

.animate-delay-1000 {
    animation-delay: 1s;
}

.animate-delay-1200 {
    animation-delay: 1.2s;
}

/* Additional Animation Delay Classes */
.animate-delay-1600 {
    animation-delay: 1.6s;
}

.animate-delay-1700 {
    animation-delay: 1.7s;
}

.animate-delay-1800 {
    animation-delay: 1.8s;
}

.animate-delay-1900 {
    animation-delay: 1.9s;
}

.animate-delay-2000 {
    animation-delay: 2s;
}

/* Enhanced Gradient Background Animations */
.gradient-bg-animated {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
    font-size: 4em;
    letter-spacing: 0.5em;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
        transform: skew(0.85deg);
    }
    5% {
        clip: rect(16px, 9999px, 4px, 0);
        transform: skew(0.91deg);
    }
    10% {
        clip: rect(40px, 9999px, 66px, 0);
        transform: skew(0.6deg);
    }
    15% {
        clip: rect(87px, 9999px, 82px, 0);
        transform: skew(0.94deg);
    }
    20% {
        clip: rect(6px, 9999px, 59px, 0);
        transform: skew(0.55deg);
    }
    25% {
        clip: rect(59px, 9999px, 14px, 0);
        transform: skew(0.32deg);
    }
    30% {
        clip: rect(29px, 9999px, 92px, 0);
        transform: skew(0.78deg);
    }
    35% {
        clip: rect(98px, 9999px, 96px, 0);
        transform: skew(0.17deg);
    }
    40% {
        clip: rect(87px, 9999px, 87px, 0);
        transform: skew(0.99deg);
    }
    45% {
        clip: rect(69px, 9999px, 75px, 0);
        transform: skew(0.05deg);
    }
    50% {
        clip: rect(54px, 9999px, 62px, 0);
        transform: skew(0.37deg);
    }
    55% {
        clip: rect(6px, 9999px, 5px, 0);
        transform: skew(0.91deg);
    }
    60% {
        clip: rect(70px, 9999px, 99px, 0);
        transform: skew(0.85deg);
    }
    65% {
        clip: rect(14px, 9999px, 41px, 0);
        transform: skew(0.56deg);
    }
    70% {
        clip: rect(43px, 9999px, 54px, 0);
        transform: skew(0.98deg);
    }
    75% {
        clip: rect(2px, 9999px, 58px, 0);
        transform: skew(0.24deg);
    }
    80% {
        clip: rect(34px, 9999px, 32px, 0);
        transform: skew(0.61deg);
    }
    85% {
        clip: rect(29px, 9999px, 94px, 0);
        transform: skew(0.4deg);
    }
    90% {
        clip: rect(23px, 9999px, 85px, 0);
        transform: skew(0.15deg);
    }
    95% {
        clip: rect(41px, 9999px, 67px, 0);
        transform: skew(0.69deg);
    }
    100% {
        clip: rect(85px, 9999px, 93px, 0);
        transform: skew(0.53deg);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(0.02deg);
    }
    5% {
        clip: rect(52px, 9999px, 74px, 0);
        transform: skew(0.05deg);
    }
    10% {
        clip: rect(79px, 9999px, 85px, 0);
        transform: skew(0.37deg);
    }
    15% {
        clip: rect(31px, 9999px, 46px, 0);
        transform: skew(0.94deg);
    }
    20% {
        clip: rect(26px, 9999px, 34px, 0);
        transform: skew(0.43deg);
    }
    25% {
        clip: rect(98px, 9999px, 81px, 0);
        transform: skew(0.35deg);
    }
    30% {
        clip: rect(90px, 9999px, 90px, 0);
        transform: skew(0.58deg);
    }
    35% {
        clip: rect(24px, 9999px, 42px, 0);
        transform: skew(0.74deg);
    }
    40% {
        clip: rect(61px, 9999px, 64px, 0);
        transform: skew(0.61deg);
    }
    45% {
        clip: rect(46px, 9999px, 23px, 0);
        transform: skew(0.24deg);
    }
    50% {
        clip: rect(75px, 9999px, 49px, 0);
        transform: skew(0.65deg);
    }
    55% {
        clip: rect(43px, 9999px, 95px, 0);
        transform: skew(0.84deg);
    }
    60% {
        clip: rect(71px, 9999px, 99px, 0);
        transform: skew(0.84deg);
    }
    65% {
        clip: rect(14px, 9999px, 78px, 0);
        transform: skew(0.45deg);
    }
    70% {
        clip: rect(96px, 9999px, 56px, 0);
        transform: skew(0.83deg);
    }
    75% {
        clip: rect(59px, 9999px, 73px, 0);
        transform: skew(0.52deg);
    }
    80% {
        clip: rect(97px, 9999px, 99px, 0);
        transform: skew(0.4deg);
    }
    85% {
        clip: rect(41px, 9999px, 48px, 0);
        transform: skew(0.32deg);
    }
    90% {
        clip: rect(78px, 9999px, 33px, 0);
        transform: skew(0.62deg);
    }
    95% {
        clip: rect(17px, 9999px, 71px, 0);
        transform: skew(0.96deg);
    }
    100% {
        clip: rect(84px, 9999px, 3px, 0);
        transform: skew(0.96deg);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(5deg);
    }
    10% {
        transform: skew(-5deg);
    }
    20% {
        transform: skew(0deg);
    }
    30% {
        transform: skew(1deg);
    }
    40% {
        transform: skew(-1deg);
    }
    50% {
        transform: skew(-3deg);
    }
    60% {
        transform: skew(2deg);
    }
    70% {
        transform: skew(0deg);
    }
    80% {
        transform: skew(-1deg);
    }
    90% {
        transform: skew(2deg);
    }
    100% {
        transform: skew(1deg);
    }
}

/* Cyberpunk Grid Background */
.cyber-grid {
    background-image: 
        linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg, #ff0090, #00ff88, #0099ff, #ff8800, #ff0090);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hologram 3s ease-in-out infinite;
}

@keyframes hologram {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.matrix-char {
    position: absolute;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    animation: matrix-drop 2s linear infinite;
}

@keyframes matrix-drop {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Data Stream Effect */
.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::before {
    content: '01010011 01110101 01100011 01100011 01100101 01110011 01110011';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,0,0.1), transparent);
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    animation: data-flow 10s linear infinite;
    z-index: -1;
}

@keyframes data-flow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Scan Lines Effect */
.scan-lines {
    position: relative;
    overflow: hidden;
}

.scan-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 255, 0, 0.03) 50%,
        rgba(0, 255, 0, 0.05) 51%,
        transparent 52%
    );
    background-size: 100% 4px;
    animation: scan 0.1s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Neumorphism Elements */
.neumorphic {
    background: #e0e5ec;
    border-radius: 20px;
    box-shadow: 
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: 
        inset 20px 20px 60px #bebebe,
        inset -20px -20px 60px #ffffff;
}

/* Aurora Background */
.aurora {
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    background-size: 400% 400%;
    animation: aurora 15s ease infinite;
}

@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: text-reveal 2s ease-in-out;
}

@keyframes text-reveal {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Perspective Card Flip */
.flip-card {
    perspective: 1000px;
    width: 100%;
    height: 300px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Tilt Effect */
.tilt-effect {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-effect:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(10deg) scale3d(1.05, 1.05, 1.05);
}

/* Popup Animation Styles */
.popup-text,
.popup-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-text.animate,
.popup-element.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Progress Bar Animations */
.progress-95 { width: 95%; }
.progress-90 { width: 90%; }
.progress-88 { width: 88%; }
.progress-85 { width: 85%; }
.progress-82 { width: 82%; }
.progress-80 { width: 80%; }
.progress-75 { width: 75%; }

/* Enhanced hover effects for portfolio */
.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Comprehensive Mobile Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Reset popup animations for mobile */
    .popup-text,
    .popup-element {
        transform: translateY(20px);
    }
    
    /* Container and spacing */
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
        cursor: pointer;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Typography */
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 40px;
        min-height: unset;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
        max-width: 100%;
    }
    
    .stat {
        padding: 0.5rem;
        min-width: auto;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin-top: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-card {
        max-width: 280px;
        margin: 1rem auto 0;
        padding: 1.5rem 1rem;
    }
    
    .hero-card i {
        font-size: 3rem;
    }
    
    .hero-card h3 {
        font-size: 1.2rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-highlights {
        justify-content: center;
        text-align: left;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    /* Skills Section */
    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skill-tags {
        gap: 0.5rem;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Portfolio Section */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .portfolio-tech {
        gap: 0.3rem;
    }
    
    .portfolio-tech span {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Testimonials Section */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item span {
        word-break: break-word;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact p {
        word-break: break-word;
    }
    
    /* Back to top button */
    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
    
    .back-to-top a {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-stats {
        gap: 0.8rem;
        margin: 1.2rem 0;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .stat p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .hero-buttons {
        gap: 0.6rem;
        margin-top: 1.2rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        max-width: 220px;
    }

    .hero-card {
        max-width: 240px;
        padding: 1.2rem 0.8rem;
        margin: 1rem auto 0;
    }
    
    .hero-card i {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .portfolio-item {
        height: 200px;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
}

/* Touch and Mobile Interaction Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Mobile touch devices */
    .service-card:hover,
    .portfolio-item:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Add touch feedback */
    .btn:active {
        transform: scale(0.98);
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    .portfolio-item:active {
        transform: scale(0.98);
    }
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Improved Form Focus States for Mobile */
@media (max-width: 768px) {
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    }
}

/* Button Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .popup-text,
    .popup-element {
        transition: opacity 0.3s ease;
        transform: none;
    }
    
    .popup-text.animate,
    .popup-element.animate {
        opacity: 1;
        transform: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Very Small Screens (iPhone sized devices) */
@media (max-width: 425px) {
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero-content {
        padding: 0 10px;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.1;
        margin-bottom: 0.6rem;
    }
    
    .hero p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin: 1rem 0;
        max-width: 100%;
    }
    
    .stat {
        padding: 0.3rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
    
    .stat p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .hero-buttons {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        max-width: 200px;
    }
    
    .hero-card {
        max-width: 200px;
        padding: 1rem 0.6rem;
        margin: 0.8rem auto 0;
    }
    
    .hero-card i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-card p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
}