:root {
    --bg-color: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-color: #00f2ea;
    --accent-secondary: #7000ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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


body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    background-image:
        radial-gradient(at 0% 0%, rgba(112, 0, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 242, 234, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 80px;
    margin: 0;
}

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

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-image {
    text-align: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    background: rgba(0, 242, 234, 0.1);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

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

.btn.primary {
    background: var(--text-primary);
    color: #000;
}

.btn.primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.3);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #000;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.status-indicator {
    font-size: 0.9rem;
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
    margin: 0 auto;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px #00ff88; }
    50% { box-shadow: 0 0 20px #00ff88; }
    100% { box-shadow: 0 0 10px #00ff88; }
}

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

.typing-container {
    margin: 20px 0;
    font-size: 1.1rem;
}

.typing-text {
    color: var(--accent-color);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.skills-section {
    margin-top: 50px;
}

.skills-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-align: center;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 234, 0.1);
}

.skill-category h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h4 i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

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

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

.skill-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.skill-item i {
    color: var(--accent-color);
    width: 18px;
    font-size: 0.9rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 242, 234, 0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(0, 242, 234, 0.1);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-actions {
    display: flex;
    gap: 15px;
}

/* Internships Section */
.internship-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.internship-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.timeline-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(20px);
}

.timeline-content {
    position: relative;
}

.timeline-date {
    background: var(--accent-color);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.internship-description {
    background: rgba(0, 242, 234, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.internship-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.internship-gallery-wrapper {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    margin: 20px 0;
}

.internship-gallery {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    width: max-content;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.internship-gallery:hover {
    animation-play-state: paused;
}

.internship-gallery::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item {
    flex: 0 0 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.internship-certificate {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.internship-certificate h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    background: rgba(0, 242, 234, 0.05);
    transform: translateY(-2px);
}

.certificate-item i,
.certificate-item .cert-logo {
    font-size: 2rem;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
}

.certificate-item .cert-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

.certificate-info {
    flex: 1;
}

.certificate-info h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.certificate-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.certificate-info .btn {
    font-size: 0.8rem;
    padding: 8px 16px;
}

/* Events Section */
.events-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.event-row {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.event-row:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 242, 234, 0.1);
}

.event-info {
    margin-bottom: 25px;
}

.event-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.event-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #00ffcc);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.event-header h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.event-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.event-images-scroll {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.event-carousel {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.event-carousel:hover {
    animation-play-state: paused;
}

.event-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.event-carousel-img {
    flex: 0 0 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-carousel-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 242, 234, 0.2);
}

.year-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 0 15px;
    margin: 0 10px;
}

.year-label {
    background: linear-gradient(135deg, var(--accent-color), #00ffcc);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 242, 234, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Clone images for infinite scroll effect */
.event-carousel::after {
    content: '';
    display: flex;
    gap: 15px;
}

/* Organizations Section */
.organizations-list {
    max-width: 800px;
    margin: 0 auto;
}

.org-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.org-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.org-item i {
    font-size: 2rem;
    color: var(--accent-color);
    width: 50px;
    text-align: center;
}

.org-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
}

.org-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.org-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Seminars Section */
.subsection {
    margin-bottom: 60px;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.seminars-certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.certificate-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.certificate-item:hover::before {
    transform: translateX(0);
}

.certificate-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 234, 0.1);
}

.certificate-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.certificate-item:hover i {
    transform: scale(1.1);
}

.certificate-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.certificate-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.fieldtrips-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(20px);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 242, 234, 0.1);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.gallery-caption p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cert-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.cert-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.cert-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.cert-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.cert-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-section {
    flex: 1;
    max-width: 600px;
}

.contact-form-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
}

/* Contact Form */
#contact-form {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 15px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 242, 234, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 242, 234, 0.1);
}

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

/* External Channels */
.external-channels {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 250px;
    align-self: flex-start;
    margin-top: 90px;
}

.external-channels p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
}

.external-channels .btn {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    color: white;
}

.external-channels .btn i {
    font-size: 1.1rem;
    color: white;
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 20px auto;
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

#lightbox-img {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.image-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 234, 0.3);
    text-align: center;
    z-index: 10;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

/* Gallery Navigation */
.gallery-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 25px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: scale(1.1);
}

.gallery-counter {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .skill-category {
        padding: 15px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .seminars-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    #contact-form {
        padding: 30px 20px;
    }
    
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form-section {
        max-width: 100%;
    }
    
    .external-channels {
        position: static;
        min-width: 100%;
        padding: 30px 20px;
    }
    
    .external-channels .btn {
        margin: 5px;
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 10px auto;
    }
    
    .internship-gallery .gallery-item {
        flex: 0 0 150px;
    }
    
    .event-carousel-img {
        flex: 0 0 250px;
        height: 180px;
    }
    
    .event-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .event-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .internship-gallery {
        grid-template-columns: 1fr;
    }
    
    .event-carousel-img {
        flex: 0 0 220px;
        height: 150px;
    }
    
    .event-row {
        padding: 20px;
    }
    
    .event-header h3 {
        font-size: 1.2rem;
    }
    
    .event-header p {
        font-size: 0.9rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
