/* Base styling */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent: #ff3333;
    --accent-hover: #ff5555;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom cursor */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 1000;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    filter: drop-shadow(0 0 6px rgba(255, 51, 51, 0.8));
}

.cursor-blob {
    position: fixed;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 51, 51, 0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: screen;
    filter: blur(5px);
    animation: blobPulse 8s infinite alternate;
    backdrop-filter: invert(20%);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.6), inset 0 0 15px rgba(255, 51, 51, 0.8);
}

@keyframes blobPulse {
    0% {
        border-radius: 50%;
        background-color: rgba(255, 51, 51, 0.4);
        filter: blur(5px) hue-rotate(0deg);
    }
    20% {
        border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%;
        background-color: rgba(255, 51, 51, 0.45);
        filter: blur(4px) hue-rotate(10deg);
    }
    40% {
        border-radius: 30% 60% 40% 70% / 60% 30% 70% 40%;
        background-color: rgba(255, 51, 51, 0.5);
        filter: blur(6px) hue-rotate(5deg);
    }
    60% {
        border-radius: 70% 30% 50% 50% / 40% 40% 60% 60%;
        background-color: rgba(255, 51, 51, 0.55);
        filter: blur(5px) hue-rotate(-5deg);
    }
    80% {
        border-radius: 40% 60% 30% 70% / 70% 30% 50% 50%;
        background-color: rgba(255, 51, 51, 0.5);
        filter: blur(4px) hue-rotate(-10deg);
    }
    100% {
        border-radius: 60% 40% 60% 40% / 40% 50% 50% 60%;
        background-color: rgba(255, 51, 51, 0.4);
        filter: blur(5px) hue-rotate(0deg);
    }
}

/* Loading animation */
.loading-screen {
    position: fixed;
    inset: 0;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-animation {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: loading 1.5s ease-in-out infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.25s;
}

.dot:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes loading {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px;
    transition: var(--transition);
}

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

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

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

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    z-index: 1;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--accent);
    animation: glitch-position 0.4s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
}

.glitch::after {
    color: var(--accent);
    opacity: 0.5;
    animation: glitch-position 0.4s infinite reverse;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
}

@keyframes glitch-position {
    0% {
        transform: translate(-2px, -2px);
    }
    25% {
        transform: translate(-2px, 2px);
    }
    50% {
        transform: translate(2px, -2px);
    }
    75% {
        transform: translate(2px, 2px);
    }
    100% {
        transform: translate(-2px, -2px);
    }
}

.typewriter {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.typewriter p {
    display: inline-block;
}

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

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent);
    animation: blink 1s infinite;
}

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

/* Word Scramble Effect */
.word-scramble {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
}

.word-scramble p {
    display: inline-block;
}

.scramble-word {
    color: var(--accent);
    position: relative;
    display: inline-block;
    min-width: 220px;
    text-shadow: 0 0 3px rgba(255, 51, 51, 0.5);
}

.scramble-word::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform-origin: left;
    animation: pulse 2s infinite;
}

.scramble-word::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 51, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.scramble-letter {
    display: inline-block;
    position: relative;
}

.scramble-letter.active {
    animation: flicker 0.3s infinite;
    transform: translateY(0);
    transition: transform 0.2s;
}

.scramble-letter.active:nth-child(odd) {
    transform: translateY(-1px);
}

.scramble-letter.active:nth-child(even) {
    transform: translateY(1px);
}

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

@keyframes pulse {
    0%, 100% { transform: scaleX(1); filter: brightness(1); }
    50% { transform: scaleX(0.85); filter: brightness(1.5); }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.primary {
    background-color: var(--accent);
    color: white;
}

.primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 51, 51, 0.3);
}

.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent);
}

.secondary:hover {
    color: white;
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 51, 51, 0.3);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
    animation: float 8s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 51, 51, 0.7);
    top: 40%;
    right: 40%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 51, 51, 0.4);
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

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

/* Section styling */
section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto;
    position: relative;
}

.underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--accent);
    top: 0;
    left: 90px;
    opacity: 0.5;
}

