/* Base Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a40e2;
    --accent-color: #00d9ff;
    --dark-color: #2a2a2a;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #777777;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    
    /* Dark Mode Variables */
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --dark-surface-2: #2d2d2d;
    --dark-text: #e0e0e0;
    --dark-text-light: #a0a0a0;
    --dark-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Dark Mode Class */
body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* Dark Mode Overrides */
body.dark-mode .navbar.scrolled {
    background-color: var(--dark-surface);
    box-shadow: var(--dark-shadow);
}

body.dark-mode .hero {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(18, 18, 18, 0.9) 100%);
}

body.dark-mode #particles-js {
    background-color: rgba(18, 18, 18, 0.3);
}

body.dark-mode .about,
body.dark-mode .samples,
body.dark-mode .certifications,
body.dark-mode .issues,
body.dark-mode .thanks {
    background-color: var(--dark-bg);
}

body.dark-mode .works,
body.dark-mode .contact {
    background-color: var(--dark-surface);
    color: var(--dark-text);
}

body.dark-mode .work-item,
body.dark-mode .sample-card,
body.dark-mode .cert-card,
body.dark-mode .timeline-content,
body.dark-mode .contact-form,
body.dark-mode .interest-item,
body.dark-mode .issue-card,
body.dark-mode .thanks-category {
    background-color: var(--dark-surface-2);
    box-shadow: var(--dark-shadow);
}

body.dark-mode .work-tags span {
    background-color: var(--dark-surface);
    color: var(--dark-text-light);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: var(--dark-surface);
    border-color: #444;
    color: var(--dark-text);
}

body.dark-mode .form-group input:focus ~ label,
body.dark-mode .form-group textarea:focus ~ label,
body.dark-mode .form-group input:not(:placeholder-shown) ~ label,
body.dark-mode .form-group textarea:not(:placeholder-shown) ~ label {
    background-color: var(--dark-surface-2);
}

body.dark-mode .footer {
    background-color: #0a0a0a;
}

body.dark-mode p,
body.dark-mode .hero-description,
body.dark-mode .timeline-content p,
body.dark-mode .sample-date,
body.dark-mode .cert-meta span {
    color: var(--dark-text-light);
}

body.dark-mode .image-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.cert-count {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 15px;
    font-weight: 500;
}

body.dark-mode .cert-count {
    color: var(--accent-color);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    position: relative;
}

.underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--accent-color);
    top: 0;
    left: -20px;
    animation: slide 2s infinite;
}

