/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    background-color: black;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f23;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00bfff, #40e0d0);
}

/* ===== HERO SECTION ===== */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 80%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 70%; left: 30%; animation-delay: 4s; }
.particle:nth-child(6) { top: 40%; left: 90%; animation-delay: 5s; }

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-greeting {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.greeting-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: #40e0d0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    line-height: 1.1;
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin: 0;
    color: #40e0d0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    letter-spacing: 1px;
}

.hero-description {
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

.hero-description p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.6;
}

/* Call to Action Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    color: #0a0a1a;
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(64, 224, 208, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #40e0d0;
    border: 2px solid #40e0d0;
}

.cta-button.secondary:hover {
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.2);
}

/* Tech Stack Preview */
.tech-stack-preview {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s forwards;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.2);
}

.tech-item i {
    font-size: 2rem;
    color: #40e0d0;
}

.tech-item span {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 500;
}

/* Dropdown Arrow */
.dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: 50%;
    margin: 2rem auto 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 2.5s forwards;
    position: relative;
    overflow: hidden;
}

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

.dropdown-arrow:hover::before {
    left: 100%;
}

.dropdown-arrow:hover {
    background: rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.3);
}

.dropdown-arrow i {
    font-size: 1.5rem;
    color: #40e0d0;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.dropdown-arrow:hover i {
    color: #00bfff;
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 4.5rem;
    left: 49%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 4s forwards;
    text-align: center;
    width: auto;
}

.scroll-text {
    font-size: 0.9rem;
    color: #808080;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    color: #40e0d0;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* ===== NAVIGATION BAR ===== */
.modern-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.modern-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.brand-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(64, 224, 208, 0.5);
}

.brand-icon {
    font-size: 1.8rem;
    margin-right: 0.5rem;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
    position: relative;
}

.brand-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.2) 0%, transparent 70%);
    animation: float 3s ease-in-out infinite;
    pointer-events: none;
    border-radius: 50%;
}

.brand-text {
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #e0e0e0;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #fff;
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.2);
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    color: #40e0d0;
    background: rgba(64, 224, 208, 0.15);
    box-shadow: 0 4px 20px rgba(64, 224, 208, 0.3);
    border: 1px solid rgba(64, 224, 208, 0.3);
}

.nav-link.active i {
    color: #40e0d0;
    animation: glow 2s ease-in-out infinite alternate;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
}

.nav-toggle:hover {
    background: rgba(64, 224, 208, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #40e0d0, #40e0d0);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== SECTIONS ===== */
section {
    margin: 2rem auto;
    padding: 1rem;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 60px;
}

.content-box h2 {
    font-size: 3rem;
    text-align: center;
    color: white;
}

/* ===== MODERN ABOUT SECTION ===== */
.modern-about-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    padding: 4rem 0;
}

/* Background Elements */
.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.code-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.code-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #40e0d0, transparent);
    animation: codeFlow 8s linear infinite;
    opacity: 0.3;
}

.code-line:nth-child(1) {
    top: 20%;
    left: -100%;
    width: 200px;
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    top: 40%;
    left: -100%;
    width: 150px;
    animation-delay: 2s;
}

.code-line:nth-child(3) {
    top: 60%;
    left: -100%;
    width: 180px;
    animation-delay: 4s;
}

.code-line:nth-child(4) {
    top: 80%;
    left: -100%;
    width: 120px;
    animation-delay: 6s;
}

.code-line:nth-child(5) {
    top: 30%;
    left: -100%;
    width: 160px;
    animation-delay: 1s;
}

.tech-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 25s linear infinite;
}

/* About Container */
.about-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, #40e0d0, #00bfff, #40e0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

