/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Remove list styles from all lists */
ul, ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

:root {
    --primary: #ff6b6b;
    --secondary: #4ecdc4;
    --accent: #ffd166;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #f8f9fa;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    
    /* Cursive Font Options */
    --cursive-main: 'Dancing Script', cursive;
    --cursive-elegant: 'Great Vibes', cursive;
    --cursive-script: 'Allura', cursive;
    --cursive-brush: 'Alex Brush', cursive;
    --cursive-hand: 'Kalam', cursive;
    
    /* Caricature/Cartoon Font Options */
    --caricature-main: 'Fredoka One', cursive;
    --caricature-bubble: 'Comfortaa', cursive;
    --caricature-bold: 'Righteous', cursive;
    --caricature-playful: 'Lobster', cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background: linear-gradient(135deg, var(--darker), var(--dark));
    min-height: 100vh;
    overflow-x: hidden;
}

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

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}


/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu .nav-link,
.nav-menu .download-btn {
    height: 40px;
    line-height: 1;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link::after {
    display: none;
}

.download-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    white-space: nowrap;
    gap: 0.5rem;
}

.download-btn:hover {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.download-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Removed 3D Cube Styles - Replaced with scroll-based skills animation */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 10;
    min-height: 80vh;
    padding-top: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    position: relative;
}

.hero-greeting {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    color: transparent;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-cursive {
    font-family: var(--caricature-main);
    text-transform: lowercase;
    font-weight: 400;
    color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--light);
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--light);
    line-height: 1.7;
    opacity: 0.8;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-social a:hover {
    background: #fbbf24;
    color: #1f2937;
    transform: translateY(-3px);
}

.hero-social a:hover .fab.fa-whatsapp {
    color: #25D366;
}

.hero-social a .fab.fa-whatsapp {
    color: #25D366;
}

.profile-card {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.5s ease;
}

.profile-card:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 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.05);
}

/* LinkedIn image specific optimizations */
.profile-image img[src*="licdn.com"] {
    background: #f8f9fa;
    border-radius: 50%;
}

/* Fallback image styling */
.profile-image img[src*="profile-placeholder"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.profile-info h3 {
    font-family: var(--caricature-main);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.profile-info p {
    color: #d1d5db;
    margin-bottom: 0.25rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

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

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

/* About Section */
.about {
    background: rgba(22, 33, 62, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.about-text:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    line-height: 1.7;
    opacity: 0.9;
    text-align: justify;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--light);
    font-weight: 500;
    opacity: 0.8;
}

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

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.image-placeholder:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #2563eb, #7c3aed);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    min-width: 50%;
    max-width: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #2563eb;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #e5e7eb;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -11px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -11px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.5s ease;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content ul {
    text-align: right;
    direction: rtl;
}

.timeline-item:nth-child(odd) .timeline-content ul li {
    direction: ltr;
    text-align: left;
}

.timeline-content:hover {
    transform: perspective(1000px) rotateX(0deg);
}

/* WhatsApp Phone Link Styles */
.whatsapp-phone-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px dotted currentColor;
    padding: 0 2px;
}


.whatsapp-phone-link:hover {
    color: #25D366 !important;
    text-decoration: none;
    border-bottom: 1px solid #25D366;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 3px;
}

.whatsapp-phone-link:active {
    transform: scale(0.98);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-date,
.timeline-location {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--light);
    margin-right: 1rem;
    opacity: 0.8;
}

.timeline-content ul {
    margin-top: 1rem;
    padding-left: 0;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: var(--light);
    line-height: 1.6;
    opacity: 0.9;
}

/* Projects Section */
.projects {
    background: rgba(22, 33, 62, 0.3);
}

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

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: var(--primary);
    color: var(--darker);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--darker);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

/* Project Card Filtering */
.project-card.hidden {
    display: none !important;
}

.project-card.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

.project-card.fade-out {
    animation: fadeOutDown 0.3s ease forwards;
}

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

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

