* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00f0ff;
    --primary-purple: #c850ff;
    --bg-dark: #0a0e27;
    --bg-darker: #060919;
    --text-light: #ffffff;
    --text-gray: #a0aec0;
    --yellow: #ffd700;
    --leetcode-orange: #FFA116;
    --github-black: #171515;
    --linkedin-blue: #0077B5;
    --facebook-blue: #1877F2;
    --youtube-red: #FF0000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(6, 9, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-first {
    color: var(--primary-cyan);
}

.logo-second {
    color: var(--primary-purple);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-cyan);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #0a0e27 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: glow 8s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.2) translate(-30px, 30px); opacity: 0.5; }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-container {
    position: relative;
}

.hero-image-border {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
}

.hero-image-border img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-dark);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hero-content .highlight {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-icon.leetcode {
    background: var(--leetcode-orange);
}

.social-icon.leetcode:hover {
    background: transparent;
    border-color: var(--leetcode-orange);
    color: var(--leetcode-orange);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 161, 22, 0.5);
}

.social-icon.github {
    background: var(--github-black);
}

.social-icon.github:hover {
    background: white;
    color: var(--github-black);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.social-icon.linkedin {
    background: var(--linkedin-blue);
}

.social-icon.linkedin:hover {
    background: transparent;
    border-color: var(--linkedin-blue);
    color: var(--linkedin-blue);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.5);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
    background: transparent;
    border: 2px solid #e6683c;
    color: #e6683c;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(230, 104, 60, 0.5);
}

.social-icon.facebook {
    background: var(--facebook-blue);
}

.social-icon.facebook:hover {
    background: transparent;
    border-color: var(--facebook-blue);
    color: var(--facebook-blue);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.5);
}

.social-icon.youtube {
    background: var(--youtube-red);
}

.social-icon.youtube:hover {
    background: transparent;
    border-color: var(--youtube-red);
    color: var(--youtube-red);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5);
}

/* Download CV Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5);
}

.btn-download i {
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--bg-darker);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-border {
    width: 350px;
    height: 450px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
}

.about-image-border img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text-stylish {
    background: rgba(0, 240, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-cyan);
}

.about-text-stylish p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.9;
    position: relative;
    padding-left: 1rem;
}

.wave-emoji {
    font-size: 1.3rem;
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-15deg); }
}

.name-highlight {
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 1.2rem;
}

.role-highlight {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.tech-highlight {
    color: var(--primary-purple);
    font-weight: 600;
    position: relative;
}

.tech-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    opacity: 0.5;
}

.skill-highlight {
    color: var(--yellow);
    font-weight: 600;
}

.number-highlight {
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 1.2rem;
}

.intro-line::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

.specialty-line::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

.passion-line::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: bold;
}

.achievement-line::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

/* Skills Section */
.skills {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.main-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-box {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}

.skill-box:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.skill-category-title {
    font-size: 1.5rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.skill-item img {
    width: 60px;
    height: 60px;
}

.skill-item i {
    font-size: 3rem;
    color: var(--primary-cyan);
}

.skill-item span {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
}

/* Certifications Section */
.certifications {
    padding: 100px 20px;
    background: var(--bg-darker);
}

.iit-ambassador-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 140, 0, 0.1));
    border: 2px solid var(--yellow);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

.iit-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.iit-title {
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.iit-content h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.iit-duration {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.iit-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.iit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.iit-tags span {
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    color: var(--yellow);
    font-size: 0.9rem;
}

.btn-offer-letter {
    display: inline-block;
    padding: 12px 30px;
    background: var(--yellow);
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-offer-letter:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.iit-badge {
    font-size: 4rem;
    color: var(--yellow);
}

.cert-section-title {
    font-size: 2rem;
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 0.5rem;
}

.cert-subtitle {
    text-align: center;
    color: var(--primary-purple);
    font-style: italic;
    margin-bottom: 3rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.cert-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.3);
}

.cert-logo {
    width: 100px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.cert-card h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    min-height: 60px;
}

.cert-issuer {
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cert-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* PROJECTS SECTION */
.projects {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.project-card {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.3);
}

/* Upgraded Project Styling */
.upgraded-project {
    border: 2px solid var(--yellow);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0, 240, 255, 0.05));
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.2);
}