.title-icon {
    font-size: 0.8em;
    margin-right: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin: 0;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Content Grid */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Profile card is centered with max width */
.profile-card {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 500px;
    width: 100%;
}

/* Summary card spans full width */
.summary-card {
    grid-column: 1 / -1;
}

/* Beyond Code and Technical Focus cards are centered and spaced */
.interests-card,
.expertise-card {
    grid-column: span 1;
    justify-self: center;
    max-width: 400px;
    width: 100%;
    margin: 1rem 0;
    position: relative;
}

/* Add extra spacing between the two featured cards */
.interests-card {
    margin-right: 1rem;
}

.expertise-card {
    margin-left: 1rem;
}

/* Card Base Styles */
.profile-card,
.summary-card,
.expertise-card,
.interests-card,
.sports-card,
.code-snippet-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-card::before,
.summary-card::before,
.expertise-card::before,
.interests-card::before,
.sports-card::before,
.code-snippet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    transition: left 0.6s ease;
}

.profile-card:hover::before,
.summary-card:hover::before,
.expertise-card:hover::before,
.interests-card:hover::before,
.sports-card:hover::before,
.code-snippet-card:hover::before {
    left: 100%;
}

.profile-card:hover,
.summary-card:hover,
.expertise-card:hover,
.interests-card:hover,
.sports-card:hover,
.code-snippet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

/* Profile Card */
.profile-card {
    text-align: center;
    margin: 0 auto;
    position: relative;
}

.profile-image-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(64, 224, 208, 0.3);
    transition: all 0.3s ease;
}

.profile-card:hover .profile-image {
    border-color: rgba(64, 224, 208, 0.8);
    box-shadow: 0 0 30px rgba(64, 224, 208, 0.4);
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    color: #00ff88;
    font-weight: 500;
}

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

.profile-title {
    font-size: 1.1rem;
    color: #40e0d0;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* Card Headers */
.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header i {
    font-size: 1.5rem;
    color: #40e0d0;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Summary Card */
.summary-card {
    grid-column: span 2;
}

.summary-text {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tech-highlights {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: linear-gradient(45deg, rgba(64, 224, 208, 0.2), rgba(0, 191, 255, 0.2));
    border: 1px solid rgba(64, 224, 208, 0.3);
    color: #40e0d0;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(45deg, rgba(64, 224, 208, 0.3), rgba(0, 191, 255, 0.3));
    transform: translateY(-2px);
}

/* Expertise Card */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    transform: translateY(-5px);
}

.expertise-item i {
    font-size: 2rem;
    color: #40e0d0;
}

.expertise-item span {
    color: #e0e0e0;
    font-weight: 500;
    text-align: center;
}

/* Interests & Sports Cards */
.interests-grid,
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.interest-item,
.sport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.interest-item:hover,
.sport-item:hover {
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    transform: translateY(-5px);
}

.interest-icon,
.sport-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(64, 224, 208, 0.3);
}

.interest-item span,
.sport-item span {
    color: #e0e0e0;
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
}

/* Code Snippet Card */
.code-snippet-card {
    grid-column: span 2;
}

.code-block {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-line {
    margin-bottom: 0.5rem;
    display: block;
}

.code-comment {
    color: #6a9955;
    font-style: italic;
}

.code-keyword {
    color: #569cd6;
    font-weight: bold;
}

.code-variable {
    color: #9cdcfe;
}

.code-string {
    color: #ce9178;
}

.code-function {
    color: #dcdcaa;
}

/* Animations */
@keyframes codeFlow {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { left: 100%; opacity: 0; }
}

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

/* ===== MODERN EXPERIENCE SECTION ===== */
.modern-experience-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    padding: 4rem 0;
}

/* Background Elements */
.experience-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 50%;
    animation: techFloat 8s ease-in-out infinite;
}

.tech-particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.tech-particle:nth-child(2) { top: 25%; left: 80%; animation-delay: 1.5s; }
.tech-particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 3s; }
.tech-particle:nth-child(4) { top: 75%; left: 70%; animation-delay: 4.5s; }
.tech-particle:nth-child(5) { top: 40%; left: 50%; animation-delay: 2s; }
.tech-particle:nth-child(6) { top: 85%; left: 30%; animation-delay: 5.5s; }

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: circuitMove 30s linear infinite;
}

/* Experience Container */
.experience-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Experience Header */
.experience-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Experience Timeline */
.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}


/* Experience Items */
.experience-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 0;
}

.experience-item.current {
    margin-bottom: 4rem;
}




