/******************** RESET ********************/
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 231, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 231, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 231, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 231, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 191, 255, 0.12) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 231, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/******************** HEADER ********************/
.header {
    width: 100%;
    padding: 15px 80px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 231, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 231, 0.6), transparent);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    order: 1;
}

.logo-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00ffe7;
    box-shadow: 0 0 10px rgba(0, 255, 231, 0.3);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffe7, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar {
    display: flex;
    order: 2;
}

.navbar a:hover,
.navbar a.active {
    color: #00ffe7;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffe7, #00bfff);
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

#menu {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.theme-toggle {
    background: rgba(0, 255, 231, 0.1);
    border: 1px solid rgba(0, 255, 231, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    order: 3;
}

.theme-toggle:hover {
    background: rgba(0, 255, 231, 0.2);
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: #00ffe7;
    transition: transform 0.3s ease;
}

/* Light Mode Styles */
body.light-mode {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #e8e8e8 100%);
    color: #1a1a1a;
}

body.light-mode .header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid rgba(0, 255, 231, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .navbar a {
    color: #1a1a1a;
    font-weight: 500;
}

body.light-mode .navbar a:hover,
body.light-mode .navbar a.active {
    color: #00b8a9;
}

body.light-mode .logo {
    background: linear-gradient(45deg, #00b8a9, #00ffe7, #00b8a9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .home {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.9) 50%, rgba(232, 232, 232, 0.95) 100%);
}

body.light-mode .text-content {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 184, 169, 0.2);
    color: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .text-content h1 {
    color: #1a1a1a;
}

body.light-mode .name-highlight {
    background: linear-gradient(45deg, #00b8a9, #00ffe7, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .description {
    color: #2d2d2d;
}

body.light-mode .badge.primary {
    background: rgba(0, 184, 169, 0.15);
    border-color: #00b8a9;
    color: #006b63;
    box-shadow: 0 2px 10px rgba(0, 184, 169, 0.2);
}

body.light-mode .badge.secondary {
    background: rgba(0, 255, 231, 0.15);
    border-color: #00ffe7;
    color: #008a7a;
    box-shadow: 0 2px 10px rgba(0, 255, 231, 0.2);
}

body.light-mode .badge.tertiary {
    background: rgba(0, 102, 204, 0.1);
    border-color: #0066cc;
    color: #004499;
}

body.light-mode .neon-btn.primary {
    background: linear-gradient(45deg, #00b8a9, #00ffe7);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 184, 169, 0.4);
}

body.light-mode .neon-btn.secondary {
    background: transparent;
    border: 2px solid #00b8a9;
    color: #00b8a9;
}

body.light-mode .neon-btn.secondary:hover {
    background: rgba(0, 184, 169, 0.1);
    color: #008a7a;
}

body.light-mode .social-icon {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 184, 169, 0.2);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.light-mode .social-icon:hover {
    background: rgba(0, 184, 169, 0.15);
    border-color: #00b8a9;
    color: #00b8a9;
    box-shadow: 0 4px 15px rgba(0, 184, 169, 0.3);
}

body.light-mode .home-image-container {
    filter: brightness(1.05);
}

body.light-mode .home img, 
body.light-mode .home-image {
    border: 3px solid rgba(0, 184, 169, 0.4);
    box-shadow: 0 0 40px rgba(0, 184, 169, 0.3), 0 0 60px rgba(0, 255, 231, 0.2);
}

body.light-mode .home img::before, 
body.light-mode .home-image::before {
    background: linear-gradient(to left, rgba(0, 184, 169, 0.25), rgba(0, 255, 231, 0.15));
}

body.light-mode .about {
    background: rgba(250, 250, 250, 0.95);
}

body.light-mode .about-card {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 1px solid rgba(0, 184, 169, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .about-card:hover {
    box-shadow: 0 8px 30px rgba(0, 184, 169, 0.2);
    border-color: rgba(0, 184, 169, 0.3);
}

body.light-mode .education {
    background: rgba(250, 250, 250, 0.95);
}

body.light-mode .education .box {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 184, 169, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .education-content .content {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 1px solid rgba(0, 184, 169, 0.2);
    border-left: 4px solid #00b8a9;
}

body.light-mode .skills {
    background: rgba(250, 250, 250, 0.95);
}

body.light-mode .skills .wrapper {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 184, 169, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .skills-table th {
    background: #f0f0f0;
    color: #1a1a1a;
}

body.light-mode .skills-table th,
body.light-mode .skills-table td {
    color: #1a1a1a;
}

body.light-mode .skills-table tr {
    background: rgba(0, 184, 169, 0.05);
}

body.light-mode .skills-table tr:hover {
    background: rgba(0, 184, 169, 0.12);
}

body.light-mode .bar-bg {
    background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
    border: 1px solid rgba(0, 184, 169, 0.3);
}

body.light-mode .bar-fill {
    background: linear-gradient(45deg, #00b8a9, #00ffe7);
    color: #ffffff;
}

body.light-mode .services {
    background: rgba(250, 250, 250, 0.95);
}

body.light-mode .services .card {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 1px solid rgba(0, 184, 169, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .services .card:hover {
    box-shadow: 0 8px 30px rgba(0, 184, 169, 0.2);
    border-color: rgba(0, 184, 169, 0.3);
}

body.light-mode .services .box .text {
    color: #00b8a9;
}

body.light-mode .services .box p {
    color: #2d2d2d;
}

body.light-mode .projects {
    background: rgba(250, 250, 250, 0.95);
}

body.light-mode .project-item {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 1px solid rgba(0, 184, 169, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .project-item:hover {
    box-shadow: 0 8px 30px rgba(0, 184, 169, 0.2);
    border-color: rgba(0, 184, 169, 0.3);
}

body.light-mode .project-title {
    color: #00b8a9;
}

body.light-mode .tech {
    background: rgba(0, 184, 169, 0.1);
    border-color: #00b8a9;
    color: #006b63;
}

body.light-mode .project-btn {
    background: linear-gradient(270deg, #00b8a9 10%, #00ffe7 100%);
    color: #ffffff;
}

body.light-mode .project-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 184, 169, 0.4);
}

body.light-mode .contact {
    background: rgba(250, 250, 250, 0.95);
}

body.light-mode .contact form {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 184, 169, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode input,
body.light-mode textarea {
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid rgba(0, 184, 169, 0.2);
}

body.light-mode input:focus,
body.light-mode textarea:focus {
    border-color: #00b8a9;
    box-shadow: 0 0 10px rgba(0, 184, 169, 0.2);
}

body.light-mode input[type="submit"] {
    background: linear-gradient(45deg, #00b8a9, #00ffe7);
    color: #ffffff;
}

body.light-mode input[type="submit"]:hover {
    box-shadow: 0 4px 15px rgba(0, 184, 169, 0.4);
}

body.light-mode .title {
    color: #1a1a1a;
}

body.light-mode .title span {
    background: linear-gradient(45deg, #00b8a9, #00ffe7, #00b8a9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .year {
    color: #00b8a9;
}

body.light-mode .education-content .content h3 {
    color: #1a1a1a;
}

body.light-mode .education-content .content p {
    color: #2d2d2d;
}

body.light-mode footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.9));
    border-top: 1px solid rgba(0, 184, 169, 0.2);
    color: #1a1a1a;
}

body.light-mode .email-link {
    color: #00b8a9;
    border-color: rgba(0, 184, 169, 0.3);
    background: rgba(0, 184, 169, 0.1);
}

body.light-mode .email-link:hover {
    background: rgba(0, 184, 169, 0.2);
    border-color: rgba(0, 184, 169, 0.5);
}

body.light-mode .back-to-top {
    color: #00b8a9;
    background: rgba(0, 184, 169, 0.1);
    border-color: rgba(0, 184, 169, 0.3);
}

body.light-mode .back-to-top:hover {
    background: rgba(0, 184, 169, 0.2);
    color: #008a7a;
}

body.light-mode .games {
    background: rgba(250, 250, 250, 0.95);
}

body.light-mode .game-container,
body.light-mode .tictactoe-container {
    background: transparent;
}

body.light-mode .game-board,
body.light-mode .tictactoe-board {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 184, 169, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .game-controls,
body.light-mode .tictactoe-controls {
    background: transparent;
}

body.light-mode .score,
body.light-mode .high-score,
body.light-mode .current-player,
body.light-mode .game-status {
    background: rgba(0, 184, 169, 0.1);
    border-color: #00b8a9;
    color: #006b63;
}

body.light-mode .game-btn {
    background: linear-gradient(270deg, #00b8a9 10%, #00ffe7 100%);
    color: #ffffff;
}

body.light-mode .game-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 184, 169, 0.4);
}

body.light-mode .instructions {
    background: rgba(0, 184, 169, 0.05);
    border-color: rgba(0, 184, 169, 0.2);
}

body.light-mode .instructions p {
    color: #2d2d2d;
}

body.light-mode .tictactoe-grid {
    background: #00b8a9;
}

body.light-mode .cell {
    background: #ffffff;
    color: #1a1a1a;
}

body.light-mode .cell:hover {
    background: #f0f0f0;
}

body.light-mode .cell.x {
    color: #d32f2f;
}

body.light-mode .cell.o {
    color: #00b8a9;
}

body.light-mode .arrow-btn {
    background: linear-gradient(270deg, #00b8a9 10%, #00ffe7 100%);
    color: #ffffff;
}

body.light-mode .arrow-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 184, 169, 0.4);
}

body.light-mode .card-icon {
    background: linear-gradient(45deg, #00b8a9, #00ffe7);
    box-shadow: 0 8px 20px rgba(0, 184, 169, 0.3);
}

body.light-mode .card-icon i {
    color: #ffffff;
}

body.light-mode .expertise-tag {
    background: rgba(0, 184, 169, 0.1);
    border-color: #00b8a9;
    color: #006b63;
}

body.light-mode .achievement-list li {
    color: #2d2d2d;
}

body.light-mode .interest-item {
    color: #1a1a1a;
}

body.light-mode .interest-item i {
    color: #00b8a9;
}

body.light-mode .btn {
    background: linear-gradient(45deg, #00b8a9, #00ffe7, #00b8a9);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 184, 169, 0.4);
}

body.light-mode .btn:hover {
    box-shadow: 0 8px 30px rgba(0, 184, 169, 0.5);
}

body.light-mode .about-actions .btn {
    background: linear-gradient(45deg, #00b8a9, #00ffe7, #00b8a9);
    color: #ffffff;
}

body.light-mode .about-actions .btn:hover {
    box-shadow: 0 8px 30px rgba(0, 184, 169, 0.5);
}

/* Light Mode Responsive Adjustments */
@media (max-width: 767px) {
    body.light-mode .navbar {
        background: rgba(255, 255, 255, 0.95);
    }
    
    body.light-mode .navbar a {
        color: #333;
    }
    
    body.light-mode .navbar a:hover {
        background: rgba(0, 255, 231, 0.1);
        color: #00ffe7;
    }
    
    body.light-mode #menu {
        color: #333;
    }
    
    body.light-mode .theme-toggle {
        background: rgba(0, 255, 231, 0.15);
        border-color: rgba(0, 255, 231, 0.4);
    }
}



@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modern Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 80px 0;
    background: transparent;
    position: relative;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 100px;
}

.text-content {
    flex: 1;
    max-width: 550px;
}

.home-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.text-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1px;
}

.name-highlight {
    background: linear-gradient(45deg, #00ffe7, #00bfff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.role-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.badge.primary {
    background: rgba(0, 255, 231, 0.15);
    border-color: #00ffe7;
    color: #00ffe7;
    box-shadow: 0 0 20px rgba(0, 255, 231, 0.2);
}

.badge.secondary {
    background: rgba(0, 191, 255, 0.15);
    border-color: #00bfff;
    color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.badge.tertiary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.neon-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.neon-btn.primary {
    background: linear-gradient(45deg, #00ffe7, #00bfff);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 231, 0.4);
}

.neon-btn.secondary {
    background: transparent;
    border: 2px solid #00ffe7;
    color: #00ffe7;
    backdrop-filter: blur(10px);
}

.neon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 231, 0.6);
}

.neon-btn.secondary:hover {
    background: rgba(0, 255, 231, 0.1);
}

.neon-btn a {
    text-decoration: none;
    color: inherit;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(0, 255, 231, 0.15);
    border-color: #00ffe7;
    color: #00ffe7;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 231, 0.3);
}



.home img, .home-image {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    animation: rotateAndFloat 20s linear infinite, pulseGlow 2s ease-in-out infinite alternate;
    box-shadow: 0 0 60px rgba(0, 255, 231, 0.6), 0 0 100px rgba(0, 191, 255, 0.3);
    border: 3px solid rgba(0, 255, 231, 0.5);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-5deg);
}

.home img:hover, .home-image:hover {
    animation: rotateAndFloat 10s linear infinite, pulseGlow 1s ease-in-out infinite alternate;
    box-shadow: 0 0 80px rgba(0, 255, 231, 0.8), 0 0 120px rgba(0, 191, 255, 0.5);
    border-color: rgba(0, 255, 231, 0.8);
    transform: perspective(1000px) rotateY(-10deg) scale(1.02);
}

.home img::before, .home-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 255, 231, 0.3), rgba(0, 191, 255, 0.2));
    border-radius: 0 15px 15px 0;
    transform: perspective(500px) rotateY(-25deg);
    transform-origin: left center;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.home img::after, .home-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent);
    border-radius: 0 15px 15px 0;
    transform: perspective(500px) rotateY(-25deg);
    transform-origin: left center;
    z-index: -2;
}

/* ==================== HOME SECTION RESPONSIVE DESIGN ==================== */

/* Extra Large Desktops (1400px and above) */
@media (min-width: 1400px) {
    .home {
        padding: 120px 100px 0;
    }
    
    .home-content {
        gap: 120px;
        max-width: 1600px;
    }
    
    .text-content {
        max-width: 600px;
    }
    
    .text-content h1 {
        font-size: 4.5rem;
    }
    
    .description {
        font-size: 1.3rem;
    }
    
    .home img, .home-image {
        width: 400px;
        height: 520px;
    }
}

/* Large Desktops (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .home {
        padding: 110px 80px 0;
    }
    
    .home-content {
        gap: 80px;
        max-width: 1400px;
    }
    
    .text-content h1 {
        font-size: 3.8rem;
    }
    
    .home img, .home-image {
        width: 380px;
        height: 490px;
    }
}

/* Desktops/Laptops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .home {
        padding: 100px 60px 0;
    }
    
    .home-content {
        gap: 60px;
    }
    
    .text-content {
        max-width: 500px;
    }
    
    .text-content h1 {
        font-size: 3.2rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
    
    .home img, .home-image {
        width: 320px;
        height: 410px;
    }
    
    .home img::before, .home-image::before,
    .home img::after, .home-image::after {
        right: -15px;
        width: 15px;
    }
    
    .neon-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .home {
        padding: 100px 40px 0;
    }
    
    .home-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
        align-items: center;
    }
    
    .text-content {
        max-width: 100%;
        order: 2;
    }
    
    .home-image-container {
        order: 1;
        width: 100%;
    }
    
    .text-content h1 {
        font-size: 2.8rem;
    }
    
    .description {
        font-size: 1.05rem;
        margin-bottom: 35px;
    }
    
    .home img, .home-image {
        width: 300px;
        height: 390px;
    }
    
    .home img::before, .home-image::before,
    .home img::after, .home-image::after {
        right: -12px;
        width: 12px;
    }
    
    .role-badges {
        justify-content: center;
        gap: 12px;
    }
    
    .badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .cta-buttons {
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .neon-btn {
        padding: 14px 26px;
        font-size: 0.95rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Mobile Large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .home {
        padding: 90px 25px 40px;
        min-height: auto;
    }
    
    .home-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }
    
    .text-content {
        max-width: 100%;
        order: 2;
        padding: 0;
    }
    
    .home-image-container {
        order: 1;
        width: 100%;
    }
    
    .text-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .name-highlight {
        display: block;
    }
    
    .role-badges {
        justify-content: center;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .badge {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .home img, .home-image {
        width: 250px;
        height: 320px;
    }
    
    .home img::before, .home-image::before,
    .home img::after, .home-image::after {
        right: -10px;
        width: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 35px;
    }
    
    .neon-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Mobile Small (320px - 480px) */
@media (min-width: 320px) and (max-width: 480px) {
    .home {
        padding: 80px 20px 30px;
        min-height: auto;
    }
    
    .home-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }
    
    .text-content {
        max-width: 100%;
        order: 2;
        padding: 0;
    }
    
    .home-image-container {
        order: 1;
        width: 100%;
    }
    
    .text-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .name-highlight {
        display: block;
    }
    
    .role-badges {
        justify-content: center;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .home img, .home-image {
        width: 220px;
        height: 280px;
    }
    
    .home img::before, .home-image::before,
    .home img::after, .home-image::after {
        right: -8px;
        width: 8px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .neon-btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* Extra Small Devices (below 320px) */
@media (max-width: 319px) {
    .home {
        padding: 70px 15px 25px;
        min-height: auto;
    }
    
    .home-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        align-items: center;
    }
    
    .text-content {
        max-width: 100%;
        order: 2;
        padding: 0;
    }
    
    .home-image-container {
        order: 1;
        width: 100%;
    }
    
    .text-content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .name-highlight {
        display: block;
    }
    
    .role-badges {
        justify-content: center;
        gap: 6px;
        margin-bottom: 18px;
    }
    
    .badge {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .home img, .home-image {
        width: 180px;
        height: 230px;
    }
    
    .home img::before, .home-image::before,
    .home img::after, .home-image::after {
        right: -6px;
        width: 6px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .neon-btn {
        width: 100%;
        max-width: 220px;
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .home {
        padding: 80px 20px 20px;
        min-height: auto;
    }
    
    .home-content {
        flex-direction: row;
        gap: 30px;
        align-items: center;
    }
    
    .text-content {
        order: 1;
        text-align: left;
        flex: 1;
    }
    
    .home-image-container {
        order: 2;
        flex: 0 0 auto;
    }
    
    .home img, .home-image {
        width: 200px;
        height: 260px;
    }
    
    .text-content h1 {
        font-size: 1.8rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .neon-btn {
        max-width: 150px;
    }
}


.text-content h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, #00ffe7, #00bfff, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease, gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 255, 231, 0.5);
    margin-bottom: 20px;
}

/* Typing animation styles */
.text-animation h2 {
    font-size: 2rem;
    background: linear-gradient(90deg, #00ffff, #00ffe7, #00bfff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 10px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Typing effect keyframes */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 350px; /* Adjust this based on the text length */
    }
}

/* Blinking cursor */
@keyframes blink {
    0% {
        border-color: transparent;
    }
    50% {
        border-color: #fff;
    }
    100% {
        border-color: transparent;
    }
}

.text-content p {
    max-width: 600px;
    margin-top: 20px;
    line-height: 1.6;
    animation: fadeInUp 2s ease;
}

.btn-section {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}

.btn {
    font-size: 1.0rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    background: linear-gradient(45deg, #00ffe7, #00bfff, #00ffe7);
    background-size: 200% 200%;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
    border: none;
    text-wrap: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 255, 231, 0.4);
    animation: gradientShift 3s ease-in-out infinite;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: scale(1.05) translateY(-3px);
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(0, 255, 231, 0.6), 0 0 50px rgba(0, 255, 231, 0.3);
    filter: brightness(1.2);
}

.btn-section .btn {
    background-color: #00ffe7;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-section .btn a {
    text-decoration: none;
    color: #000; /* dark text on bright button */
}

.btn-section .btn:hover {
    background-color: #00c7b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 231, 0.3);
}

.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    color: #333;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    position: relative;
    transform-style: preserve-3d;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffe7, #00bfff);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icons a:hover {
    color: #000;
    transform: translateY(-8px) rotateX(15deg) rotateY(-15deg);
    box-shadow: 0 15px 30px rgba(0, 255, 231, 0.5), 0 0 20px rgba(0, 255, 231, 0.3);
}

.social-icons a:hover::before {
    opacity: 1;
}

/******************** ABOUT ********************/
.about {
    padding: 100px;
    animation: fadeIn 1.5s ease;
    background: #000;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: 1;
}

.about-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card::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.6s ease;
    z-index: 1;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(0, 255, 231, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(0, 255, 231, 0.3);
    border-color: rgba(0, 255, 231, 0.5);
    background: linear-gradient(145deg, rgba(0, 255, 231, 0.08), rgba(255, 255, 255, 0.08));
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    perspective: 1000px;
}

.card-icon {
    background: linear-gradient(45deg, #00ffe7, #00bfff);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 255, 231, 0.3);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

.card-icon i {
    font-size: 24px;
    color: #000;
}

.about .title {
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about img {
    width: 300px;
    border-radius: 50%;
    box-shadow: 0 0 30px #00ffe7;
    animation: floatImage 4s ease-in-out infinite;
}

.text-content2 h2 {
    font-size: 2rem;
    color: #00ffe7;
    margin-bottom: 10px;
}

.text-content2 p {
    max-width: 600px;
    line-height: 1.6;
    color: #ffffff;
}

/******************** EDUCATION ********************/
.education {
    padding: 80px 100px;
    background: #000;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    width: 100%;
}

.title span {
    background: linear-gradient(45deg, #00ffe7, #00bfff, #00ffe7);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 255, 231, 0.5);
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffe7, transparent);
    border-radius: 2px;
    animation: pulseWidth 2s ease-in-out infinite alternate;
}

.education .row {
    display: flex;
    justify-content: center;
}

.education .column {
    width: 100%;
    max-width: 800px;
}

.education .box {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 231, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.education-content .content {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 231, 0.3);
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #00ffe7;
    border-radius: 10px;
    animation: fadeInUp 1s ease;
    transition: transform 0.3s ease;
}

.education-content .content:hover {
    transform: translateX(10px);
}

.year {
    color: #00ffe7;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.year i {
    font-size: 1.2rem;
}

.education-content .content h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.education-content .content p {
    color: #ccc;
    line-height: 1.6;
}

/******************** SKILLS ********************/
.skills {
    padding: 60px 80px;
    background: #000;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    z-index: 1;
}

.skills .wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Stylish Skills Table */
.skills-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  font-family: inherit;
  background: transparent;
  table-layout: fixed;
}
.skills-table th, .skills-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 1rem;
  color: #fff;
  vertical-align: middle;
}
.skills-table th:nth-child(1), .skills-table td:nth-child(1) {
  width: 25%;
  font-weight: 700;
}
.skills-table th:nth-child(2), .skills-table td:nth-child(2) {
  width: 20%;
  text-align: left;
  font-weight: 700;
  color: #fff;
}
.skills-table th:nth-child(3), .skills-table td:nth-child(3) {
  width: 55%;
}
.skills-table th {
  background: #222;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}
.skills-table tr {
  background: linear-gradient(135deg, rgba(0, 255, 231, 0.08), rgba(0, 255, 231, 0.03));
  border-radius: 12px;
  transition: all 0.3s ease;
}

.skills-table tbody tr:hover {
  background: linear-gradient(135deg, rgba(0, 255, 231, 0.15), rgba(0, 255, 231, 0.08));
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 255, 231, 0.2);
}
.bar-bg {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 12px;
  width: 100%;
  height: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 2px 8px rgba(0,255,231,0.15),
    inset 0 1px 3px rgba(0,0,0,0.3);
  border: 1px solid rgba(0, 255, 231, 0.3);
}
.bar-fill {
  height: 100%;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-size: 0.8rem;
  background: #000;
  box-shadow: 
    0 2px 6px rgba(0,0,0,0.5),
    inset 0 1px 2px rgba(255,255,255,0.1);
  transition: width 2s cubic-bezier(.77,0,.18,1);
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: slideShine 3s ease-in-out infinite;
}

@keyframes slideShine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@keyframes shimmerBar {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}
.bar-fill.html { width: 90%; }
.bar-fill.css { width: 80%; }
.bar-fill.js { width: 75%; }
.bar-fill.java { width: 80%; }
.bar-fill.python { width: 60%; }
.bar-fill.DS { width: 30%; }
.bar-fill.C { width: 50%; }

/* --- Enhanced Skills Section Styles --- */
.skills .wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(30px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(0, 255, 231, 0.1);
    padding: 32px 18px;
    position: relative;
    overflow: hidden;
}

.skills .wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 15s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.skills-table {
    box-shadow: 0 2px 12px rgba(0,255,231,0.08);
    border-radius: 12px;
    overflow: hidden;
}
.skills-table th {
    background: #000;
    color: #fff;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.skills-table tr {
    background: rgba(0, 255, 231, 0.08);
    border-radius: 10px;
    transition: background 0.3s;
}
.skills-table tr:hover {
    background: rgba(0,255,231,0.18);
}
.bar-bg {
    border-radius: 12px;
    height: 28px;
    box-shadow: 0 2px 12px rgba(0,255,231,0.12);
    border: 1.5px solid #00ffe7;
}
.bar-fill {
    border-radius: 12px;
    color: #fff;
    font-weight: bold;
    padding-right: 14px;
    font-size: 1rem;
    box-shadow: 0 1px 8px rgba(0,255,231,0.18);
    position: relative;
}
.bar-fill::before {
    content: '⚡';
    position: absolute;
    left: 12px;
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.8;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}
/******************** RESPONSIVE DESIGN ********************/

/* Skills Section Responsive Design */
@media (max-width: 1200px) {
    .skills {
        padding: 60px 50px;
    }
    
    .skills .wrapper {
        padding: 25px 15px;
    }
    
    .skills-table th, .skills-table td {
        padding: 8px 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .skills {
        padding: 50px 30px;
    }
    
    .skills .wrapper {
        padding: 20px 12px;
    }
    
    .skills-table {
        font-size: 0.9rem;
    }
    
    .skills-table th, .skills-table td {
        padding: 7px 8px;
    }
    
    .bar-bg {
        height: 22px;
    }
    
    .bar-fill {
        font-size: 0.85rem;
        padding-right: 8px;
    }
}

/* Enhanced Responsive Design for Navbar and Home */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .header {
        padding: 20px 120px;
    }
    
    .logo {
        font-size: 2.4rem;
    }
    
    .navbar a {
        margin-left: 25px;
        font-size: 1.1rem;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
        margin-right: 25px;
    }
    
    .home {
        padding: 150px 120px 0;
    }
    
    .text-content {
        max-width: 700px;
    }
    
    .text-content h1 {
        font-size: 3.5rem;
    }
    
    .text-animation h2 {
        font-size: 2.2rem;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .header {
        padding: 18px 80px;
    }
    
    .logo {
        font-size: 2.1rem;
    }
    
    .navbar a {
        margin-left: 18px;
        font-size: 1rem;
    }
    
    .theme-toggle {
        width: 38px;
        height: 38px;
        margin-right: 18px;
    }
    
    .home {
        padding: 130px 80px 0;
    }
    
    .text-content h1 {
        font-size: 2.8rem;
    }
    
    .text-animation h2 {
        font-size: 1.9rem;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .header {
        padding: 15px 40px;
    }
    
    .logo {
        font-size: 1.9rem;
    }
    
    .navbar a {
        margin-left: 15px;
        font-size: 0.95rem;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-right: 15px;
    }
    
    .theme-toggle i {
        font-size: 1.1rem;
    }
    
    .home {
        padding: 120px 40px 0;
        gap: 40px;
    }
    
    .home img, .home-image {
        width: 280px;
        height: 360px;
    }
    
    .text-content {
        padding: 30px;
    }
    
    .text-content h1 {
        font-size: 2.3rem;
    }
    
    .text-animation h2 {
        font-size: 1.6rem;
    }
    
    .text-content p {
        font-size: 0.95rem;
    }
}

/* Mobile Devices (320px - 767px) */
@media (max-width: 767px) {
    .header {
        padding: 12px 20px;
        flex-wrap: wrap;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-right: 10px;
        order: 1;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.6rem;
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    #menu {
        display: block;
        font-size: 1.8rem;
        order: 3;
    }
    
    .navbar {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(20, 30, 48, 0.95);
        backdrop-filter: blur(20px);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        border-top: 1px solid rgba(0, 255, 231, 0.2);
        order: 4;
    }
    
    .navbar.show {
        display: flex;
    }
    
    .navbar a {
        margin: 8px 0;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar a:hover {
        background: rgba(0, 255, 231, 0.1);
        transform: translateX(5px);
    }
    
    .home {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
        min-height: 100vh;
        gap: 30px;
    }
    
    .home img, .home-image {
        width: 220px;
        height: 280px;
        order: -1;
        margin-bottom: 20px;
    }
    
    .text-content {
        padding: 25px 20px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .text-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .text-animation h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .text-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 15px 0;
    }
    
    .btn-section {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Small Mobile (480px - 600px) */
@media (max-width: 600px) {
    .header {
        padding: 10px 15px;
    }
    
    .theme-toggle {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .theme-toggle i {
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    #menu {
        font-size: 1.6rem;
    }
    
    .home {
        padding: 90px 15px 40px;
    }
    
    .home img, .home-image {
        width: 200px;
        height: 260px;
    }
    
    .text-content {
        padding: 20px 15px;
    }
    
    .text-content h1 {
        font-size: 1.8rem;
    }
    
    .text-animation h2 {
        font-size: 1.2rem;
    }
    
    .text-content p {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* Extra Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .header {
        padding: 8px 12px;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    
    .theme-toggle i {
        font-size: 0.8rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    #menu {
        font-size: 1.4rem;
    }
    
    .navbar {
        padding: 15px;
    }
    
    .navbar a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .home {
        padding: 80px 12px 30px;
    }
    
    .home img, .home-image {
        width: 180px;
        height: 230px;
    }
    
    .text-content {
        padding: 18px 12px;
    }
    
    .text-content h1 {
        font-size: 1.6rem;
    }
    
    .text-animation h2 {
        font-size: 1.1rem;
    }
    
    .text-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .home {
        flex-direction: row;
        align-items: center;
        padding: 80px 20px 20px;
        min-height: 100vh;
    }
    
    .home img, .home-image {
        width: 200px;
        height: 260px;
        order: 0;
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .text-content {
        text-align: left;
        flex: 1;
    }
    
    .text-content h1 {
        font-size: 1.8rem;
    }
    
    .text-animation h2 {
        font-size: 1.3rem;
    }
}

/* Mobile Devices (320px - 768px) */
@media (max-width: 768px) {
    .skills-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .skills-table,
    .skills-table tbody,
    .skills-table th,
    .skills-table td,
    .skills-table tr {
        display: block;
    }
    
    .skills-table tr {
        border: 1px solid rgba(0, 255, 231, 0.2);
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 10px;
        background: rgba(0, 255, 231, 0.05);
    }
    
    .skills-table td {
        border: none;
        position: relative;
        padding: 8px 0;
        text-align: left;
        white-space: normal;
        color: #fff;
    }
    
    .skills-table td:before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #00ffe7;
        display: inline-block;
        width: 100px;
        margin-right: 10px;
        text-align: left;
    }
    
    .skills {
        padding: 40px 15px;
    }
    
    .skills .wrapper {
        padding: 15px 8px;
        margin: 0 5px;
    }
    
    .header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .navbar {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(20, 30, 48, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
    }
    
    .navbar.active {
        display: flex;
    }
    
    .navbar a {
        margin: 10px 0;
        padding: 10px;
        border-bottom: 1px solid #333;
    }
    
    .theme-toggle {
        margin: 15px auto;
        width: 35px;
        height: 35px;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
    

    
    #menu {
        display: block;
        color: #00ffe7;
    }
    
    .home {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
        height: auto;
        min-height: 100vh;
    }
    
    .text-content h1 {
        font-size: 2rem;
    }
    
    .text-animation h2 {
        font-size: 1.5rem;
    }
    
    @keyframes typing {
        to {
            width: 280px;
        }
    }
    
    .text-content p {
        font-size: 0.9rem;
        margin: 15px 0;
    }
    
    .btn-section {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .about {
        padding: 60px 20px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .about img {
        width: 200px;
    }
    
    .text-content2 h2 {
        font-size: 1.5rem;
    }
    
    .text-content2 p {
        font-size: 0.9rem;
    }
    
    .education {
        padding: 60px 20px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .education .box {
        padding: 20px;
    }
    
    .education-content .content {
        padding: 15px;
        margin: 15px 0;
    }
    

    
    .projects {
        padding: 60px 20px;
    }
    
    .project-item {
        margin: 30px 0;
        padding: 15px;
    }
    
    .game-container, .tictactoe-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    #gameCanvas {
        width: 300px;
        height: 300px;
    }
    
    .tictactoe-grid {
        grid-template-columns: repeat(3, 70px);
        grid-template-rows: repeat(3, 70px);
    }
    

}

/* Tablet Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .skills {
        padding: 60px 40px;
    }
    
    .skills .wrapper {
        padding: 25px 20px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .skill-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .skills-table {
        font-size: 0.9rem;
        border-spacing: 0 10px;
    }
    
    .skills-table th, .skills-table td {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .skills-table th:nth-child(1), .skills-table td:nth-child(1) {
        width: 22%;
    }
    
    .skills-table th:nth-child(2), .skills-table td:nth-child(2) {
        width: 13%;
        text-align: center;
    }
    
    .skills-table th:nth-child(3), .skills-table td:nth-child(3) {
        width: 65%;
    }
    
    .bar-bg {
        height: 24px;
        border-radius: 10px;
    }
    
    .bar-fill {
        font-size: 0.85rem;
        padding-right: 10px;
        border-radius: 10px;
    }
    
    .header {
        padding: 18px 50px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .navbar a {
        margin-left: 15px;
        font-size: 0.95rem;
    }
    
    .home {
        padding: 130px 50px 0;
        gap: 30px;
    }
    
    .home img, .home-image {
        width: 300px;
        height: 390px;
    }
    
    .text-content h1 {
        font-size: 2.5rem;
    }
    
    .text-animation h2 {
        font-size: 1.8rem;
    }
    
    @keyframes typing {
        to {
            width: 320px;
        }
    }
    
    .about {
        padding: 80px 50px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about img {
        width: 250px;
    }
    
    .education {
        padding: 70px 50px;
    }
    

    
    .projects {
        padding: 70px 50px;
    }
}

/* Large Screens (1025px+) */
@media (min-width: 1025px) {
    .header {
        padding: 20px 100px;
    }
    
    .home {
        padding: 150px 100px 0;
    }
    
    .about {
        padding: 100px;
    }
    
    .education {
        padding: 80px 100px;
    }
    
    .skills {
        padding: 80px 100px;
    }
    
    .projects {
        padding: 80px 100px;
    }
}

/* Small Mobile Devices (481px - 600px) */
@media (max-width: 600px) {
    .skills {
        padding: 35px 10px;
    }
    
    .skills .wrapper {
        padding: 12px 6px;
        margin: 0 2px;
    }
    
    .skills-table {
        font-size: 0.8rem;
        border-spacing: 0 6px;
    }
    
    .skills-table th, .skills-table td {
        padding: 5px 4px;
        font-size: 0.75rem;
    }
    
    .skills-table th:nth-child(1), .skills-table td:nth-child(1) {
        width: 30%;
        font-size: 0.7rem;
    }
    
    .skills-table th:nth-child(2), .skills-table td:nth-child(2) {
        width: 15%;
        font-size: 0.7rem;
    }
    
    .skills-table th:nth-child(3), .skills-table td:nth-child(3) {
        width: 55%;
    }
    
    .bar-bg {
        height: 18px;
    }
    
    .bar-fill {
        font-size: 0.7rem;
        padding-right: 4px;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    .skills {
        padding: 30px 8px;
    }
    
    .skills .wrapper {
        padding: 10px 4px;
        margin: 0;
        border-radius: 15px;
    }
    
    .skill-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .skills-table {
        font-size: 0.75rem;
        border-spacing: 0 5px;
    }
    
    .skills-table th, .skills-table td {
        padding: 4px 3px;
        font-size: 0.7rem;
    }
    
    .skills-table th:nth-child(1), .skills-table td:nth-child(1) {
        width: 26%;
        font-size: 0.65rem;
    }
    
    .skills-table th:nth-child(2), .skills-table td:nth-child(2) {
        width: 16%;
        font-size: 0.65rem;
    }
    
    .skills-table th:nth-child(3), .skills-table td:nth-child(3) {
        width: 58%;
    }
    
    .bar-bg {
        height: 16px;
        border-radius: 6px;
    }
    
    .bar-fill {
        font-size: 0.65rem;
        padding-right: 3px;
        border-radius: 6px;
    }
    
    .bar-fill::before {
        left: 2px;
        font-size: 0.5rem;
    }
    
    .header {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .home {
        padding: 100px 15px 30px;
    }
    
    .home img, .home-image {
        width: 200px;
        height: 260px;
    }
    
    .text-content h1 {
        font-size: 1.8rem;
    }
    
    .text-animation h2 {
        font-size: 1.3rem;
    }
    
    @keyframes typing {
        to {
            width: 250px;
        }
    }
    
    .text-content p {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .about {
        padding: 50px 15px;
    }
    
    .about img {
        width: 180px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .text-content2 h2 {
        font-size: 1.3rem;
    }
    
    .education {
        padding: 50px 15px;
    }
    
    .education .box {
        padding: 15px;
    }
    

    
    .projects {
        padding: 50px 15px;
    }
    
    .project-item {
        margin: 25px 0;
        padding: 10px;
    }
    
    #gameCanvas {
        width: 280px;
        height: 280px;
    }
    
    .tictactoe-grid {
        grid-template-columns: repeat(3, 60px);
        grid-template-rows: repeat(3, 60px);
    }
    
    .cell {
        font-size: 1.5rem;
    }
    

}

/******************** PROJECTS ********************/
.projects {
    padding: 80px 100px;
    background: #000;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.project-item {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
    backdrop-filter: blur(28px) saturate(190%) brightness(1.08);
    -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(1.08);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 12px 38px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.09),
        0 0 50px rgba(0, 255, 231, 0.08);
    position: relative;
    overflow: hidden;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.8s ease;
}

.project-item:hover::before {
    left: 100%;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 231, 0.2);
}

.project-title {
    font-size: 2rem;
    color: #00ffe7;
    margin-bottom: 30px;
    text-align: center;
}

.game-container, .tictactoe-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.game-board, .tictactoe-board {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 255, 231, 0.5);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.game-board:hover, .tictactoe-board:hover {
    box-shadow: 0 0 40px rgba(0, 255, 231, 0.5);
}

#gameCanvas {
    background: #111;
    border-radius: 8px;
    display: block;
}

.game-controls, .tictactoe-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 220px;
    max-width: 300px;
}

.score, .high-score, .current-player, .game-status {
    background: rgba(0, 255, 231, 0.1);
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #00ffe7;
    color: #00ffe7;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

.game-btn {
    padding: 14px 24px;
    background: linear-gradient(270deg, #00ffe7 10%, #00ffff 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 231, 0.4);
    background: linear-gradient(270deg, #00ffff 10%, #00ffe7 100%);
}

.game-btn:active {
    transform: translateY(-1px);
}

.game-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.instructions {
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid rgba(0, 255, 231, 0.3);
}

.difficulty-selector {
    margin-bottom: 15px;
    text-align: center;
}

.difficulty-selector label {
    color: #00ffe7;
    font-weight: 600;
    margin-right: 10px;
}

.difficulty-dropdown {
    background: #1a1a1a;
    color: #00ffe7;
    border: 2px solid #00ffe7;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
}

.difficulty-dropdown:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 231, 0.5);
}

.instructions p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.4;
}

/* Mobile Arrow Controls */
.mobile-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}

.arrow-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(270deg, #00ffe7 10%, #00ffff 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 255, 231, 0.3);
}

.arrow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 231, 0.5);
    background: linear-gradient(270deg, #00ffff 10%, #00ffe7 100%);
}

.arrow-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 255, 231, 0.4);
}

/* Tic Tac Toe Styles */
.tictactoe-grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 8px;
    background: #00ffe7;
    padding: 8px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 231, 0.3);
}

.cell {
    background: #111;
    border: none;
    font-size: 2.2rem;
    font-weight: bold;
    color: #00ffe7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cell:hover {
    background: #222;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 231, 0.5);
}

.cell.x {
    color: #ff0040;
    text-shadow: 0 0 10px #ff0040;
}

.cell.o {
    color: #00ffe7;
    text-shadow: 0 0 10px #00ffe7;
}

/* Responsive Design for Projects */
@media (max-width: 1024px) {
    .projects {
        padding: 60px 50px;
    }
    
    .game-container, .tictactoe-container {
        gap: 30px;
    }
    
    .project-item {
        padding: 30px;
        margin: 40px 0;
    }
}

@media (max-width: 768px) {
    .projects {
        padding: 50px 30px;
    }
    
    .project-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .game-container, .tictactoe-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .game-board, .tictactoe-board {
        padding: 12px;
    }
    
    #gameCanvas {
        width: 320px;
        height: 320px;
    }
    
    .tictactoe-grid {
        grid-template-columns: repeat(3, 85px);
        grid-template-rows: repeat(3, 85px);
        gap: 6px;
        padding: 6px;
    }
    
    .cell {
        font-size: 1.8rem;
    }
    
    .game-controls, .tictactoe-controls {
        min-width: 280px;
        max-width: 320px;
    }
    
    .project-item {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .arrow-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 40px 20px;
    }
    
    .project-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .project-item {
        padding: 20px 15px;
        margin: 25px 0;
    }
    
    #gameCanvas {
        width: 280px;
        height: 280px;
    }
    
    .tictactoe-grid {
        grid-template-columns: repeat(3, 70px);
        grid-template-rows: repeat(3, 70px);
        gap: 5px;
        padding: 5px;
    }
    
    .cell {
        font-size: 1.5rem;
    }
    
    .game-controls, .tictactoe-controls {
        min-width: 250px;
        max-width: 280px;
    }
    
    .game-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .score, .high-score, .current-player, .game-status {
        padding: 10px 14px;
        font-size: 1rem;
    }
    
    .instructions {
        padding: 12px;
    }
    
    .instructions p {
        font-size: 0.85rem;
    }
    
    .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .mobile-controls {
        gap: 6px;
    }
    
    .arrow-row {
        gap: 6px;
    }
}

@media (max-width: 360px) {
    .projects {
        padding: 30px 15px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    #gameCanvas {
        width: 250px;
        height: 250px;
    }
    
    .tictactoe-grid {
        grid-template-columns: repeat(3, 60px);
        grid-template-rows: repeat(3, 60px);
    }
    
    .cell {
        font-size: 1.3rem;
    }
    
    .game-controls, .tictactoe-controls {
        min-width: 220px;
        max-width: 250px;
    }
    
    .project-item {
        padding: 15px 10px;
    }
}

/******************** CALL BREAK GAME STYLES ********************/
.callbreak-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.game-area {
    position: relative;
    width: 500px;
    height: 400px;
    background: #0a4d3a;
    border-radius: 20px;
    border: 3px solid #00ffe7;
    box-shadow: 0 0 30px rgba(0, 255, 231, 0.3);
}

.player-area {
    position: absolute;
    background: rgba(0, 255, 231, 0.1);
    border: 2px solid #00ffe7;
    border-radius: 10px;
    padding: 10px;
    color: #00ffe7;
    font-weight: bold;
    text-align: center;
    min-width: 80px;
}

#player1 { top: 10px; left: 50%; transform: translateX(-50%); }
#player2 { top: 50%; right: 10px; transform: translateY(-50%); }
#player3 { bottom: 10px; left: 50%; transform: translateX(-50%); }
#human-player { top: 50%; left: 10px; transform: translateY(-50%); }

.center-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.trick-card {
    background: white;
    border-radius: 8px;
    padding: 5px;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
}

.trick-card .card-content {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.trick-card .player-label {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
}

.player-hand {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    max-height: 200px;
    overflow-y: auto;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 8px 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 35px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 255, 231, 0.4);
}

.card-content {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.card-content.hearts, .card-content.diamonds {
    color: #e74c3c;
}

.card-content.clubs, .card-content.spades {
    color: #2c3e50;
}

.bid-section {
    background: rgba(0, 255, 231, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #00ffe7;
    margin: 15px 0;
}

.bid-section label {
    display: block;
    color: #00ffe7;
    margin-bottom: 8px;
    font-weight: 600;
}

.bid-section input {
    width: 100%;
    padding: 8px;
    border: 1px solid #00ffe7;
    border-radius: 5px;
    background: #1a1a1a;
    color: white;
    margin-bottom: 10px;
}

/* Responsive Call Break Styles */
@media (max-width: 768px) {
    .callbreak-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .game-area {
        width: 350px;
        height: 280px;
    }
    
    .player-area {
        padding: 8px;
        min-width: 60px;
        font-size: 12px;
    }
    
    .center-area {
        width: 150px;
        height: 100px;
    }
    
    .card {
        min-width: 30px;
        padding: 6px 4px;
    }
    
    .card-content {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .game-area {
        width: 300px;
        height: 240px;
    }
    
    .player-area {
        padding: 6px;
        min-width: 50px;
        font-size: 11px;
    }
    
    .center-area {
        width: 120px;
        height: 80px;
    }
    
    .player-hand {
        gap: 5px;
    }
    
    .card {
        min-width: 28px;
        padding: 4px 3px;
    }
    
    .card-content {
        font-size: 9px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .skills {
        padding: 30px 15px;
    }
    
    .skills .wrapper {
        padding: 15px 10px;
    }
    
    .skills-table {
        font-size: 0.8rem;
    }
    
    .skills-table th, .skills-table td {
        padding: 5px 6px;
        font-size: 0.75rem;
    }
    
    .bar-bg {
        height: 18px;
    }
    
    .bar-fill {
        font-size: 0.7rem;
    }
    
    .home {
        flex-direction: row;
        align-items: center;
        padding: 80px 20px 20px;
        min-height: 100vh;
    }
    
    .home img, .home-image {
        width: 200px;
        height: 260px;
        order: 0;
        margin-bottom: 0;
    }
    
    .text-content {
        text-align: left;
    }
    
    .projects {
        padding: 40px 20px;
    }
    
    .project-item {
        margin: 30px 0;
        padding: 20px;
    }
    
    .game-container, .tictactoe-container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 25px;
        flex-wrap: wrap;
    }
    
    #gameCanvas {
        width: 280px;
        height: 280px;
    }
    
    .tictactoe-grid {
        grid-template-columns: repeat(3, 75px);
        grid-template-rows: repeat(3, 75px);
    }
    
    .game-controls, .tictactoe-controls {
        min-width: 200px;
        max-width: 250px;
    }
}




/* ************** Services Section ****************** */
.services {
    background: #000;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 80px 100px;
    text-align: center;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.27), transparent);
    z-index: 1;
}

.services .title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #00ffe7;
}

.services .serv-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.services .card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(25px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    width: 320px;
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.services .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 255, 231, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.services .card:hover::after {
    opacity: 1;
}

.services .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 255, 231, 0.25);
}

.services .box i {
    font-size: 32px;
    color: #0b1c26;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(145deg, #00ffe7, #00bfff);
    box-shadow:
        0 16px 26px rgba(0, 0, 0, 0.55),
        inset 0 3px 6px rgba(255, 255, 255, 0.7);
    transform-style: preserve-3d;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.services .card:hover .box i {
    transform: translateY(-4px) rotateX(10deg) rotateY(-10deg);
    box-shadow:
        0 24px 34px rgba(0, 0, 0, 0.7),
        inset 0 4px 8px rgba(255, 255, 255, 0.9);
}

.services .box .text {
    font-size: 20px;
    font-weight: bold;
    color: #00ffe7;
    margin-bottom: 15px;
}

.services .box p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

/******************** CONTACT ********************/
.contact {
    padding: 100px;
    background: #000;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.contact form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(32px) saturate(200%) brightness(1.12);
    -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 80px rgba(0, 255, 231, 0.12);
    position: relative;
    overflow: hidden;
}

.contact form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 231, 0.6), transparent);
    z-index: 1;
}

.contact .title {
    text-align: center;
    margin-bottom: 50px;
}

.input-box {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-box input {
    flex: 1;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: #2c2c2c;
    color: white;
    resize: none;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00ffe7;
}

input::placeholder, textarea::placeholder {
    color: #aaa;
}

input[type="submit"] {
    background: linear-gradient(45deg, #00ffe7, #00ffff);
    color: #0f0f0f;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 231, 0.3);
}

.about-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.about-actions .btn {
    background: linear-gradient(45deg, #00ffe7, #00bfff, #00ffe7);
    background-size: 200% 200%;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: gradientShift 3s ease-in-out infinite;
    box-shadow: 0 5px 20px rgba(0, 255, 231, 0.4);
}

.about-actions .btn a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-actions .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 231, 0.6);
    filter: brightness(1.2);
}

/******************** FOOTER ********************/
footer {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 231, 0.5), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    margin-top: 10px;
}

.email-link {
    color: #00ffe7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 255, 231, 0.3);
    border-radius: 25px;
    background: rgba(0, 255, 231, 0.1);
    transition: all 0.3s ease;
}

.email-link:hover {
    background: rgba(0, 255, 231, 0.2);
    border-color: rgba(0, 255, 231, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 231, 0.3);
}

.back-to-top {
    color: #00ffe7;
    font-size: 2rem;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(0, 255, 231, 0.1);
    border: 1px solid rgba(0, 255, 231, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(0, 255, 231, 0.2);
    box-shadow: 0 5px 15px rgba(0, 255, 231, 0.4);
    color: #00ffe7;
}



/******************** ANIMATIONS ********************/
@keyframes slideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Scroll Reveal Animation Classes */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-top {
    opacity: 0;
    transform: translateY(-80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-bottom {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-fade {
    opacity: 0;
    transition: all 0.8s ease-out;
}

/* Active states for reveal animations */
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-top.revealed,
.reveal-bottom.revealed,
.reveal-scale.revealed,
.reveal-fade.revealed {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

/* Staggered animation delays for multiple elements */
.about-card:nth-child(1) { transition-delay: 0.1s; }
.about-card:nth-child(2) { transition-delay: 0.2s; }
.about-card:nth-child(3) { transition-delay: 0.3s; }
.about-card:nth-child(4) { transition-delay: 0.4s; }
.about-card:nth-child(5) { transition-delay: 0.5s; }
.about-card:nth-child(6) { transition-delay: 0.6s; }

.services .card:nth-child(1) { transition-delay: 0.1s; }
.services .card:nth-child(2) { transition-delay: 0.3s; }
.services .card:nth-child(3) { transition-delay: 0.5s; }

.project-item:nth-child(1) { transition-delay: 0.1s; }
.project-item:nth-child(2) { transition-delay: 0.3s; }
.project-item:nth-child(3) { transition-delay: 0.5s; }
.project-item:nth-child(4) { transition-delay: 0.7s; }

@keyframes rotate360 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateAndFloat {
    0% { transform: perspective(1000px) rotateY(-5deg) translateY(0); }
    25% { transform: perspective(1000px) rotateY(-8deg) translateY(-10px); }
    50% { transform: perspective(1000px) rotateY(-5deg) translateY(-20px); }
    75% { transform: perspective(1000px) rotateY(-2deg) translateY(-10px); }
    100% { transform: perspective(1000px) rotateY(-5deg) translateY(0); }
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fillBar {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(0, 255, 231, 0.3); }
    100% { box-shadow: 0 0 40px rgba(0, 255, 231, 0.8), 0 0 60px rgba(0, 191, 255, 0.4); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100vh); }
}

@keyframes pulseWidth {
    0% { width: 50px; opacity: 0.5; }
    100% { width: 150px; opacity: 1; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/******************** RESPONSIVE ********************/
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    #menu {
        display: block;
    }

    .navbar {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        background: #141e30;
        width: 100%;
        flex-direction: column;
        padding: 20px;
    }

    .navbar a {
        margin: 10px 0;
    }

    .navbar.show {
        display: flex;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
        min-height: 100vh;
        justify-content: center;
        gap: 30px;
    }

    .home img, .home-image {
        width: 250px;
        height: 320px;
        margin: 0 auto;
    }

    .text-content h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .text-animation h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .about {
        padding: 80px 20px;
        margin-top: 30px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        width: 250px;
    }

    .text-content2 {
        padding: 0 20px;
    }

    .education {
        padding: 60px 20px;
    }

    .skills {
        padding: 60px 20px;
    }

    .services {
        padding: 60px 20px;
    }

    .contact {
        padding: 60px 20px;
    }

    .input-box {
        flex-direction: column;
    }

    .btn-section {
        justify-content: center;
        flex-direction: column;
    }

    .btn-section .btn {
        width: 100%;
        text-align: center;
    }

    .about-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-actions .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .email-link {
        font-size: 0.9rem;
    }

    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }

    .home img, .home-image {
        width: 220px;
        height: 280px;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .text-animation h2 {
        font-size: 1.2rem;
    }

    .about img {
        width: 200px;
    }

    .title {
        font-size: 2rem;
    }

    .services .card {
        width: 100%;
    }
}
/* Very Small Devices (max-width: 390px) */
@media (max-width: 390px) {
    .skills {
        padding: 25px 5px;
    }
    
    .skills .wrapper {
        padding: 8px 3px;
        margin: 0;
        border-radius: 12px;
    }
    
    .skill-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .skills-table {
        font-size: 0.7rem;
        border-spacing: 0 4px;
    }
    
    .skills-table th, .skills-table td {
        padding: 3px 2px;
        font-size: 0.65rem;
    }
    
    .skills-table th:nth-child(1), .skills-table td:nth-child(1) {
        width: 24%;
        font-size: 0.6rem;
    }
    
    .skills-table th:nth-child(2), .skills-table td:nth-child(2) {
        width: 14%;
        font-size: 0.6rem;
    }
    
    .skills-table th:nth-child(3), .skills-table td:nth-child(3) {
        width: 62%;
    }
    
    .bar-bg {
        height: 14px;
        border-radius: 5px;
    }
    
    .bar-fill {
        font-size: 0.6rem;
        padding-right: 2px;
        border-radius: 5px;
    }
    
    .bar-fill::before {
        display: none;
    }
    
    .logo {
        font-size: 1.8rem;
    }

    .home img, .home-image {
        width: 220px;
        height: 280px;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .text-animation h2 {
        font-size: 1.2rem;
    }

    .about img {
        width: 200px;
    }

    .title {
        font-size: 2rem;
    }

    .services .card {
        width: 100%;
    }
}
/* Project Preview Styles */
.project-preview {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.project-image {
    flex: 1;
    min-width: 250px;
}

.project-screenshot {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 255, 231, 0.4);
}

.project-details {
    flex: 1;
    min-width: 250px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech {
    background: rgba(0, 255, 231, 0.1);
    border: 1px solid #00ffe7;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #00ffe7;
}

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-btn {
    padding: 10px 20px;
    background: linear-gradient(270deg, #00ffe7 10%, #00ffff 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 231, 0.4);
}

.project-status {
    margin-top: 15px;
}

.status-badge {
    background: #ff6b35;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Games Section */
.games {
    padding: 80px 100px;
    background: #000;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    z-index: 1;
}

@media (max-width: 768px) {
    .project-preview {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-image, .project-details {
        min-width: 100%;
    }
    
    .placeholder-image {
        padding: 40px 20px;
    }
    
    .placeholder-image i {
        font-size: 2rem;
    }
    
    .games {
        padding: 60px 20px;
    }
}