.upgraded-project:hover {
    border-color: var(--yellow);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4), 0 0 30px rgba(0, 240, 255, 0.3);
}

.upgrade-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--yellow), #ffa500);
    color: var(--bg-dark);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.8);
        transform: scale(1.05);
    }
}

.upgrade-badge i {
    font-size: 0.9rem;
    animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.upgrade-notice {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 240, 255, 0.1));
    border-left: 4px solid var(--yellow);
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.upgrade-notice i {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.upgrade-notice p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.project-tech-upgraded {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed rgba(255, 215, 0, 0.3);
}

.project-tech-upgraded .tech-new {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 1px solid var(--yellow);
    border-radius: 20px;
    color: var(--yellow);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.project-tech-upgraded .tech-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.3));
}

.project-tech-upgraded .tech-new i {
    font-size: 0.7rem;
}

/* Project Hero Section - NEW */
.project-hero-section {
    margin-bottom: 1.5rem;
}

.project-hero-main {
    position: relative;
    height: 350px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid var(--yellow);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.project-hero-main .hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-hero-main:hover .hero-main-img {
    transform: scale(1.05);
}

.project-hero-main .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-hero-main:hover .hero-overlay {
    opacity: 1;
}

.hero-overlay i {
    font-size: 3rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.hero-overlay p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 3 Thumbnail Preview Section - NEW */
.project-hero-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 0.8rem;
    padding: 0 0.5rem;
}

.hero-thumb-item {
    position: relative;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(255, 215, 0, 0.4);
    transition: all 0.3s;
}

.hero-thumb-item:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}

.hero-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hero-thumb-item:hover img {
    transform: scale(1.1);
}

/* Old Hero Image Style for Other Projects */
.project-hero-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-hero-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-hero-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.image-overlay p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Project Info */
.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.8rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.upgraded-project .project-info h3 {
    color: var(--yellow);
}

.project-info > p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.project-tech span {
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    color: var(--primary-cyan);
    font-size: 0.85rem;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.upgraded-project .thumbnail-gallery {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.gallery-label {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-label i {
    color: var(--primary-cyan);
    font-size: 1.2rem;
}

.upgraded-project .gallery-label {
    color: var(--yellow);
}

.upgraded-project .gallery-label i {
    color: var(--yellow);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.thumbnail-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
}

.thumbnail-item {
    position: relative;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(0, 240, 255, 0.3);
    transition: all 0.3s;
}

.upgraded-project .thumbnail-item {
    border-color: rgba(255, 215, 0, 0.3);
}

.thumbnail-item:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
    z-index: 10;
}

.upgraded-project .thumbnail-item:hover {
    border-color: var(--yellow);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail-item:hover img {
    transform: scale(1.15);
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.thumbnail-item:hover .thumb-overlay {
    opacity: 1;
}

.thumb-overlay i {
    color: var(--primary-cyan);
    font-size: 2rem;
}

.upgraded-project .thumb-overlay i {
    color: var(--yellow);
}

/* Big Thumbnail Preview Section */

.big-thumbnail-preview {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--yellow);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    margin-bottom: 1.5rem;
}

.big-thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upgraded-gallery {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(0, 240, 255, 0.08));
    border: 2px dashed var(--yellow);
}

.gallery-label-upgraded {
    color: var(--yellow);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.gallery-label-upgraded i {
    color: var(--yellow);
}

/* Project Buttons */
.project-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.5);
}

.project-btn-secondary {
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--primary-cyan);
}

.project-btn-secondary:hover {
    background: rgba(0, 240, 255, 0.2);
}

/* LIGHTBOX MODAL */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(0, 240, 255, 0.2);
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.lightbox-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: white;
}

.lightbox-caption p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

#lightbox-counter {
    color: var(--primary-cyan);
    font-weight: 600;
}

/* Practice Projects */
.practice-title {
    font-size: 2rem;
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 2rem;
}

.practice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.practice-item {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.practice-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-purple);
    background: rgba(0, 240, 255, 0.1);
}