/* Experience Cards */
.experience-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    transition: left 0.6s ease;
}

.experience-card:hover::before {
    left: 100%;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

/* Experience Header Card */
.experience-header-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo-container {
    position: relative;
}

.company-logo {
    width: 80px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0;
    border: 2px solid rgba(64, 224, 208, 0.3);
    transition: all 0.3s ease;
    max-width: 100%;
    max-height: 100%;
}

.experience-card:hover .company-logo {
    border-color: rgba(64, 224, 208, 0.6);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

.company-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    color: #0a0a1a;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-badge.internship {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
}

.company-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.company-industry {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.role-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.employment-type {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employment-type.full-time {
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.employment-type.internship {
    background: linear-gradient(45deg, rgba(255, 165, 0, 0.2), rgba(255, 165, 0, 0.1));
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.duration {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Role Info */
.role-info {
    margin-bottom: 2rem;
}

.role-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #40e0d0;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.role-description {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Achievements */
.achievements {
    margin-bottom: 2rem;
}

.achievements-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem 0;
}

.achievements-title i {
    color: #40e0d0;
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid rgba(64, 224, 208, 0.3);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(64, 224, 208, 0.05);
    border-left-color: rgba(64, 224, 208, 0.6);
    transform: translateX(5px);
}

.achievement-item i {
    color: #00ff88;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.achievement-item span {
    color: #e0e0e0;
    line-height: 1.5;
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 0;
}

.tech-stack-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem 0;
}

.tech-stack-title i {
    color: #40e0d0;
}

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

.tech-tag {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-tag.primary {
    background: linear-gradient(45deg, rgba(64, 224, 208, 0.2), rgba(0, 191, 255, 0.2));
    border: 1px solid rgba(64, 224, 208, 0.4);
    color: #40e0d0;
}

.tech-tag.secondary {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 224, 208, 0.2);
}

.tech-tag.primary:hover {
    background: linear-gradient(45deg, rgba(64, 224, 208, 0.3), rgba(0, 191, 255, 0.3));
}

.tech-tag.secondary:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-color: rgba(64, 224, 208, 0.3);
    color: #40e0d0;
}

/* Timeline End */
.timeline-end {
    position: relative;
    padding-left: 80px;
}

/* Animations */
@keyframes techFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

@keyframes circuitMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* ===== MODERN EDUCATION SECTION ===== */
.modern-education-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow: hidden;
    padding: 4rem 0;
}

/* Education Background */
.education-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 25s linear infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; left: 85%; animation-delay: 2s; }
.floating-element:nth-child(3) { top: 80%; left: 15%; animation-delay: 4s; }
.floating-element:nth-child(4) { top: 40%; left: 90%; animation-delay: 6s; }

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
}

/* Education Container */
.education-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Education Header */
.education-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    font-size: 0.8em;
    filter: drop-shadow(0 0 10px rgba(64, 224, 208, 0.5));
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin: 0;
    font-weight: 300;
}

/* Education Timeline */
.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Education Cards */
.education-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.education-card:hover::before {
    left: 100%;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #40e0d0, #00bfff, #40e0d0);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-card:hover .card-glow {
    opacity: 1;
}

/* Status Badges */
.education-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.status-badge.upcoming {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-badge.completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Education Content */
.education-content {
    position: relative;
    z-index: 2;
}

.university-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.university-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(64, 224, 208, 0.3);
    padding: 0;
    transition: all 0.3s ease;
}

.university-logo:hover {
    border-color: rgba(64, 224, 208, 0.6);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
    transform: scale(1.05);
}

.university-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    background: transparent;
}

.university-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 1rem;
    margin: 0;
}

.location i {
    color: #40e0d0;
}

/* Degree Info */
.degree-info {
    margin-bottom: 1.5rem;
}

.degree-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #40e0d0;
}

.degree-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.degree-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.degree-meta i {
    color: #40e0d0;
    width: 16px;
}

/* Education Skills */
.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(64, 224, 208, 0.1);
    color: #40e0d0;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(64, 224, 208, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(64, 224, 208, 0.2);
    transform: translateY(-2px);
}