.project-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.project-header h3 {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-year {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary);
    opacity: 0.8;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.project-type {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.project-type.fullstack {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.project-type.backend {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
}

.project-type.frontend {
    background: linear-gradient(45deg, #4ecdc4, #6ee5dd);
    color: white;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-description p {
    color: var(--light);
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

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

.tech-tag {
    background: rgba(255, 107, 107, 0.2);
    color: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Skills Section */
.skills {
    background: rgba(22, 33, 62, 0.3);
    padding: 100px 0;
}

/* Scroll-based Skills Animation */
.skills-scroll-container {
    width: 100%;
    margin: 4rem 0;
    overflow: hidden;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
}

/* Fade-in Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Parallax Effect */
.parallax {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Staggered Animation Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Floating Animation for Skill Items */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Continuous Pulse Animation for Skill Tags */
.skill-tag {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Staggered Animation for Skill Tags */
.skill-tag:nth-child(1) { animation-delay: 0s; }
.skill-tag:nth-child(2) { animation-delay: 0.2s; }
.skill-tag:nth-child(3) { animation-delay: 0.4s; }
.skill-tag:nth-child(4) { animation-delay: 0.6s; }
.skill-tag:nth-child(5) { animation-delay: 0.8s; }
.skill-tag:nth-child(6) { animation-delay: 1s; }
.skill-tag:nth-child(7) { animation-delay: 1.2s; }
.skill-tag:nth-child(8) { animation-delay: 1.4s; }
.skill-tag:nth-child(9) { animation-delay: 1.6s; }
.skill-tag:nth-child(10) { animation-delay: 1.8s; }
.skill-tag:nth-child(11) { animation-delay: 2s; }
.skill-tag:nth-child(12) { animation-delay: 2.2s; }

/* Enhanced Hover Effects */
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn:hover::before {
    left: 100%;
}

/* Social Icons Hover Effect */
.hero-social a {
    transition: all 0.3s ease;
}

.hero-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Project Highlights */
.project-highlights {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.highlight-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .float-animation,
    .skill-tag,
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .scale-in {
        animation: none !important;
        transition: none !important;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
}


.skills-track {
    display: flex;
    gap: 2rem;
    will-change: transform;
}

.skill-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.skill-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--accent);
}

.skill-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--light);
    text-align: center;
    line-height: 1.2;
}

@keyframes scroll-skills {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.skills-scroll-container:hover .skills-track {
    animation-play-state: paused;
}

/* Duplicate skills for seamless loop */
.skills-track::after {
    content: '';
    display: flex;
    gap: 2rem;
}

/* Add duplicate skills for seamless scrolling */
.skills-track {
    animation: scroll-skills 30s linear infinite;
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: perspective(500px) rotateX(5deg);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: perspective(500px) rotateX(0deg) translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: rgba(255, 107, 107, 0.2);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.skill-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Job Search Section */
.job-search {
    background: rgba(22, 33, 62, 0.3);
}

.job-search-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.job-availability,
.recruiter-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.5s ease;
}

.job-availability:hover,
.recruiter-info:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.job-availability h3,
.recruiter-info h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.job-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.job-role {
    background: rgba(255, 107, 107, 0.2);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.job-role:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.job-details p {
    color: var(--light);
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.6;
}

.recruiter-info p {
    color: var(--light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.recruiter-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--light);
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--primary);
    width: 24px;
}

.contact-item .fab.fa-whatsapp {
    color: #25D366;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--light);
    margin: 0;
    opacity: 0.8;
}

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

.contact-item p a:hover {
    color: var(--accent);
    text-decoration: underline;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.social-links a:hover {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    transform: translateY(-5px) rotate(10deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.5s ease;
}

.contact-form:hover {
    transform: perspective(1000px) rotateX(0deg);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    backdrop-filter: blur(10px);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 60px;
    transform: perspective(800px) rotateX(-5deg);
    transform-origin: bottom;
    border-top: 4px solid var(--accent);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: var(--light);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 20px;
    }
    
    .nav-container-fluid {
        padding: 0 20px;
    }
    
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        margin: 1rem 0;
        font-size: 1.1rem;
        color: var(--light) !important;
        padding: 12px 20px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding-top: 1rem;
    }
    
    .hero-text {
        min-height: auto;
        padding-top: 1rem;
    }
    
    .hero-image {
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-greeting,
    .hero-cursive {
        font-size: inherit;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline {
        padding: 0 1rem;
        align-items: flex-start;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 1rem !important;
        align-self: flex-start !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 1rem !important;
        align-self: flex-start !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content ul {
        text-align: left !important;
        direction: ltr !important;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .timeline-item:nth-child(even) .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .job-search-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        transform: none;
    }
    
    .project-card:hover {
        transform: translateY(-5px);
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .project-header h3 {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .project-type {
        align-self: flex-start;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-scroll-container {
        height: 150px;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Contact form responsive fixes */
    .contact-form {
        padding: 1.5rem !important;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 0.95rem !important;
    }
    
    .form-group textarea {
        min-height: 120px !important;
        resize: vertical;
    }
    
    /* Project cards responsive */
    .project-card {
        padding: 1.5rem !important;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .project-tech {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Image responsive */
    .profile-image img,
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent text overflow */
    .hero-title,
    .hero-subtitle,
    .section-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Job search section */
    .job-availability,
    .recruiter-info {
        padding: 1.5rem !important;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .container-fluid {
        padding: 0 15px;
    }
    
    .nav-container-fluid {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-greeting,
    .hero-cursive {
        font-size: inherit;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }
    
    /* Timeline for very small screens */
    .timeline {
        padding: 0 0.5rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .timeline-content {
        padding: 1.25rem !important;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content h4 {
        font-size: 0.95rem;
    }
    
    .timeline-content ul {
        padding-left: 0;
    }
    
    .timeline-content li {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Project cards for very small screens */
    .project-card {
        padding: 1.25rem !important;
    }
    
    .project-card h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .project-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* About section */
    .about-text {
        padding: 1.25rem !important;
        margin: 0 10px !important;
    }
    
    .about-text p {
        font-size: 0.95rem !important;
        line-height: 1.7;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 0 10px;
    }
    
    .about-stats .stat {
        width: 100%;
        max-width: 100%;
        padding: 1rem !important;
    }
    
    /* Skills */
    .skill-category {
        padding: 1.25rem !important;
    }
    
    .skill-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.25rem !important;
        margin: 0 10px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
    }
    
    /* Job search */
    .job-availability,
    .recruiter-info {
        padding: 1.25rem !important;
        margin: 0 10px;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
        font-size: 0.875rem;
    }
    
    /* Navigation */
    .nav-menu {
        padding: 1.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* AI Chatbot Styles - Mobile Responsive */
.ai-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: calc(100vw - 40px);
  max-width: 400px;
  height: calc(100vh - 100px);
  max-height: 600px;
  min-height: 400px;
  background: white;
  border-radius: 15px;
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.ai-chatbot-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.ai-chatbot-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.ai-chatbot-header small {
  font-size: 12px;
  opacity: 0.9;
}

.ai-chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f8f9fa;
  min-height: 200px;
}

.ai-message {
  background: #e3f2fd;
  color: #333;
  padding: 12px 16px;
  border-radius: 15px;
  margin-bottom: 10px;
  max-width: 85%;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.4;
}

.user-message {
  background: #667eea;
  color: white;
  margin-left: auto;
  text-align: right;
  padding: 12px 16px;
  border-radius: 15px;
  margin-bottom: 10px;
  max-width: 85%;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.4;
}

.ai-chatbot-input {
  padding: 15px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
  background: white;
}

.ai-chatbot-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  background: #f8f9fa;
}

.ai-chatbot-input input:focus {
  border-color: #667eea;
  background: white;
}

.ai-chatbot-input button {
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.ai-chatbot-input button:hover {
  background: #5a6fd8;
}

.ai-chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: transform 0.3s ease;
}

.ai-chatbot-toggle:hover {
  transform: scale(1.1);
}

.ai-chatbot-toggle.active {
  background: #ff4757;
}


/* Additional utility classes for inline styles */
.ai-chatbot-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.ai-chatbot-send-btn {
  background: #667eea;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
}

.ai-profile-hidden {
  display: none;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
  .ai-chatbot {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 10px;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    border-radius: 10px;
  }
  
  .ai-chatbot-header {
    padding: 12px;
    min-height: 50px;
  }
  
  .ai-chatbot-header h4 {
    font-size: 14px;
  }
  
  .ai-chatbot-header small {
    font-size: 11px;
  }
  
  .ai-chatbot-messages {
    padding: 12px;
    min-height: 150px;
  }
  
  .ai-message,
  .user-message {
    padding: 10px 14px;
    font-size: 13px;
    max-width: 90%;
  }
  
  .ai-chatbot-input {
    padding: 12px;
  }
  
  .ai-chatbot-input input {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .ai-chatbot-input button {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .ai-chatbot-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
  
}

@media (max-width: 480px) {
  .ai-chatbot {
    width: calc(100vw - 10px);
    right: 5px;
    bottom: 5px;
    height: calc(100vh - 60px);
    border-radius: 8px;
  }
  
  .ai-chatbot-header {
    padding: 10px;
    min-height: 45px;
  }
  
  .ai-chatbot-header h4 {
    font-size: 13px;
  }
  
  .ai-chatbot-header small {
    font-size: 10px;
  }
  
  .ai-chatbot-messages {
    padding: 10px;
    min-height: 120px;
  }
  
  .ai-message,
  .user-message {
    padding: 8px 12px;
    font-size: 12px;
    max-width: 95%;
  }
  
  .ai-chatbot-input {
    padding: 10px;
  }
  
  .ai-chatbot-input input {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .ai-chatbot-input button {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .ai-chatbot-toggle {
    width: 45px;
    height: 45px;
    font-size: 18px;
    bottom: 10px;
    right: 10px;
  }
  
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .ai-chatbot {
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
  }
  
  .ai-chatbot-messages {
    min-height: 100px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .ai-chatbot-toggle {
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  }
  
  .ai-chatbot {
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  }
}

/* About Section - Following Standard Design Pattern */
.about {
  background: rgba(22, 33, 62, 0.3) !important;
  color: var(--light) !important;
  padding: 100px 0 !important;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.about-hero {
  position: relative;
  z-index: 2;
}

.about .section-title {
  color: var(--light) !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
}

.about-content {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
  align-items: center !important;
}

.about-text {
  text-align: center !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 40px !important;
  border-radius: 20px !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transform: perspective(1000px) rotateY(-5deg) !important;
  transition: transform 0.5s ease !important;
  margin-top: 2rem !important;
}

.about-text:hover {
  transform: perspective(1000px) rotateY(0deg) !important;
}

.about-text p {
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.5rem !important;
  color: var(--light) !important;
  text-align: center !important;
  opacity: 0.9 !important;
}

.about-text strong {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.about-stats {
  display: flex !important;
  justify-content: center !important;
  gap: 3rem !important;
  margin-top: 2rem !important;
  flex-wrap: wrap !important;
}

.about-stats .stat {
  text-align: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 2rem 1.5rem !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  min-width: 150px !important;
}

.about-stats .stat:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.about-stats .stat h3 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin-bottom: 0.5rem !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.about-stats .stat p {
  font-size: 1rem !important;
  color: var(--light) !important;
  margin: 0 !important;
  font-weight: 500 !important;
  opacity: 0.9 !important;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  .about {
    padding: 60px 0 !important;
  }
  
  .about .section-title {
    font-size: 2.5rem !important;
  }
  
  .about-text {
    padding: 30px !important;
    transform: none !important;
  }
  
  .about-text:hover {
    transform: none !important;
  }
  
  .about-text p {
    font-size: 1.1rem !important;
  }
  
  .about-stats {
    gap: 1.5rem !important;
  }
  
  .about-stats .stat {
    padding: 1.5rem 1rem !important;
    min-width: 120px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2rem !important;
  }
}

@media (max-width: 480px) {
  .about .section-title {
    font-size: 2rem !important;
  }
  
  .about-text {
    padding: 20px !important;
  }
  
  .about-text p {
    font-size: 1rem !important;
  }
  
  .about-stats {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  
  .about-stats .stat {
    width: 100% !important;
    max-width: 200px !important;
  }
}

/* ===== COMPREHENSIVE RESPONSIVE FIXES ===== */

/* Extra Small Mobile Devices (320px - 374px) */
@media (max-width: 374px) {
  .container,
  .container-fluid {
    padding: 0 10px;
  }
  
  .nav-container-fluid {
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .about-text {
    padding: 15px !important;
    margin: 0 5px !important;
  }
  
  .about-text p {
    font-size: 0.95rem !important;
  }
  
  .about-stats .stat {
    padding: 1rem 0.5rem !important;
    min-width: 100px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 1.8rem !important;
  }
  
  .about-stats .stat p {
    font-size: 0.9rem !important;
  }
  
  /* AI Chatbot adjustments for very small screens */
  .ai-chatbot {
    width: calc(100vw - 5px) !important;
    right: 2.5px !important;
    bottom: 2.5px !important;
    height: calc(100vh - 50px) !important;
    border-radius: 6px !important;
  }
  
  .ai-chatbot-toggle {
    width: 45px !important;
    height: 45px !important;
    bottom: 15px !important;
    right: 15px !important;
  }
  
  .ai-chatbot-toggle i {
    font-size: 18px !important;
  }
}

/* Small Mobile Devices (375px - 413px) */
@media (min-width: 375px) and (max-width: 413px) {
  .container,
  .container-fluid {
    padding: 0 12px;
  }
  
  .nav-container-fluid {
    padding: 0 12px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 1.9rem;
  }
  
  .about-text {
    padding: 18px !important;
  }
  
  .about-text p {
    font-size: 1rem !important;
  }
  
  .about-stats .stat {
    padding: 1.2rem 0.8rem !important;
    min-width: 110px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2rem !important;
  }
}

/* Medium Mobile Devices (414px - 479px) */
@media (min-width: 414px) and (max-width: 479px) {
  .container,
  .container-fluid {
    padding: 0 15px;
  }
  
  .nav-container-fluid {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-text {
    padding: 20px !important;
  }
  
  .about-text p {
    font-size: 1.05rem !important;
  }
  
  .about-stats .stat {
    padding: 1.5rem 1rem !important;
    min-width: 120px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2.2rem !important;
  }
}

/* Large Mobile Devices (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .about-text {
    padding: 25px !important;
  }
  
  .about-text p {
    font-size: 1.1rem !important;
  }
  
  .about-stats .stat {
    padding: 1.8rem 1.2rem !important;
    min-width: 130px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2.3rem !important;
  }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .about-text {
    padding: 35px !important;
  }
  
  .about-text p {
    font-size: 1.15rem !important;
  }
  
  .about-stats .stat {
    padding: 2rem 1.5rem !important;
    min-width: 140px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2.4rem !important;
  }
  
  /* Timeline fixes for tablet */
  .timeline {
    padding: 0 1.5rem;
  }
  
  .timeline-item {
    width: 48% !important;
    min-width: 48% !important;
    max-width: 48% !important;
  }
  
  .timeline-item:nth-child(odd) {
    padding-right: 1rem;
  }
  
  .timeline-item:nth-child(even) {
    padding-left: 1rem;
  }
  
  /* Projects grid for tablet */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Skills grid for tablet */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Tablet Landscape (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.7rem;
  }
  
  .section-title {
    font-size: 2.9rem;
  }
  
  .about-text {
    padding: 38px !important;
  }
  
  .about-text p {
    font-size: 1.18rem !important;
  }
  
  .about-stats .stat {
    padding: 2.2rem 1.6rem !important;
    min-width: 145px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2.5rem !important;
  }
}

/* Large Desktop (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-title {
    font-size: 3.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .about-text {
    padding: 40px !important;
  }
  
  .about-text p {
    font-size: 1.2rem !important;
  }
  
  .about-stats .stat {
    padding: 2.2rem 1.5rem !important;
    min-width: 150px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2.5rem !important;
  }
}

/* Extra Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.9rem;
  }
  
  .section-title {
    font-size: 3.2rem;
  }
  
  .about-text {
    padding: 45px !important;
  }
  
  .about-text p {
    font-size: 1.25rem !important;
  }
  
  .about-stats .stat {
    padding: 2.5rem 1.8rem !important;
    min-width: 160px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2.6rem !important;
  }
}

/* Ultra Wide Desktop (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .about-text {
    padding: 50px !important;
    max-width: 1200px !important;
  }
  
  .about-text p {
    font-size: 1.3rem !important;
  }
  
  .about-stats .stat {
    padding: 2.8rem 2rem !important;
    min-width: 180px !important;
  }
  
  .about-stats .stat h3 {
    font-size: 2.8rem !important;
  }
}

/* Landscape Orientation Fixes */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    min-height: auto;
    padding-top: 1rem;
  }
  
  .hero-text {
    min-height: auto;
  }
  
  .hero-image {
    min-height: auto;
  }
  
  .about {
    padding: 40px 0 !important;
  }
  
  .about-text {
    padding: 25px !important;
  }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-title,
  .section-title {
    text-rendering: optimizeLegibility;
  }
  
  .about-text p {
    text-rendering: optimizeLegibility;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .ai-chatbot,
  .ai-chatbot-toggle {
    display: none !important;
  }
  
  .hero,
  .about {
    background: white !important;
    color: black !important;
  }
  
  .about-text {
    background: white !important;
    border: 1px solid #ccc !important;
    transform: none !important;
  }
  
  .about-text p {
    color: black !important;
  }
  
  .about-text strong {
    color: #333 !important;
  }
  
  .about-stats .stat {
    background: white !important;
    border: 1px solid #ccc !important;
  }
  
  .about-stats .stat h3 {
    color: #333 !important;
  }
  
/* Mobile-specific hero section fixes */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    min-height: auto;
    padding-top: 1rem;
  }
  
  .hero-text {
    min-height: auto;
    padding-top: 1rem;
  }
  
  .hero-image {
    min-height: auto;
    order: -1; /* Move image above text on mobile */
  }
  
  .profile-card {
    transform: none !important;
    margin: 0 auto;
    max-width: 300px;
  }
  
  .profile-card:hover {
    transform: none !important;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .hero-social {
    justify-content: center;
  }
}

/* Tablet-specific hero section fixes */
@media (min-width: 769px) and (max-width: 1023px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .profile-card {
    transform: none !important;
  }
  
  .profile-card:hover {
    transform: none !important;
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
}
@media (max-width: 1023px) {
  .about-text {
    transform: none !important;
  }
  
  .about-text:hover {
    transform: none !important;
  }
  
  .about-stats .stat {
    transform: none !important;
  }
  
  .about-stats .stat:hover {
    transform: none !important;
  }
  
  /* Disable other 3D effects on mobile/tablet */
  .profile-card {
    transform: none !important;
  }
  
  .profile-card:hover {
    transform: none !important;
  }
  
  .image-placeholder {
    transform: none !important;
  }
  
  .image-placeholder:hover {
    transform: none !important;
  }
  
  /* Experience Section Cards */
  .timeline-content {
    transform: none !important;
  }
  
  .timeline-content:hover {
    transform: none !important;
  }
  
  /* Projects Section Cards */
  .project-card {
    transform: none !important;
  }
  
  .project-card:hover {
    transform: none !important;
  }
  
  /* Skills Section Cards */
  .skill-category {
    transform: none !important;
  }
  
  .skill-category:hover {
    transform: none !important;
  }
  
  /* Job Search Section Cards */
  .job-availability {
    transform: none !important;
  }
  
  .job-availability:hover {
    transform: none !important;
  }
  
  .recruiter-info {
    transform: none !important;
  }
  
  .recruiter-info:hover {
    transform: none !important;
  }
  
  /* Contact Section Cards */
  .contact-form {
    transform: none !important;
  }
  
  .contact-form:hover {
    transform: none !important;
  }
  
  /* Footer Cards */
  .footer-content {
    transform: none !important;
  }
  
  /* Disable all transitions and animations for better performance */
  .about-text,
  .about-stats .stat,
  .profile-card,
  .image-placeholder,
  .timeline-content,
  .project-card,
  .skill-category,
  .job-availability,
  .recruiter-info,
  .contact-form,
  .footer-content {
    transition: none !important;
    animation: none !important;
  }
  
  /* Optimize backdrop-filter for better performance */
  .about-text,
  .about-stats .stat,
  .profile-card,
  .timeline-content,
  .project-card,
  .skill-category,
  .job-availability,
  .recruiter-info,
  .contact-form {
    backdrop-filter: blur(5px) !important;
  }
  
  /* Ensure proper stacking without transforms */
  .about-text,
  .about-stats .stat,
  .profile-card,
  .timeline-content,
  .project-card,
  .skill-category,
  .job-availability,
  .recruiter-info,
  .contact-form {
    position: relative;
    z-index: 1;
  }
}

/* Performance optimizations for mobile devices */
@media (max-width: 1023px) {
  /* Disable expensive animations on mobile/tablet */
  .about-text,
  .about-stats .stat,
  .profile-card,
  .image-placeholder {
    transition: none !important;
    animation: none !important;
  }
  
  /* Optimize backdrop-filter for better performance */
  .about-text,
  .about-stats .stat,
  .profile-card {
    backdrop-filter: blur(5px) !important; /* Reduced blur for performance */
  }
  
  /* Ensure proper stacking without transforms */
  .about-text {
    position: relative;
    z-index: 1;
  }
  
  .about-stats .stat {
    position: relative;
    z-index: 1;
  }
  
  .profile-card {
    position: relative;
    z-index: 1;
  }
}

/* Hero Social Responsive Improvements */
@media (min-width: 1200px) {
  .hero-social {
    max-width: 500px;
    gap: 2rem;
  }
  
  .hero-social a {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 1440px) {
  .hero-social {
    max-width: 600px;
    gap: 2.5rem;
  }
  
  .hero-social a {
    width: 65px;
    height: 65px;
  }
}

@media (max-width: 768px) {
  .hero-social {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .hero-social a {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-social {
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .hero-social a {
    width: 45px;
    height: 45px;
  }
}
@media (max-width: 768px) {
  /* Reduce complex shadows for better performance on ALL cards */
  .about-text {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  }
  
  .about-stats .stat {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  }
  
  .profile-card {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
  }
  
  .timeline-content {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  }
  
  .project-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  }
  
  .skill-category {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  }
  
  .job-availability,
  .recruiter-info {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  }
  
  .contact-form {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Optimize text rendering for ALL cards */
  .hero-title,
  .section-title,
  .about-text p,
  .timeline-content h3,
  .project-card h3,
  .skill-category h3,
  .job-availability h3,
  .recruiter-info h3,
  .contact-form h3 {
    text-rendering: optimizeSpeed;
  }
  
  /* Ensure all cards have proper mobile spacing */
  .timeline-content,
  .project-card,
  .skill-category,
  .job-availability,
  .recruiter-info,
  .contact-form {
    margin-bottom: 1rem;
    padding: 1.5rem;
  }
}

/* Prevent horizontal scroll on all devices */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Global responsive fixes */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Prevent any element from causing horizontal scroll */
section, .container, .container-fluid, .nav-container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure all text containers are responsive */
p, h1, h2, h3, h4, h5, h6, li, span, a {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Prevent fixed width elements from breaking layout */
table {
  width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Ensure buttons don't overflow */
.btn {
  white-space: normal;
  word-wrap: break-word;
}

/* Fix for any absolute positioned elements */
@media (max-width: 768px) {
  [style*="position: absolute"],
  [style*="position:fixed"] {
    max-width: 100vw;
  }
}

/* Touch target improvements for mobile */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }
  
  .nav-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
  }
  
  .hero-social a {
    min-height: 44px;
    min-width: 44px;
  }
  
  .ai-chatbot-toggle {
    min-height: 50px;
    min-width: 50px;
  }
  
  .ai-chatbot-send-btn {
    min-height: 40px;
    min-width: 40px;
  }
}

/* Fix for iOS Safari viewport issues */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
  
  .ai-chatbot {
    height: calc(-webkit-fill-available - 80px);
  }
}

/* Fix for Android Chrome viewport issues */
@media screen and (max-height: 600px) {
  .hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content {
    min-height: auto;
    padding-top: 0.5rem;
  }
  
  .about {
    padding: 40px 0 !important;
  }
}

/* Fix for very wide screens */
@media (min-width: 2560px) {
  .container {
    max-width: 1600px;
  }
  
  .about-text {
    max-width: 1400px !important;
  }
}

/* Fix for very tall screens */
@media (min-height: 1200px) {
  .hero {
    min-height: 80vh;
  }
  
  .about {
    padding: 120px 0 !important;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .about-text {
    transform: none !important;
  }
  
  .about-text:hover {
    transform: none !important;
  }
  
  .about-stats .stat:hover {
    transform: none !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .about-text {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  
  .about-stats .stat {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .about-text {
    border: 2px solid white !important;
  }
  
  .about-text p {
    color: white !important;
  }
  
  .about-text strong {
    color: #ffd700 !important;
  }
  
  .about-stats .stat {
    border: 2px solid white !important;
  }
  
  .about-stats .stat h3 {
    color: #ffd700 !important;
  }
  
  .about-stats .stat p {
    color: white !important;
  }
}