.practice-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.practice-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--bg-darker);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-photo-square {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.contact-photo-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-left h3 {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-cyan);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-submit {
    align-self: start;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5);
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background: var(--bg-darker);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 3rem;
        transition: left 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-wrapper, .about-wrapper, .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .project-hero-main {
        height: 250px;
    }
    
    .project-hero-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .hero-thumb-item {
        height: 80px;
    }
    
    .thumbnail-grid-large {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .thumbnail-item {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .project-hero-main {
        height: 200px;
    }
    
    .hero-thumb-item {
        height: 60px;
    }
    
    .thumbnail-item {
        height: 80px;
    }
    
    .thumbnail-grid-large {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
}
/* Big Preview Overlay */
.big-thumbnail-preview {
    position: relative;
    cursor: pointer;
}

.big-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.big-thumbnail-preview:hover .big-preview-overlay {
    opacity: 1;
}

.big-preview-overlay i {
    color: var(--yellow);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.big-preview-overlay p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}
/* ========================================
   HACKATHON ACHIEVEMENT CARD STYLES
   ======================================== */

.hackathon-achievement-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 140, 0, 0.12));
    border: 3px solid var(--yellow);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
    overflow: hidden;
}

.hackathon-achievement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hackathon-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    z-index: 10;
    animation: ribbon-bounce 2s ease-in-out infinite;
}

@keyframes ribbon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hackathon-ribbon i {
    font-size: 1.3rem;
    animation: trophy-spin 3s ease-in-out infinite;
}