/* Education Stats */
.education-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #0a0a1a;
}

.stat-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.stat-content p {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
}

/* Skills Section */
/* ===== MODERN SKILLS & CERTIFICATIONS SECTION ===== */
.modern-skills-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow: hidden;
    padding: 4rem 0;
}

/* Skills Background */
.skills-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(64, 224, 208, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #40e0d0;
    animation: float 10s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.floating-icon:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 25%; left: 85%; animation-delay: 2s; }
.floating-icon:nth-child(3) { top: 60%; left: 15%; animation-delay: 4s; }
.floating-icon:nth-child(4) { top: 70%; left: 80%; animation-delay: 6s; }
.floating-icon:nth-child(5) { top: 40%; left: 5%; animation-delay: 8s; }
.floating-icon:nth-child(6) { top: 80%; left: 90%; animation-delay: 10s; }

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(64, 224, 208, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 191, 255, 0.08) 0%, transparent 50%);
}

/* Skills Container */
.skills-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Skills Content */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Section Cards */
.section-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.section-card:hover::before {
    left: 100%;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0a0a1a;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* Certifications */
.certification-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.certification-item:hover {
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    transform: translateY(-2px);
}

.cert-logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(64, 224, 208, 0.3);
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cert-logo:hover {
    border-color: rgba(64, 224, 208, 0.6);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
    transform: scale(1.05);
}

.cert-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    background: transparent;
}

.cert-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #40e0d0;
}

.cert-issuer {
    color: #b0b0b0;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.cert-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cert-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.cert-meta i {
    color: #40e0d0;
    width: 14px;
}

/* Skills Categories */
.skill-category {
    margin-bottom: 2rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: #40e0d0;
}

.category-title i {
    font-size: 1rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.skill-item:hover {
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    transform: translateY(-2px);
}

.skill-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    color: #0a0a1a;
}

.skill-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #40e0d0, #00bfff);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

.skill-percentage {
    font-size: 0.85rem;
    color: #b0b0b0;
    font-weight: 600;
    min-width: 35px;
}

/* Skills Tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag.primary {
    background: rgba(64, 224, 208, 0.1);
    color: #40e0d0;
    border: 1px solid rgba(64, 224, 208, 0.3);
}

.skill-tag.secondary {
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 224, 208, 0.2);
}

/* Specializations */
.specializations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.specialization-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.specialization-item:hover {
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    transform: translateY(-2px);
}

.spec-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0a0a1a;
}

.spec-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.spec-content p {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin: 0;
}

/* Skills Summary */
.skills-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.summary-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #0a0a1a;
}

.summary-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.summary-content p {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== MODERN CONTACT SECTION ===== */
.modern-contact-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow: hidden;
    padding: 4rem 0;
}

/* Contact Background */
.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 30s linear infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(64, 224, 208, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #40e0d0;
    animation: float 12s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.floating-element:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 30%; left: 80%; animation-delay: 3s; }
.floating-element:nth-child(3) { top: 70%; left: 20%; animation-delay: 6s; }
.floating-element:nth-child(4) { top: 80%; left: 85%; animation-delay: 9s; }

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 25%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
}

/* Contact Container */
.contact-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #40e0d0, #00bfff, #40e0d0);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover .card-glow {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #0a0a1a;
}

.contact-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.contact-details p {
    color: #b0b0b0;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #40e0d0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #00bfff;
    transform: translateX(5px);
}

.contact-link i {
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(3px);
}

/* Contact Form */
.contact-form-section {
    display: flex;
    align-items: flex-start;
}

.form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.form-card:hover::before {
    left: 100%;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.form-header p {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #40e0d0;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #40e0d0;
    background: rgba(64, 224, 208, 0.1);
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.submit-btn {
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    color: #0a0a1a;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(64, 224, 208, 0.3);
}

/* Contact Stats */
.contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #0a0a1a;
}

.stat-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.stat-content p {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== MODERN PROJECTS SECTION ===== */
.modern-projects-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow: hidden;
    padding: 4rem 0;
}

/* Projects Background */
.projects-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.code-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 30s linear infinite;
}