@keyframes slide {
    0% {
        left: -20px;
    }
    50% {
        left: 60px;
    }
    100% {
        left: -20px;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.primary-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

/* Pulse animation for primary button */
.pulse-btn {
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.pulse-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pulse-btn:hover:before {
    transform: translateX(100%);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--light-color);
    padding: 15px 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.logo a::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    bottom: 5px;
    right: -8px;
}

.nav-links ul {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Dark Mode Toggle */
.theme-toggle {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.dark-mode-checkbox {
    opacity: 0;
    position: absolute;
}

.dark-mode-label {
    width: 50px;
    height: 26px;
    background: linear-gradient(to right, #f5f7fa, #c3cfe2);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.dark-mode-label .fa-sun {
    color: #f39c12;
    font-size: 14px;
}

.dark-mode-label .fa-moon {
    color: #3498db;
    font-size: 14px;
}

.toggle-ball {
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dark-mode-checkbox:checked + .dark-mode-label {
    background: linear-gradient(to right, #2c3e50, #4a69bd);
}

.dark-mode-checkbox:checked + .dark-mode-label .toggle-ball {
    transform: translateX(24px);
}

body.dark-mode .bar {
    background: var(--light-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    overflow: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

body.dark-mode .particles-container {
    background-color: rgba(18, 18, 18, 0.7);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    5% {
        clip: rect(70px, 9999px, 71px, 0);
    }
    10% {
        clip: rect(29px, 9999px, 83px, 0);
    }
    15% {
        clip: rect(16px, 9999px, 91px, 0);
    }
    20% {
        clip: rect(2px, 9999px, 23px, 0);
    }
    25% {
        clip: rect(60px, 9999px, 73px, 0);
    }
    30% {
        clip: rect(14px, 9999px, 56px, 0);
    }
    35% {
        clip: rect(89px, 9999px, 25px, 0);
    }
    40% {
        clip: rect(32px, 9999px, 26px, 0);
    }
    45% {
        clip: rect(67px, 9999px, 96px, 0);
    }
    50% {
        clip: rect(7px, 9999px, 13px, 0);
    }
    55% {
        clip: rect(14px, 9999px, 76px, 0);
    }
    60% {
        clip: rect(67px, 9999px, 93px, 0);
    }
    65% {
        clip: rect(79px, 9999px, 57px, 0);
    }
    70% {
        clip: rect(33px, 9999px, 55px, 0);
    }
    75% {
        clip: rect(53px, 9999px, 59px, 0);
    }
    80% {
        clip: rect(15px, 9999px, 23px, 0);
    }
    85% {
        clip: rect(63px, 9999px, 92px, 0);
    }
    90% {
        clip: rect(43px, 9999px, 84px, 0);
    }
    95% {
        clip: rect(66px, 9999px, 91px, 0);
    }
    100% {
        clip: rect(95px, 9999px, 46px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 99px, 0);
    }
    5% {
        clip: rect(79px, 9999px, 13px, 0);
    }
    10% {
        clip: rect(10px, 9999px, 53px, 0);
    }
    15% {
        clip: rect(56px, 9999px, 4px, 0);
    }
    20% {
        clip: rect(23px, 9999px, 69px, 0);
    }
    25% {
        clip: rect(35px, 9999px, 5px, 0);
    }
    30% {
        clip: rect(5px, 9999px, 39px, 0);
    }
    35% {
        clip: rect(67px, 9999px, 70px, 0);
    }
    40% {
        clip: rect(84px, 9999px, 33px, 0);
    }
    45% {
        clip: rect(54px, 9999px, 66px, 0);
    }
    50% {
        clip: rect(59px, 9999px, 38px, 0);
    }
    55% {
        clip: rect(80px, 9999px, 72px, 0);
    }
    60% {
        clip: rect(10px, 9999px, 31px, 0);
    }
    65% {
        clip: rect(55px, 9999px, 9px, 0);
    }
    70% {
        clip: rect(82px, 9999px, 98px, 0);
    }
    75% {
        clip: rect(93px, 9999px, 54px, 0);
    }
    80% {
        clip: rect(7px, 9999px, 56px, 0);
    }
    85% {
        clip: rect(99px, 9999px, 13px, 0);
    }
    90% {
        clip: rect(37px, 9999px, 26px, 0);
    }
    95% {
        clip: rect(40px, 9999px, 52px, 0);
    }
    100% {
        clip: rect(18px, 9999px, 11px, 0);
    }
}

.typing-container {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.static-text {
    color: var(--text-color);
}

.dynamic-text {
    color: var(--primary-color);
    position: relative;
}

.dynamic-text::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: var(--primary-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.shape {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), rgba(0, 217, 255, 0.1));
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.scroll-indicator i {
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* About Section */
.about {
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), rgba(0, 217, 255, 0.1));
    top: -150px;
    left: -150px;
}

.about::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), rgba(0, 217, 255, 0.1));
    bottom: -100px;
    right: -100px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.image-container {
    width: 400px;
    height: auto;
    max-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--box-shadow);
    background: var(--light-color);
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover .profile-image {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.interests, .college-readiness {
    margin-top: 30px;
}

.interests h4, .college-readiness h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.readiness-list {
    list-style: none;
    padding: 0;
}

.readiness-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.readiness-list i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    margin-top: 3px;
}

body.dark-mode .readiness-list i,
body.dark-mode .highlight {
    color: var(--accent-color);
}

.interest-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.interest-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--light-color);
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.interest-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.interest-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Works Section */
.works {
    background-color: var(--light-color);
    padding: 100px 20px;
}

.works-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--light-color);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: var(--light-color);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.work-img {
    height: 200px;
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-item:hover .work-img img {
    transform: scale(1.1);
}

.work-info {
    padding: 25px;
}

.work-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.work-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.work-tags span {
    padding: 5px 12px;
    background: var(--gray-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.work-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.work-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.work-link:hover {
    color: var(--secondary-color);
}

.work-link:hover i {
    transform: translateX(5px);
}

/* Sports Section */
.sports {
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.sports::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.05), rgba(0, 217, 255, 0.05));
    bottom: -150px;
    left: -150px;
}

.sports-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sports-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.sports-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.sport-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sport-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.sport-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sport-card:hover .sport-image img {
    transform: scale(1.1);
}

.sport-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.sport-overlay span {
    color: var(--light-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.sport-info {
    padding: 20px;
}

.sport-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.sport-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

.read-more-btn::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    transition: var(--transition);
}

.read-more-btn:hover::after {
    transform: translateX(5px);
}

/* Detail Popup Styles */
.detail-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.detail-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--light-color);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-popup.active .popup-content {
    transform: scale(1);
}

.popup-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.popup-header h3 {
    font-size: 1.4rem;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.close-popup {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-body {
    padding: 0;
    overflow-y: auto;
    max-height: calc(85vh - 70px);
    display: flex;
    flex-direction: column;
}

/* Popup image styles removed as we no longer use images in the popups */

.popup-text {
    padding: 30px;
    background: var(--light-color);
}

.popup-text h4 {
    font-size: 1.4rem;
    margin: 0 0 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    font-weight: 600;
}

.popup-text h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.popup-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: justify;
}

.popup-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.popup-text ul li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Blog Section */
.blog {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.blog::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.05), rgba(0, 217, 255, 0.05));
    top: -200px;
    right: -200px;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.blog-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
}

.blog-category span {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-date i {
    margin-right: 8px;
    color: var(--primary-color);
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex: 1;
}

.blog-popup {
    max-width: 800px;
}

.blog-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    justify-content: space-between;
}

.blog-category-tag {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-date-tag {
    color: var(--light-color);
    font-size: 0.9rem;
}

/* Dark Mode Styles for Sports and Blog Sections */
body.dark-mode .sports,
body.dark-mode .blog {
    background-color: var(--dark-bg);
}

body.dark-mode .sport-card,
body.dark-mode .blog-card {
    background-color: var(--dark-surface-2);
    box-shadow: var(--dark-shadow);
}

body.dark-mode .popup-content {
    background-color: var(--dark-surface);
    box-shadow: var(--dark-shadow);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .popup-text {
    background-color: var(--dark-surface);
}

body.dark-mode .popup-text p {
    color: var(--dark-text-light);
}

body.dark-mode .sport-info h3,
body.dark-mode .blog-content h3,
body.dark-mode .popup-text h4 {
    color: var(--dark-text);
}

body.dark-mode .popup-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .close-popup {
    color: var(--dark-text-light);
}

body.dark-mode .close-popup:hover {
    color: var(--primary-color);
}

/* Certifications Section */
.certifications {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.certifications::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.05), rgba(0, 217, 255, 0.05));
    top: -150px;
    right: -150px;
}

.academic-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.section-subheader {
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.section-subheader:not(:first-of-type) {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .section-subheader:not(:first-of-type) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Collapsible Sections */
.collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.collapsible-header:hover {
    color: var(--primary-color);
}

.collapse-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.collapse-arrow i {
    font-size: 1rem;
    color: var(--primary-color);
}

.collapsible-header.active .collapse-arrow {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
    opacity: 1;
    visibility: visible;
}

.section-subheader h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-subheader h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.academic-achievements {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.achievement-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    padding: 25px;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    margin-right: 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-details {
    flex: 1;
}

.achievement-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.achievement-details p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.achievement-meta {
    display: flex;
    color: var(--text-light);
    font-size: 0.9rem;
}

.achievement-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.achievement-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

body.dark-mode .achievement-card {
    background-color: var(--dark-surface);
}

body.dark-mode .achievement-details h3 {
    color: var(--dark-text);
}

body.dark-mode .achievement-details p,
body.dark-mode .achievement-meta {
    color: var(--dark-text-light);
}

body.dark-mode .section-subheader h3 {
    color: var(--dark-text);
}

.certifications-container,
.freecodecamp-container,
.onshape-container,
.cybersecurity-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.freecodecamp-container,
.onshape-container,
.cybersecurity-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Ensure content is visible when expanded */
.collapsible-content.expanded {
    max-height: none !important;
    overflow: visible;
}

.freecodecamp-container .cert-card {
    border-left: 4px solid #0a0a23;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.freecodecamp-container .cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.freecodecamp-container .cert-logo img {
    max-height: 150px;
    object-fit: contain;
}

body.dark-mode .freecodecamp-container .cert-card {
    border-left: 4px solid #0a0a23;
    background-color: var(--dark-surface-2);
}

/* Onshape Certification Styles */
.onshape-container .cert-card {
    border-left: 4px solid #1a73e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.onshape-container .cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.onshape-container .cert-logo img {
    max-height: 150px;
    object-fit: contain;
}

body.dark-mode .onshape-container .cert-card {
    border-left: 4px solid #1a73e8;
    background-color: var(--dark-surface-2);
}

/* Cybersecurity Certification Styles */
.cybersecurity-container .cert-card {
    border-left: 4px solid #d32f2f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cybersecurity-container .cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cybersecurity-container .cert-logo img {
    max-height: 150px;
    object-fit: contain;
}

body.dark-mode .cybersecurity-container .cert-card {
    border-left: 4px solid #d32f2f;
    background-color: var(--dark-surface-2);
}

/* Intel, TryHackMe, IAEA, and FEMA specific styles */
.cybersecurity-container .cert-card:nth-last-child(4) {
    border-left: 4px solid #0071c5;
}

.cybersecurity-container .cert-card:nth-last-child(3) {
    border-left: 4px solid #1c0e42;
}

.cybersecurity-container .cert-card:nth-last-child(2) {
    border-left: 4px solid #0074a5;
}

.cybersecurity-container .cert-card:last-child {
    border-left: 4px solid #003366;
}

body.dark-mode .cybersecurity-container .cert-card:nth-last-child(4) {
    border-left: 4px solid #0071c5;
}

body.dark-mode .cybersecurity-container .cert-card:nth-last-child(3) {
    border-left: 4px solid #1c0e42;
}

body.dark-mode .cybersecurity-container .cert-card:nth-last-child(2) {
    border-left: 4px solid #0074a5;
}

body.dark-mode .cybersecurity-container .cert-card:last-child {
    border-left: 4px solid #003366;
}

/* IAEA certification special styling */
.iaea-cert {
    position: relative;
    overflow: hidden;
}

.iaea-cert::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 116, 165, 0.1) 50%);
    z-index: 1;
}

/* FEMA certification special styling */
.fema-cert {
    position: relative;
    overflow: hidden;
}

.fema-cert::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 51, 102, 0.1) 50%);
    z-index: 1;
}

/* Certification disclaimer styling */
.cert-disclaimer {
    margin-top: 30px;
    padding: 15px 20px;
    background-color: rgba(108, 99, 255, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cert-disclaimer i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.cert-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

body.dark-mode .cert-disclaimer {
    background-color: rgba(108, 99, 255, 0.1);
    border-left: 4px solid var(--primary-color);
}

body.dark-mode .cert-disclaimer p {
    color: var(--dark-text-light);
}

/* Responsive styles for all certification sections */
@media (max-width: 768px) {
    .freecodecamp-container .cert-card,
    .onshape-container .cert-card,
    .cybersecurity-container .cert-card {
        flex-direction: column;
    }
    
    .freecodecamp-container .cert-logo,
    .onshape-container .cert-logo,
    .cybersecurity-container .cert-logo {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .freecodecamp-container .cert-logo img,
    .onshape-container .cert-logo img,
    .cybersecurity-container .cert-logo img {
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .freecodecamp-container .cert-logo img,
    .onshape-container .cert-logo img,
    .cybersecurity-container .cert-logo img {
        max-height: 100px;
    }
}

.cert-card {
    display: flex;
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.cert-logo {
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.cert-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-details {
    padding: 25px;
    flex: 1;
}

.cert-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cert-details p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.cert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.cert-view-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-align: center;
}

.cert-view-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

body.dark-mode .cert-view-btn {
    background-color: var(--primary-color);
    color: white;
}

.cert-meta span {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.cert-meta span i {
    margin-right: 8px;
    color: var(--primary-color);
}

.cert-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.cert-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.cert-link:hover {
    color: var(--secondary-color);
}

.cert-link:hover i {
    transform: translateX(5px);
}

/* Samples & Stories Section */
.samples {
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.samples::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.05), rgba(0, 217, 255, 0.05));
    top: -200px;
    right: -200px;
}

.samples-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sample-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.sample-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.2);
}

.sample-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.sample-card:hover:before {
    transform: scaleX(1);
}

.sample-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sample-icon i {
    color: var(--light-color);
    font-size: 1.5rem;
}

.sample-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.sample-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.sample-card .read-more-btn {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.sample-card .read-more-btn:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.sample-card .read-more-btn:hover:after {
    width: 100%;
}

.sample-card .read-more-btn:hover {
    color: var(--secondary-color);
}

.sample-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.sample-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sample-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: rgba(0, 0, 0, 0.03);
    padding: 6px 12px;
    border-radius: 20px;
}

.sample-meta i {
    margin-right: 6px;
    color: var(--primary-color);
}

body.dark-mode .sample-meta {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .sample-meta span {
    color: var(--dark-text-light);
    background-color: rgba(255, 255, 255, 0.05);
}
}

.sample-meta {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sample-meta span {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.sample-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

body.dark-mode .sample-meta {
    border-top-color: rgba(255,255,255,0.1);
}

.timeline {
    max-width: 800px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 40px;
}

.timeline-header h3 {
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.timeline-header h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-note {
    font-style: italic;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 0.95rem;
    background-color: rgba(108, 99, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.timeline-note i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.1rem;
}

body.dark-mode .timeline-note {
    background-color: rgba(108, 99, 255, 0.1);
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-date {
    width: 120px;
    text-align: right;
    padding-right: 30px;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-date {
    order: 2;
    text-align: left;
    padding-left: 30px;
    padding-right: 0;
}

.timeline-content {
    width: calc(50% - 80px);
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(even) .timeline-content {
    order: 1;
}

.timeline-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.contact::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.05), rgba(0, 217, 255, 0.05));
    bottom: -150px;
    left: -150px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.college-contact-note {
    background-color: rgba(108, 99, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.college-contact-note i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.college-contact-note p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

body.dark-mode .college-contact-note {
    background-color: rgba(108, 99, 255, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
}

.social-link:hover i {
    color: var(--light-color);
}

.contact-form {
    flex: 1;
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    background: var(--light-color);
    padding: 0 5px;
    color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn i {
    margin-left: 10px;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 80px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-nav h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-nav h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    bottom: -8px;
    left: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--primary-color);
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .image-container {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 80px;
    }
    
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        top: 0;
        width: auto;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        order: 0;
        padding-left: 0;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        order: 0;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .navbar.scrolled {
        padding: 10px 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    body.dark-mode .nav-links {
        background: var(--dark-surface);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .menu-btn.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .typing-container {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        flex-direction: column;
    }
    
    .cert-logo {
        width: 100%;
        height: 150px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .theme-toggle {
        position: absolute;
        top: 20px;
        right: 70px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .typing-container {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .interest-items {
        justify-content: center;
    }
    
    /* Issues Section Styles */
    .issues {
        background-color: var(--gray-color);
        padding: 100px 0;
        position: relative;
        overflow: hidden;
    }
    
    .issues::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(245, 245, 245, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
        z-index: 0;
    }
    
    .issues .container {
        position: relative;
        z-index: 1;
        padding: 0 20px;
    }
    
    .issues-intro {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 50px;
    }
    
    .issues-intro p {
        font-size: 1.1rem;
        color: var(--text-color);
        line-height: 1.7;
    }
    
    .issues-table-container {
        overflow-x: auto;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        background-color: var(--light-color);
    }
    
    .issues-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        overflow: hidden;
    }
    
    .issues-row {
        display: flex;
        transition: var(--transition);
    }
    
    .issues-row:not(.header-row):hover {
        background-color: rgba(108, 99, 255, 0.05);
        transform: translateY(-2px);
    }
    
    .issues-row.header-row {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: var(--light-color);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }
    
    .issues-cell {
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .icon-cell {
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .title-cell {
        width: 250px;
        display: flex;
        align-items: center;
    }
    
    .desc-cell {
        flex: 1;
    }
    
    .issue-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--light-color);
        font-size: 1.5rem;
        box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
        transition: var(--transition);
    }
    
    .issues-row:hover .issue-icon {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    }
    
    .issues-cell h3 {
        font-size: 1.3rem;
        color: var(--dark-color);
        margin: 0;
    }
    
    .issues-cell p {
        color: var(--text-light);
        line-height: 1.6;
        margin: 0;
    }
    
    /* Special Thanks Section Styles */
    .thanks {
        padding: 100px 0;
        background-color: var(--light-color);
        position: relative;
        overflow: hidden;
    }
    
    .thanks::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 245, 0.7) 100%);
        z-index: 0;
    }
    
    .thanks .container {
        position: relative;
        z-index: 1;
    }
    
    .thanks-intro {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 50px;
    }
    
    .thanks-intro p {
        font-size: 1.1rem;
        color: var(--text-color);
        line-height: 1.7;
    }
    
    .thanks-table-container {
        overflow-x: auto;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        background-color: var(--light-color);
        margin-bottom: 50px;
    }
    
    .thanks-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        overflow: hidden;
    }
    
    .thanks-row {
        display: flex;
        transition: var(--transition);
    }
    
    .thanks-row:not(.header-row):hover {
        background-color: rgba(0, 217, 255, 0.05);
        transform: translateY(-2px);
    }
    
    .thanks-row.header-row {
        background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
        color: var(--light-color);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }
    
    .thanks-cell {
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .thanks-cell.icon-cell {
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .thanks-cell.group-cell {
        width: 250px;
        display: flex;
        align-items: center;
    }
    
    .thanks-cell.contribution-cell {
        flex: 1;
    }
    
    .thanks-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--light-color);
        font-size: 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
        transition: var(--transition);
    }
    
    .thanks-row:hover .thanks-icon {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 217, 255, 0.4);
    }
    
    .thanks-cell h3 {
        font-size: 1.3rem;
        color: var(--dark-color);
        margin: 0;
    }
    
    .thanks-cell p {
        color: var(--text-light);
        line-height: 1.6;
        margin: 0;
    }
    
    .thanks-quote {
        text-align: center;
        margin-top: 50px;
        position: relative;
        padding: 30px;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        max-width: 800px;
        margin: 0 auto;
    }
    
    .thanks-quote blockquote {
        font-size: 1.4rem;
        font-style: italic;
        color: var(--dark-color);
        position: relative;
        padding: 0 40px;
        margin: 0;
    }
    
    .thanks-quote blockquote::before,
    .thanks-quote blockquote::after {
        content: '"';
        font-size: 3rem;
        color: var(--primary-color);
        opacity: 0.3;
        position: absolute;
    }
    
    .thanks-quote blockquote::before {
        top: -20px;
        left: 0;
    }
    
    .thanks-quote blockquote::after {
        bottom: -40px;
        right: 0;
    }
    
    .thanks-quote cite {
        display: block;
        margin-top: 20px;
        font-size: 1rem;
        color: var(--text-light);
        font-style: normal;
    }
    
    /* Dark Mode Styles for Issues and Thanks */
    body.dark-mode .issues::before,
    body.dark-mode .thanks::before {
        background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(18, 18, 18, 0.9) 100%);
    }
    
    body.dark-mode .issues-table-container,
    body.dark-mode .thanks-table-container {
        background-color: var(--dark-surface);
    }
    
    body.dark-mode .issues-row:not(.header-row):hover,
    body.dark-mode .thanks-row:not(.header-row):hover {
        background-color: rgba(108, 99, 255, 0.1);
    }
    
    body.dark-mode .issues-cell,
    body.dark-mode .thanks-cell {
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }
    
    body.dark-mode .issues-cell h3,
    body.dark-mode .thanks-cell h3 {
        color: var(--dark-text);
    }
    
    body.dark-mode .issues-cell p,
    body.dark-mode .thanks-cell p,
    body.dark-mode .issues-intro p,
    body.dark-mode .thanks-intro p {
        color: var(--dark-text-light);
    }
    
    body.dark-mode .thanks-quote {
        background-color: var(--dark-surface);
    }
    
    body.dark-mode .thanks-quote blockquote {
        color: var(--dark-text);
    }
    
    body.dark-mode .thanks-quote cite {
        color: var(--dark-text-light);
    }
    
    /* Responsive styles for Issues and Thanks sections */
    @media (max-width: 992px) {
        .issues-row,
        .thanks-row {
            flex-direction: column;
        }
        
        .issues-cell.icon-cell,
        .thanks-cell.icon-cell {
            width: 100%;
            padding-bottom: 0;
        }
        
        .issues-cell.title-cell,
        .thanks-cell.group-cell {
            width: 100%;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        
        .issues-cell.desc-cell,
        .thanks-cell.contribution-cell {
            width: 100%;
            padding-top: 0;
        }
        
        .issues-row.header-row,
        .thanks-row.header-row {
            display: none;
        }
        
        .issue-icon,
        .thanks-icon {
            margin: 0 auto;
        }
        
        .issues-cell h3,
        .thanks-cell h3 {
            text-align: center;
        }
    }
    
    @media (max-width: 768px) {
        .issues-table-container,
        .thanks-table-container {
            border-radius: 0;
        }
        
        .thanks-quote blockquote {
            font-size: 1.2rem;
            padding: 0 20px;
        }
        
        .thanks-quote blockquote::before,
        .thanks-quote blockquote::after {
            font-size: 2rem;
        }
    }
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--dark-color);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .thanks-category h3 i {
        color: var(--primary-color);
    }
    
    .thanks-category p {
        color: var(--text-light);
        line-height: 1.6;
    }
    
    .thanks-quote {
        margin-top: 50px;
    }
    
    .thanks-quote blockquote {
        font-size: 1.4rem;
        font-style: italic;
        color: var(--dark-color);
        position: relative;
        padding: 0 40px;
    }
    
    .thanks-quote blockquote::before,
    .thanks-quote blockquote::after {
        content: '"';
        font-size: 3rem;
        color: var(--primary-color);
        opacity: 0.3;
        position: absolute;
    }
    
    .thanks-quote blockquote::before {
        top: -20px;
        left: 0;
    }
    
    .thanks-quote blockquote::after {
        bottom: -40px;
        right: 0;
    }
    
    .thanks-quote cite {
        display: block;
        margin-top: 20px;
        font-size: 1rem;
        color: var(--text-light);
        font-style: normal;
    }
    
    body.dark-mode .thanks-category h3 {
        color: var(--dark-text);
    }
    
    body.dark-mode .thanks-category p {
        color: var(--dark-text-light);
    }
    
    body.dark-mode .thanks-quote blockquote {
        color: var(--dark-text);
    }
    
    body.dark-mode .thanks-quote cite {
        color: var(--dark-text-light);
    }
    
    /* Responsive styles for Issues and Thanks sections */
    @media (max-width: 768px) {
        .issues-grid,
        .thanks-categories {
            grid-template-columns: 1fr;
        }
        
        .issue-card,
        .thanks-category {
            padding: 25px;
        }
        
        .thanks-quote blockquote {
            font-size: 1.2rem;
            padding: 0 20px;
        }
    }
    
    .samples-container {
        grid-template-columns: 1fr;
    }
}