.underline::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background-color: var(--accent);
    top: 0;
    left: 140px;
    opacity: 0.2;
}

/* About section */
.about {
    background-color: var(--bg-secondary);
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-intro p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.experience-section {
    max-width: 900px;
    margin: 0 auto 60px;
}

.experience-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--accent);
}

/* Restore the skill styles */
h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.skills {
    margin-top: 40px;
}

.skill-category {
    margin-bottom: 30px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: rgba(255, 51, 51, 0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 51, 51, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-tag i {
    color: var(--accent);
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.skill-tag:hover i {
    color: white;
}

/* Timeline styles */
.experience-timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: rgba(255, 51, 51, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 0 2px rgba(255, 51, 51, 0.3);
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.timeline-date {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-details {
    margin-top: 10px;
}

.timeline-bullets {
    list-style: none;
    padding-left: 0;
}

.timeline-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
    .about-intro {
        padding: 0 20px;
        text-align: left;
    }
    
    .experience-section {
        padding: 0 20px;
    }
    
    .experience-section h3 {
        text-align: left;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-bullets li {
        font-size: 0.9rem;
    }
}

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

.project-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    background-color: #222;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

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

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-link:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1) !important;
}

.project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-info {
    padding: 20px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background-color: rgba(255, 51, 51, 0.1);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    transition: var(--transition);
}

.tech-tag:hover {
    background-color: var(--accent);
    color: white;
}

/* Contact section */
.contact {
    background-color: var(--bg-secondary);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-5px);
}

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

.form-input {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.25);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--accent);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 51, 51, 0.3);
}

/* Footer */
footer {
    padding: 30px 5%;
    background-color: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.heart {
    color: var(--accent);
    animation: heartbeat 1.5s infinite;
}

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

.code {
    font-family: monospace;
    color: var(--accent);
}

/* Responsive design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        width: 100%;
        order: 2;
    }
    
    .profile-circle {
        order: 1;
        margin-bottom: 40px;
    }
    
    .hero-image {
        opacity: 0.3;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .experience-timeline::before {
        left: 0;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }
    
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .typewriter {
        font-size: 1.2rem;
    }
    
    .hero-social-links {
        justify-content: center;
        margin: 20px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    section {
        padding: 60px 5%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Ripple effect */
.cta-button, .submit-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Profile image circle */
.profile-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    overflow: hidden;
    position: relative;
    margin: 0;
    box-shadow: 0 10px 25px rgba(255, 51, 51, 0.3);
    transition: var(--transition);
    z-index: 1;
}

.profile-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 51, 51, 0.4);
    border-width: 6px;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--accent);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* New subsections styles */
.subsections {
    margin-top: 60px;
}

.subsection {
    margin-bottom: 50px;
}

.subsection-header {
    margin-bottom: 30px;
    text-align: center;
}

.subsection-underline {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 10px auto 0;
}

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

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    border-left: 3px solid var(--accent);
    padding-left: 10px;
}

/* Awards and interests styling */
.awards-interests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.awards, .interests {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.awards:hover, .interests:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.awards h4, .interests h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.award-list {
    list-style-type: none;
}

.award-list li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 51, 51, 0.3);
}