.floating-code {
    position: absolute;
    width: 100%;
    height: 100%;
}

.code-snippet {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #40e0d0;
    opacity: 0.6;
    animation: float 15s ease-in-out infinite;
}

.code-snippet:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.code-snippet:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.code-snippet:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: 10s;
}

.code-line {
    display: block;
    margin-bottom: 0.25rem;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
}

/* Projects Container */
.projects-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Projects Header */
.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-header .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

.projects-header .title-icon {
    font-size: 0.8em;
    margin-right: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.projects-header .section-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin: 0;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    transition: left 0.6s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.project-card.featured {
    background: rgba(64, 224, 208, 0.05);
    border-color: rgba(64, 224, 208, 0.2);
}


/* Project Image Container */
.project-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-preview {
    width: 80%;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28ca42; }

.preview-title {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
}

.preview-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.preview-logo {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    background: transparent;
    padding: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.project-logo-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.preview-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    text-align: center;
    padding: 1rem 0.5rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

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

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

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

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    color: #0a0a1a;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(64, 224, 208, 0.3);
}

/* Project Content */
.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== PROJECT DROPDOWN SYSTEM ===== */

/* Project Card Base Styles */
.project-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

/* Toggle Button */
.project-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(64, 224, 208, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #40e0d0;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.2);
}

.project-toggle:hover {
    background: rgba(64, 224, 208, 0.25);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(64, 224, 208, 0.3);
}

.project-toggle i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Collapsed State */
.project-card.collapsed {
    height: auto;
    min-height: auto;
}

.project-card.collapsed .project-content {
    max-height: 0;
    opacity: 0;
    padding: 0 2rem;
    margin: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.collapsed .project-toggle i {
    transform: rotate(0deg);
}

/* Expanded State */
.project-card.expanded {
    height: auto;
    min-height: auto;
}

.project-card.expanded .project-content {
    max-height: 2000px;
    opacity: 1;
    padding: 2rem;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.expanded .project-toggle i {
    transform: rotate(180deg);
}

/* Project Title Section - Always Visible */
.project-title-section {
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.project-title-section h3 {
    margin: 0;
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* Collapsed title styling */
.project-card.collapsed .project-title-section {
    padding: 1rem 2rem;
}

.project-card.collapsed .project-title-section h3 {
    font-size: 1.2rem;
}

.project-category {
    color: #40e0d0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #fff;
}

.project-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Project Tech Tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech .tech-tag {
    background: rgba(64, 224, 208, 0.1);
    color: #40e0d0;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(64, 224, 208, 0.2);
    transition: all 0.3s ease;
}

.project-tech .tech-tag:hover {
    background: rgba(64, 224, 208, 0.2);
    transform: translateY(-2px);
}

/* Project Features */
.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.feature-item i {
    color: #40e0d0;
    width: 16px;
}

/* Project Implementation Section */
.project-implementation {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.implementation-title {
    color: #40e0d0;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.implementation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.implementation-list li {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.implementation-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #40e0d0;
    font-size: 0.8rem;
}

.implementation-list li strong {
    color: #fff;
    font-weight: 600;
}

/* Project Stats */
.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #40e0d0;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== MODERN FOOTER ===== */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    color: white;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(64, 224, 208, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 40s linear infinite;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(64, 224, 208, 0.05) 0%, transparent 70%);
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo i {
    color: #40e0d0;
    font-size: 1.8rem;
}

.footer-tagline {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #40e0d0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(64, 224, 208, 0.1);
    border-color: rgba(64, 224, 208, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(64, 224, 208, 0.2);
}

/* Footer Links */
.footer-links,
.footer-services,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #40e0d0;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li,
.footer-services li {
    margin: 0;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #40e0d0;
}

.footer-services li {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.contact-item i {
    color: #40e0d0;
    width: 16px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #40e0d0;
}

/* ===== ANIMATIONS ===== */
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

@keyframes glow {
    from {
        text-shadow: 0 0 5px #40e0d0, 0 0 10px #40e0d0, 0 0 15px #40e0d0;
    }
    to {
        text-shadow: 0 0 10px #40e0d0, 0 0 20px #40e0d0, 0 0 30px #40e0d0;
    }
}

/* Cursor */
.cursor {
    width: 1ch;
    height: 1em;
    background: linear-gradient(45deg, #40e0d0, #00bfff);
    display: inline-block;
    animation: blink 1s steps(1) infinite;
    border-radius: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Desktop - Show floating elements */
@media (min-width: 1025px) {
    .floating-particles,
    .floating-elements,
    .floating-code,
    .floating-icons,
    .code-particles,
    .tech-particles {
        display: block;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        padding: 0 2rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 800px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 700px;
    }
    
    .experience-timeline {
        max-width: 800px;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Tablet Portrait and Small Desktop */
@media (max-width: 1024px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
    }
    
    .profile-card {
        grid-column: 1;
        justify-self: center;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .summary-card,
    .interests-card,
    .expertise-card {
        grid-column: 1;
        justify-self: stretch;
        max-width: none;
        margin: 0;
    }
    
    /* Projects Section Tablet */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
        gap: 2.5rem;
    }
    
    .hero-name {
        font-size: clamp(2.8rem, 8vw, 4.5rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.3rem, 4vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        min-height: 56px;
        font-size: 1.1rem;
        padding: 1.25rem 2rem;
        touch-action: manipulation;
    }
    
    .tech-stack-preview {
        gap: 1rem;
    }
    
    .tech-item {
        padding: 0.75rem;
    }
    
    .tech-item i {
        font-size: 1.5rem;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
    
    .floating-particles,
    .floating-elements,
    .floating-code,
    .floating-icons,
    .code-particles,
    .tech-particles {
        display: none;
    }
    
    .tech-grid {
        background-size: 30px 30px;
    }
    
    /* Dropdown Arrow Mobile */
    .dropdown-arrow {
        width: 50px;
        height: 50px;
        margin: 1.5rem auto 0;
    }
    
    .dropdown-arrow i {
        font-size: 1.2rem;
    }
    
    /* Education Mobile */
    .modern-education-section {
        padding: 2rem 0;
    }
    
    .education-container {
        padding: 0 1.5rem;
    }
    
    .education-timeline {
        gap: 2rem;
    }
    
    .education-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .education-timeline {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .education-card {
        padding: 1.5rem;
    }
    
    .university-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .university-logo {
        width: 60px;
        height: 60px;
        padding: 0;
    }
    
    .university-logo img {
        object-fit: cover;
        object-position: center;
    }
    
    /* Certification Logo Mobile */
    .cert-logo {
        width: 55px;
        height: 55px;
        padding: 0;
    }
    
    .cert-logo img {
        object-fit: cover;
        object-position: center;
    }
    
    .degree-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .education-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-content h4 {
        font-size: 1.5rem;
    }
    
    /* Skills Mobile */
    .modern-skills-section {
        padding: 2rem 0;
    }
    
    .skills-container {
        padding: 0 1.5rem;
    }
    
    .skills-content {
        gap: 2rem;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-card {
        padding: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-item {
        padding: 0.75rem;
    }
    
    .skills-tags {
        gap: 0.5rem;
    }
    
    .skill-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .specializations {
        gap: 0.75rem;
    }
    
    .specialization-item {
        padding: 0.75rem;
    }
    
    .skills-summary {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .summary-item {
        padding: 1.5rem;
    }
    
    .summary-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .summary-content h4 {
        font-size: 1.5rem;
    }
    
    /* Status Badge Mobile */
    .status-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.3rem;
        border-radius: 15px;
    }
    
    /* Contact Mobile */
    .modern-contact-section {
        padding: 2rem 0;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .contact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-content h4 {
        font-size: 1.5rem;
    }
    
    /* Footer Mobile */
    .modern-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .social-link {
        min-width: 48px;
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Navbar Mobile */
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
        animation: slideIn 0.3s ease-out;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        width: 85%;
        justify-content: center;
        padding: 1.25rem 1rem;
        border-radius: 15px;
        margin: 0 auto;
        opacity: 0;
        animation: fadeInUp 0.4s ease-out forwards;
        min-height: 48px;
        font-size: 1.1rem;
        touch-action: manipulation;
    }
    
    .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-link:nth-child(5) { animation-delay: 0.5s; }
    .nav-link:nth-child(6) { animation-delay: 0.6s; }
    
    .nav-toggle {
        display: flex;
    }
    
    .brand-text {
        display: none;
    }
    
    .brand-icon {
        margin-right: 0;
    }
    
    /* Modern About Section Mobile */
    .modern-about-section {
        padding: 2rem 0;
    }
    
    .about-container {
        padding: 0 1.5rem;
    }
    
    .about-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    /* Reset grid positioning for mobile */
    .profile-card {
        grid-column: 1;
        justify-self: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .summary-card,
    .interests-card,
    .expertise-card {
        grid-column: 1;
        justify-self: stretch;
        max-width: none;
        margin: 0;
    }
    
    .profile-card,
    .summary-card,
    .expertise-card,
    .interests-card,
    .sports-card,
    .code-snippet-card {
        padding: 1.5rem;
    }
    
    .summary-card,
    .code-snippet-card {
        grid-column: span 1;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .interests-grid,
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .tech-highlights {
        gap: 0.75rem;
    }
    
    .tech-tag {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    /* Modern Experience Section Mobile */
    .modern-experience-section {
        padding: 2rem 0;
    }
    
    .experience-container {
        padding: 0 1.5rem;
    }
    
    .experience-timeline {
        max-width: 100%;
    }
    
    .experience-header {
        margin-bottom: 2rem;
    }
    
    .experience-timeline {
        max-width: 100%;
    }
    
    .experience-item {
        padding-left: 0;
        margin-bottom: 2rem;
    }
    
    .experience-item.current {
        margin-bottom: 2.5rem;
    }
    
    .timeline-dot {
        width: 16px;
        height: 16px;
    }
    
    .timeline-dot.current-dot {
        width: 20px;
        height: 20px;
    }
    
    .experience-card {
        padding: 1.5rem;
    }
    
    .experience-header-card {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .role-meta {
        align-items: flex-start;
        width: 100%;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .company-details h3 {
        font-size: 1.3rem;
    }
    
    .role-title {
        font-size: 1.5rem;
    }
    
    .role-description {
        font-size: 1rem;
    }
    
    .achievements-title,
    .tech-stack-title {
        font-size: 1.1rem;
    }
    
    .tech-tags {
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    #education {
        height: auto;
        padding: 10px;
    }
    
    #education .content-box {
        width: 90%;
        padding: 0.5rem;
    }
    
    #education .content-box h2 {
        font-size: 2rem;
    }
    
    #certifications_and_skills {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    #certifications_and_skills .content-box {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-title {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .tech-stack-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-greeting .greeting-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    /* Dropdown Arrow Small Mobile */
    .dropdown-arrow {
        width: 45px;
        height: 45px;
        margin: 1rem auto 0;
    }
    
    .dropdown-arrow i {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .nav-link {
        width: 90%;
        padding: 0.75rem;
    }
    
    .nav-link span {
        font-size: 0.9rem;
    }
    
    .about-container {
        padding: 0 1rem;
    }
    
    .modern-about-section {
        padding: 1.5rem 0;
    }
    
    .about-content-grid {
        gap: 1rem;
    }
    
    .profile-card,
    .summary-card,
    .expertise-card,
    .interests-card,
    .sports-card,
    .code-snippet-card {
        padding: 1rem;
    }
    
    .expertise-grid,
    .interests-grid,
    .sports-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.3rem;
    }
    
    .card-header h3 {
        font-size: 1rem;
    }
    
    /* University Logo Small Mobile */
    .university-logo {
        width: 50px;
        height: 50px;
        padding: 0;
    }
    
    /* Certification Logo Small Mobile */
    .cert-logo {
        width: 45px;
        height: 45px;
        padding: 0;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    /* Modern Projects Section Mobile */
    .modern-projects-section {
        padding: 2rem 0;
    }
    
    .projects-container {
        padding: 0 1.5rem;
    }
    
    .projects-header {
        margin-bottom: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .project-image-container {
        height: 200px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-link {
        min-height: 48px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        touch-action: manipulation;
    }
    
    .project-card {
        min-height: 500px;
    }
    
    .project-logo-image {
        width: 100%;
        height: 100%;
        padding: 0;
    }
    
    .preview-text {
        font-size: 0.8rem;
        padding: 0.75rem 0.5rem 0.5rem;
    }
    
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-code,
    .floating-particles,
    .floating-elements,
    .floating-icons,
    .code-particles,
    .tech-particles {
        display: none;
    }
    
    .project-implementation {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .implementation-list li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .project-card {
        min-height: 450px;
    }
    
    .project-logo-image {
        width: 100%;
        height: 100%;
        padding: 0;
    }
    
    .preview-text {
        font-size: 0.75rem;
        padding: 0.5rem 0.5rem 0.5rem;
    }

    /* Modern Experience Section Small Mobile */
    .modern-experience-section {
        padding: 1.5rem 0;
    }
    
    .experience-container {
        padding: 0 1rem;
    }
    
    .experience-item {
        padding-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .experience-card {
        padding: 1rem;
    }
    
    .company-logo {
        width: 70px;
        height: 50px;
    }
    
    .company-details h3 {
        font-size: 1.1rem;
    }
    
    .role-title {
        font-size: 1.3rem;
    }
    
    .role-description {
        font-size: 0.95rem;
    }
    
    .achievements-title,
    .tech-stack-title {
        font-size: 1rem;
    }
    
    .achievement-item {
        padding: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    #experience .content-box, #education .content-box {
        width: 95%;
        margin: 0 auto;
    }
    
    #certifications_and_skills .content-box {
        max-width: 95%;
    }
    
    /* Status Badge Small Mobile */
    .status-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        gap: 0.25rem;
        border-radius: 12px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tech-grid {
        background-size: 25px 25px;
    }
    
    .particle {
        width: 6px;
        height: 6px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .tech-grid,
    .floating-particles,
    .scroll-arrow,
    .particle,
    .hero-name,
    .hero-title,
    .hero-description,
    .hero-actions,
    .tech-stack-preview,
    .scroll-indicator {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .cta-button:hover,
    .tech-item:hover {
        transform: none;
    }
}

/* Mobile-specific animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Legacy scroll arrow styles */
#scroll-arrow {
    font-size: 2rem;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-decoration: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#scroll-arrow.hidden {
    visibility: hidden;
    opacity: 0;
}

#scroll-arrow.visible {
    visibility: visible;
    opacity: 1;
}

/* ===== RESPONSIVE DROPDOWN STYLES ===== */

/* Tablet Responsive */
@media (max-width: 1024px) {
    .project-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .project-title-section {
        padding: 1.2rem 1.5rem 0.8rem 1.5rem;
    }
    
    .project-title-section h3 {
        font-size: 1.3rem;
    }
    
    .project-card.collapsed .project-title-section {
        padding: 0.8rem 1.5rem;
    }
    
    .project-card.collapsed .project-title-section h3 {
        font-size: 1.1rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: 0.8rem;
        right: 0.8rem;
    }
    
    .project-title-section {
        padding: 1rem 1.5rem 0.5rem 1.5rem;
    }
    
    .project-title-section h3 {
        font-size: 1.2rem;
    }
    
    .project-card.collapsed .project-title-section {
        padding: 0.6rem 1.5rem;
    }
    
    .project-card.collapsed .project-title-section h3 {
        font-size: 1rem;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .project-toggle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 0.6rem;
        right: 0.6rem;
    }
    
    .project-title-section {
        padding: 0.8rem 1rem 0.4rem 1rem;
    }
    
    .project-title-section h3 {
        font-size: 1.1rem;
    }
    
    .project-card.collapsed .project-title-section {
        padding: 0.5rem 1rem;
    }
    
    .project-card.collapsed .project-title-section h3 {
        font-size: 0.95rem;
    }
}