@keyframes trophy-spin {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.hackathon-logo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hackathon-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hackathon-tech-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.tech-sponsor-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.hackathon-content {
    position: relative;
    z-index: 5;
}

.hackathon-title {
    font-size: 2.2rem;
    color: var(--yellow);
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.hackathon-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hackathon-venue {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.hackathon-prize {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hackathon-project-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--yellow);
    margin-bottom: 2rem;
}

.hackathon-project-details h5 {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-description {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.project-description strong {
    color: var(--primary-cyan);
    font-weight: 700;
}

.hackathon-tech-stack {
    margin-bottom: 2rem;
}

.hackathon-tech-stack h5 {
    color: var(--primary-cyan);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-tags-hackathon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tags-hackathon span {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(0, 240, 255, 0.2));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 25px;
    color: var(--yellow);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tech-tags-hackathon span:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(0, 240, 255, 0.3));
}

.hackathon-highlights {
    margin-bottom: 2rem;
}

.hackathon-highlights h5 {
    color: var(--primary-purple);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hackathon-highlights ul {
    list-style: none;
    padding-left: 0;
}

.hackathon-highlights li {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.hackathon-highlights li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 1.2rem;
}

/* Hackathon Gallery Styles */
.hackathon-gallery {
    background: rgba(255, 215, 0, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 2rem;
}

.gallery-label-hackathon {
    color: var(--yellow);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-label-hackathon i {
    font-size: 1.3rem;
}

.hackathon-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.hackathon-thumb-item {
    position: relative;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(255, 215, 0, 0.4);
    transition: all 0.3s;
}

.hackathon-thumb-item:hover {
    border-color: var(--yellow);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
    z-index: 10;
}

.hackathon-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hackathon-thumb-item:hover img {
    transform: scale(1.15);
}

.thumb-overlay-hackathon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 1rem;
    text-align: center;
}

.hackathon-thumb-item:hover .thumb-overlay-hackathon {
    opacity: 1;
}

.thumb-overlay-hackathon i {
    color: var(--yellow);
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.thumb-overlay-hackathon p {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* Hackathon Buttons */
.hackathon-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hackathon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--yellow), #ffa500);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.hackathon-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.hackathon-btn-secondary {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid var(--yellow);
    color: var(--yellow);
}

.hackathon-btn-secondary:hover {
    background: rgba(255, 215, 0, 0.25);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hackathon-achievement-card {
        padding: 2rem 1.5rem;
    }

    .hackathon-ribbon {
        position: static;
        margin-bottom: 1.5rem;
        width: fit-content;
    }

    .hackathon-logo-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .hackathon-title {
        font-size: 1.8rem;
    }

    .hackathon-subtitle {
        font-size: 1.1rem;
    }

    .hackathon-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .hackathon-thumb-item {
        height: 140px;
    }

    .hackathon-buttons {
        flex-direction: column;
    }

    .hackathon-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ========================================
   SKILLBRIDGE PROJECT CARD STYLES
   ======================================== */

.skillbridge-project {
    border: 2px solid #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(0, 240, 255, 0.05));
    box-shadow: 0 5px 30px rgba(124, 58, 237, 0.25);
    position: relative;
}

.skillbridge-project:hover {
    border-color: #7c3aed;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.45), 0 0 30px rgba(0, 240, 255, 0.2);
}

.skillbridge-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.6);
    animation: skillbridge-pulse 2s ease-in-out infinite;
}

@keyframes skillbridge-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(124, 58, 237, 0.6); transform: scale(1); }
    50% { box-shadow: 0 4px 25px rgba(124, 58, 237, 0.9); transform: scale(1.05); }
}

.skillbridge-project .project-info h3 {
    color: #a78bfa;
}

.skillbridge-arch {
    background: rgba(124, 58, 237, 0.1);
    border-left: 4px solid #7c3aed;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0;
}

.skillbridge-arch h5 {
    color: #a78bfa;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.arch-tags span {
    padding: 6px 14px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 20px;
    color: #c4b5fd;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.skillbridge-features {
    margin: 1.2rem 0;
}

.skillbridge-features h5 {
    color: #a78bfa;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skillbridge-features ul {
    list-style: none;
    padding: 0;
}

.skillbridge-features li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

.skillbridge-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #7c3aed;
    font-weight: bold;
}

.skillbridge-gallery .gallery-label i {
    color: #7c3aed;
}

.skillbridge-gallery .gallery-label {
    color: #a78bfa;
}

.skillbridge-gallery .thumbnail-item {
    border-color: rgba(124, 58, 237, 0.35);
}

.skillbridge-gallery .thumbnail-item:hover {
    border-color: #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
}

.skillbridge-gallery .thumb-overlay i {
    color: #a78bfa;
}

.skillbridge-live-btn {
    background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.skillbridge-live-btn:hover {
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.7) !important;
}
.sb-desc {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1rem;
}

.sb-highlight-ai {
    color: #a78bfa;
    font-weight: 700;
}

.sb-highlight-tech {
    color: var(--primary-cyan);
    font-weight: 600;
}

.sb-highlight-gold {
    color: var(--yellow);
    font-weight: 600;
}

.feat-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-right: 8px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.skillbridge-features li:nth-child(1) .feat-tag,
.skillbridge-features li:nth-child(2) .feat-tag { background: linear-gradient(135deg, #7c3aed, #4f46e5); }

.skillbridge-features li:nth-child(3) .feat-tag { background: linear-gradient(135deg, #f59e0b, #d97706); }

.skillbridge-features li:nth-child(4) .feat-tag { background: linear-gradient(135deg, #dc2626, #b91c1c); }

.skillbridge-features li:nth-child(5) .feat-tag,
.skillbridge-features li:nth-child(6) .feat-tag { background: linear-gradient(135deg, #059669, #047857); }

.skillbridge-features li:nth-child(7) .feat-tag { background: linear-gradient(135deg, #0891b2, #0e7490); }

.skillbridge-features li:nth-child(8) .feat-tag { background: linear-gradient(135deg, #db2777, #be185d); }

.skillbridge-features li:nth-child(9) .feat-tag { background: linear-gradient(135deg, #4b5563, #374151); }
.railway-note {
    margin-top: 1.2rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-left: 4px solid #7c3aed;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.railway-note i {
    color: #a78bfa;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.railway-note span.note-highlight {
    color: #a78bfa;
    font-weight: 700;
}
.practice-github-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.8rem;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.practice-github-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--primary-cyan);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}
/* ========================================
   RESEARCH PUBLICATION SECTION
   ======================================== */

.research {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.research-card {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(200, 80, 255, 0.06));
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 240, 255, 0.15);
    transition: box-shadow 0.4s;
}

.research-card:hover {
    box-shadow: 0 20px 70px rgba(0, 240, 255, 0.25);
}

.research-card::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: research-glow 6s ease-in-out infinite;
}

@keyframes research-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

/* Journal Badge (top) */
.research-journal-badge {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, rgba(26, 107, 60, 0.15), rgba(0, 240, 255, 0.08));
    border: 1px solid rgba(26, 107, 60, 0.4);
    border-radius: 16px;
    width: 100%;
}

.research-journal-badge img {
    height: 36px;
    object-fit: contain;
}

.journal-badge-text {
    display: flex;
    flex-direction: column;
}

.journal-abbr {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-cyan);
    letter-spacing: 2px;
}

.journal-full {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-cyan);
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Main two-column layout */
.research-body {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Left: Certificate */
.research-cert-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.cert-image-frame {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid var(--yellow);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.35);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cert-image-frame:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.55);
}

.cert-pub-image {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.cert-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: cert-shine-anim 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cert-shine-anim {
    0% { left: -100%; }
    40%, 100% { left: 160%; }
}

.cert-glow-ring {
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: transparent;
    border: 2px solid transparent;
    pointer-events: none;
    animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
    0%, 100% { box-shadow: 0 0 0px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

.cert-verified-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(0, 200, 80, 0.15), rgba(0, 240, 255, 0.1));
    border: 1px solid rgba(0, 200, 80, 0.4);
    border-radius: 50px;
    color: #4ade80;
    font-weight: 700;
    font-size: 0.95rem;
}

.cert-verified-badge i {
    font-size: 1.1rem;
    color: #22c55e;
}

/* Right: Paper Details */
.paper-number-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(200, 80, 255, 0.15);
    border: 1px solid rgba(200, 80, 255, 0.4);
    border-radius: 20px;
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.paper-title {
    font-size: 1.65rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.paper-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.paper-meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 12px;
    transition: border-color 0.3s, background 0.3s;
}

.paper-meta-item:hover {
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.08);
}

.paper-meta-item > i {
    color: var(--primary-cyan);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.paper-meta-item div {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.meta-value {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.impact-factor-value {
    color: var(--yellow) !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

/* Abstract */
.paper-abstract {
    background: rgba(0, 0, 0, 0.25);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 0 12px 12px 0;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.paper-abstract h5 {
    color: var(--primary-cyan);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.paper-abstract p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.abstract-highlight {
    color: var(--primary-purple);
    font-weight: 700;
}

.abstract-highlight-gold {
    color: var(--yellow);
    font-weight: 700;
}

/* Topic Tags */
.paper-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
}

.paper-topics span {
    padding: 7px 15px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 25px;
    color: var(--primary-cyan);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.paper-topics span:hover {
    background: rgba(0, 240, 255, 0.18);
    border-color: var(--primary-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.paper-topics span i {
    font-size: 0.65rem;
    color: var(--primary-purple);
}

/* Buttons */
.research-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.research-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.research-btn-primary {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: white;
    box-shadow: 0 5px 20px rgba(225, 29, 72, 0.4);
}

.research-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(225, 29, 72, 0.6);
}

.research-btn-secondary {
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.research-btn-secondary:hover {
    background: rgba(0, 240, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.4);
}

/* Live link row */
.research-live-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.research-live-link i {
    color: var(--primary-cyan);
}

.research-live-link a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.research-live-link a:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-left: 6px;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* Responsive */
@media (max-width: 900px) {
    .research-body {
        grid-template-columns: 1fr;
    }
    .cert-image-frame {
        max-width: 420px;
        margin: 0 auto;
    }
    .paper-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .research-card {
        padding: 1.5rem;
    }
    .paper-title {
        font-size: 1.3rem;
    }
    .research-buttons {
        flex-direction: column;
    }
    .research-btn {
        width: 100%;
        justify-content: center;
    }
}
.irjet-logo-box {
    background: linear-gradient(135deg, #1a6b3c, #2d9e5f);
    padding: 8px 16px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(26, 107, 60, 0.5);
}
.irjet-logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
    font-style: italic;
}
.cert-click-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.cert-image-frame:hover .cert-click-hint {
    opacity: 1;
}
.cert-image-frame {
    cursor: pointer;
}
.cert-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.cert-lightbox.active {
    display: flex;
}
.cert-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 15px;
    border: 3px solid var(--yellow);
    box-shadow: 0 0 60px rgba(255,215,0,0.5);
}
.cert-lb-close {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(0,240,255,0.2);
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.cert-lb-close:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
}