.award-title {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.award-org {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.interest-tag {
    background-color: rgba(255, 51, 51, 0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 51, 51, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.interest-tag i {
    color: var(--accent);
}

.interest-tag:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.interest-tag:hover i {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-grid, .awards-interests {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .awards, .interests {
        padding: 20px;
    }
}

/* Consulting Projects Section */
.consulting {
    background-color: var(--bg-primary);
}

.consulting-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.consulting-project {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.consulting-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.consulting-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.client-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.client-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.project-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.consulting-content {
    padding: 25px;
}

.consulting-description {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.consulting-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.consulting-results {
    display: flex;
    gap: 15px;
}

.result-item {
    background-color: rgba(255, 51, 51, 0.1);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    flex: 1;
    text-align: center;
    border: 1px solid rgba(255, 51, 51, 0.2);
    transition: var(--transition);
}

.result-item:hover {
    background-color: rgba(255, 51, 51, 0.2);
    transform: translateY(-3px);
}

.result-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Consulting links section */
.consulting-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.consulting-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.consulting-link i {
    font-size: 1.1rem;
}

.slides-link {
    background-color: rgba(255, 87, 51, 0.1);
    color: #FF5733;
    border-color: rgba(255, 87, 51, 0.3);
}

.slides-link:hover {
    background-color: #FF5733;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 87, 51, 0.3);
}

.notion-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.notion-link:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments for consulting section */
@media (max-width: 768px) {
    .consulting-links {
        flex-direction: column;
    }
    
    .consulting-link {
        width: 100%;
        justify-content: center;
    }
}

/* Hackathons Section */
.hackathons {
    background-color: var(--bg-secondary);
}

.hackathons-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hackathon-event {
    display: flex;
    gap: 25px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.hackathon-event:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hackathon-badge {
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--accent), #c62b2b);
    border-radius: var(--border-radius);
    padding: 15px 10px;
    color: white;
}

.hackathon-badge.special {
    background: linear-gradient(145deg, #ffb347, #ffcc33);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.badge-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.hackathon-details {
    flex: 1;
}

.hackathon-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.hackathon-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.hackathon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hackathon-date, 
.hackathon-team, 
.hackathon-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.hackathon-meta i {
    color: var(--accent);
}

/* Responsive design for new sections */
@media (max-width: 768px) {
    .consulting-results {
        flex-direction: column;
        gap: 10px;
    }

    .hackathon-event {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .hackathon-badge {
        width: 120px;
    }

    .hackathon-meta {
        justify-content: center;
    }
}

/* Hero social links */
.hero-social-links {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.hero-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 51, 51, 0.1);
    color: var(--accent);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 51, 51, 0.3);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    position: relative;
}

/* Custom Tooltip Styles */
.hero-social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 6px 10px 6px 14px;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--accent);
    z-index: 10;
    font-weight: 500;
}

/* Special style for email tooltip */
.hero-social-link[title="Email"]::after {
    font-family: monospace;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Email icon special hover effect */
.hero-social-link[title="Email"]:hover {
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.5);
    transform: translateY(-5px);
}

.hero-social-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--bg-secondary);
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 11;
}

.hero-social-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

.hero-social-link:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Additional tooltip animation */
@keyframes tooltipPulse {
    0% { box-shadow: 0 5px 15px rgba(255, 51, 51, 0.2); }
    50% { box-shadow: 0 5px 20px rgba(255, 51, 51, 0.4); }
    100% { box-shadow: 0 5px 15px rgba(255, 51, 51, 0.2); }
}

.hero-social-link:hover::after {
    animation: tooltipPulse 1.5s infinite;
}

/* Responsive tooltip adjustments */
@media (max-width: 768px) {
    .hero-social-link::after {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
}

.hero-social-link:nth-child(1) { animation-delay: 0.1s; }
.hero-social-link:nth-child(2) { animation-delay: 0.2s; }
.hero-social-link:nth-child(3) { animation-delay: 0.3s; }
.hero-social-link:nth-child(4) { animation-delay: 0.4s; }
.hero-social-link:nth-child(5) { animation-delay: 0.5s; }
.hero-social-link:nth-child(6) { animation-delay: 0.6s; }

.hero-social-link:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

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

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor, .cursor-blob {
        display: none;
    }
} 
/* Cursor Shockwave Effect */
.cursor-shockwave {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 998;
    animation: shockwave 0.7s ease-out forwards;
}

@keyframes shockwave {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 2px;
    }
    70% {
        opacity: 0.7;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        border-width: 1px;
    }
}

.client-info {
    flex: 1;
}

.client-collaboration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.client-collaboration .accent {
    font-weight: 600;
}

/* Contact form improvements */
.contact-alternative {
    margin-top: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

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

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.2);
    transition: var(--transition);
}

.email-link:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 51, 51, 0.3);
}

.form-note {
    margin-top: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Success/error messages for form */
.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    text-align: center;
}

.form-message.success {
    background-color: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #2ecc71;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-alternative {
        margin-top: 30px;
        padding: 15px;
    }
    
    .email-link {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}
