/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="rgba(255,182,193,0.5)"/></svg>') 10 10, auto;
}

/* Intro Animation Styles */
.intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    overflow: hidden;
    padding: 2rem;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.intro[style*="display: none"] {
    animation: none;
    display: none !important;
    visibility: hidden;
}

.smoke-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures video covers entire container */
    z-index: 1;
}

.chemical-name {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Optional: Add a slight darkening overlay to make text more visible */
.intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Subtle dark overlay */
    z-index: 1;
    pointer-events: none;
}

/* Name line container */
.name-line {
    display: flex;
    align-items: baseline;
    height: 80px;
    margin-bottom: 15px;
    gap: 5px;
}

/* First name line (Deepika) */
.name-line:first-child {
    margin-left: 0;
}

/* Second name line (Anbalagan) */
.name-line:last-child {
    margin-left: 30px;
}

/* Element box styling */
.element-box {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background-color: #FFB6C1;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 0 7px rgba(255, 182, 193, 0.3);
}

/* Element symbol styling */
.element {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    text-shadow: none;
    height: 45px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    line-height: 1;
    animation: glowPulse 2s infinite;
}

/* Details section styling */
.details {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding-bottom: 4px;
}

.atomic-number {
    font-size: 0.5rem;
    color: #000000;
    opacity: 0.9;
    position: absolute;
    top: 5px;
    left: 5px;
}

.element-name {
    font-size: 0.45rem;
    color: #000000;
    opacity: 0.9;
}

.atomic-mass {
    font-size: 0.45rem;
    color: #000000;
    opacity: 0.9;
}

/* Remaining name styling */
.remaining-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    padding-top: 10px;
    height: 45px;
}

/* Portfolio Styles */
.portfolio-content {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out 1s forwards; /* Adjusted timing to match new intro duration */
}

:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-color: #FFB6C1;
    --nav-height: 40px;
    --max-width: 1400px;
    --side-padding: 60px;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    position: absolute;
    left: var(--side-padding);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

/* Default state for nav links */
.nav-links a {
    color: var(--text-color); /* This is white */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a i {
    margin-right: 0.5rem;
}

/* Active state for nav links */
.nav-links a.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
}

/* Remove any special styling for Home link by default */
.nav-links a[href="#"],
.nav-links a[href="index.html"],
.nav-links a[href="../index.html"] {
    color: var(--text-color);
    font-weight: 400;
}

/* Only apply accent color when active */
.nav-links a[href="#"].active,
.nav-links a[href="index.html"].active,
.nav-links a[href="../index.html"].active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Only show underline effect on hover for Projects, Experience, Skills and About links */
.nav-links a[href="#projects"]::after,
.nav-links a[href="#experience"]::after,
.nav-links a[href="index.html#experience"]::after,
.nav-links a[href="../index.html#experience"]::after,
.nav-links a[href="#tools"]::after,
.nav-links a[href="index.html#tools"]::after,
.nav-links a[href="../index.html#tools"]::after,
.nav-links a[href="#about"]::after,
.nav-links a[href="index.html#about"]::after,
.nav-links a[href="../index.html#about"]::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a[href="#projects"]:hover::after,
.nav-links a[href="#experience"]:hover::after,
.nav-links a[href="index.html#experience"]:hover::after,
.nav-links a[href="../index.html#experience"]:hover::after,
.nav-links a[href="#tools"]:hover::after,
.nav-links a[href="index.html#tools"]:hover::after,
.nav-links a[href="../index.html#tools"]:hover::after,
.nav-links a[href="#about"]:hover::after,
.nav-links a[href="index.html#about"]:hover::after,
.nav-links a[href="../index.html#about"]:hover::after {
    width: 100%;
}

.resume-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.1rem 0;
    gap: 0.5rem;
    margin: 0.2rem 0 0.2rem 0;
}

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

.resume-link:hover i {
    transform: translate(3px, -3px);
}

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

.resume-link:hover {
    color: var(--accent-color);
    opacity: 0.8;
}

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

.opportunity-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 0.8rem 0;
    text-align: center;
    font-weight: 600;
}

.profile-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto; /* Adjust margin for new placement */
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    height: 42px;
    line-height: 1;
    background-color: var(--accent-color);
    color: var(--bg-color) !important;
    border: 1px solid var(--accent-color);
    min-width: 180px;
    justify-content: center;
}

.profile-contact-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.profile-contact-link:hover {
    background-color: transparent;
    color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}

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

.opportunities-contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    padding-bottom: 4rem;
}

.landing .social-icons {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.landing .social-icons a {
    color: var(--text-color);
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
}

.landing .social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .landing .container {
        max-width: 100%;
        padding: 0 3rem;
    }
}

@media (max-width: 968px) {
    .landing .top-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .landing .intro-section {
        max-width: 100%;
        padding-top: 0;
    }

    .landing .profile-section {
        max-width: 100%;
        position: relative;
        top: 0;
        margin-top: 0;
    }

    .landing .profile-image {
        width: 180px;
        height: 180px;
    }

    .landing .name {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .landing .container {
        padding: 1.5rem;
    }

    .landing .profile-image {
        width: 150px;
        height: 150px;
    }

    .landing .name {
        font-size: 1.6rem;
    }

    .landing .title {
        font-size: 1rem;
    }
}

/* About section */
.about-section {
    min-height: 100vh;
    display: none;
    padding-top: calc(var(--nav-height) + 4rem);
}

.about-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.about-section .intro-section {
    flex: 1;
    max-width: 50%;
    padding-right: 4rem;
    text-align: left;
}

.about-section .profile-section {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
        text-align: center;
    gap: 0.5rem;
}

#about:target ~ .portfolio-content .landing {
    display: flex;
}

#about:target ~ .portfolio-content .about-section {
    display: none;
}

#about:target ~ .intro {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .landing .container,
    .about-section .container {
        flex-direction: column;
        gap: 2rem;
    }

    .landing .intro-section,
    .landing .profile-section,
    .about-section .intro-section,
    .about-section .profile-section {
        max-width: 100%;
        padding-right: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --max-width: 1600px;
        --side-padding: 60px;
    }
    
    .nav-links a {
        font-size: 1rem; /* Reverted */
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .intro-text {
        font-size: 1.1rem; /* Reverted */
    }
    
    .name {
        font-size: 2.25rem; /* Reverted */
    }
    
    .title {
        font-size: 1rem; /* Reverted */
    }
    
    .social-icons a {
        font-size: 1.4rem !important; /* Reverted */
    }
}

@media (max-width: 640px) {
    :root {
        --side-padding: 24px;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 2rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero .profile-image {
        width: 250px;
        height: 250px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero .profile-image {
        width: 200px;
        height: 200px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }
}

/* About section styles */
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.profile-section {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #FFB6C1;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .profile-section {
        flex: 0 0 250px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }
}

/* Add these animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Update responsive breakpoints for icons */
@media (max-width: 1200px) {
    .social-icons a {
        font-size: 2.8125rem !important; /* Reduced from 3.75rem */
    }
}

@media (max-width: 968px) {
    .social-icons a {
        font-size: 2.53125rem !important; /* Reduced from 3.375rem */
    }
}

@media (max-width: 640px) {
    .social-icons {
        gap: 2em;
    }
    
    .social-icons a {
        font-size: 2.25rem !important; /* Reduced from 3rem */
    }
}

/* Experience Page Styles */
.experience-page {
    padding: 6rem var(--side-padding);
    background: rgba(255, 182, 193, 0.03);
    min-height: 100vh;
    position: relative;
}

.experience-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.experience-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 182, 193, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.3);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.experience-title {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

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

.experience-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.experience-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.experience-tools span {
    background: rgba(255, 182, 193, 0.1);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.experience-tools span:hover {
    background: rgba(255, 182, 193, 0.2);
    color: var(--accent-color);
}

/* Detailed Experience Page */
.experience-detail {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem var(--side-padding);
    min-height: 100vh;
    background: rgba(255, 182, 193, 0.03);
}

.experience-detail-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.experience-detail-header h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.experience-detail-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.experience-detail-content {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    background: rgba(255, 182, 193, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 182, 193, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.experience-detail-content h2 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.experience-detail-content h2:first-child {
    margin-top: 0;
}

.experience-detail-content p {
    margin-bottom: 1.5rem;
}

.experience-detail-content ul {
    margin: 1rem 0 1.5rem 1.2rem;
}

.experience-detail-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1rem;
}

.experience-detail-content li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 182, 193, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.back-link:hover {
    transform: translateX(-5px);
    background: rgba(255, 182, 193, 0.2);
    border-color: rgba(255, 182, 193, 0.2);
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.2);
}

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

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

@media (max-width: 768px) {
    .experience-detail {
        padding: 4rem var(--side-padding);
    }

    .experience-detail-header h1 {
        font-size: 1.5rem;
    }

    .experience-detail-content {
        padding: 1.5rem;
    }

    .experience-detail-content h2 {
        font-size: 1rem;
    }
}

/* Projects Section */
.projects-section {
    padding: 6rem var(--side-padding);
    background: rgba(255, 182, 193, 0.03);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 2rem 0 3rem 0;
    text-align: center;
    position: relative;
    width: 100%;
}

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

.projects-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 182, 193, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.3);
}

.project-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.project-title {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.project-title-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    flex: 1;
}

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

.project-title-link:hover .github-icon {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.project-image {
    width: 100%;
    height: 250px;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.project-image.video-container {
    height: 300px;
}

.project-image img,
.project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Ensure videos maintain aspect ratio */
.project-image video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.1);
}

.project-description {
    padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.project-tools {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: auto;
}

.project-tools span {
    background: rgba(255, 182, 193, 0.1);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.project-tools span:hover {
    background: rgba(255, 182, 193, 0.2);
    color: var(--accent-color);
}

.github-icon {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.project-badge {
    background: rgba(255, 182, 193, 0.2);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
        gap: 2.5rem;
    }
}

@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 2rem;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-image.video-container {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .projects-grid {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-image.video-container {
        height: 220px;
    }
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.read-more:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 182, 193, 0.2);
}

.tech-stack {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-stack-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 182, 193, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.stack-section {
    background: rgba(255, 182, 193, 0.05);
    border: 1px solid rgba(255, 182, 193, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stack-section:hover {
    background: rgba(255, 182, 193, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.1);
}

.stack-header h3 {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-items span {
    background: rgba(255, 182, 193, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.tech-items span:hover {
    background: rgba(255, 182, 193, 0.2);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
}

@media (max-width: 968px) {
    .tech-stack {
        margin-top: 3rem;
    }

    .stack-section {
        padding: 1.5rem;
    }

    .stack-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .project-title,
    .experience-title,
    .intro-text,
    .stack-section h3,
    .stack-description,
    .tech-items span,
    .project-description,
    .experience-description {
        font-size: 0.9rem;
    }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.experience-button,
.projects-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    height: 42px;
    line-height: 1;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: 1px solid var(--accent-color);
    min-width: 200px;
    position: relative;
    top: 0;
    margin: 0;
}

.experience-button:hover,
.projects-button:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}

.experience-button i,
.projects-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    margin: 0;
}

.experience-button:hover i,
.projects-button:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .experience-button,
    .projects-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 180px;
        height: 38px;
    }
}

/* Tools Section Styles (within landing page) */
.landing .tools-section {
    margin: 1rem 0;
    padding: 2rem 0;
    position: relative;
}

.landing .tools-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.landing .tools-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.landing .tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 500px));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.landing .tool-card {
    background: rgba(255, 182, 193, 0.05);
    border: 1px solid rgba(255, 182, 193, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
}

.landing .tool-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 182, 193, 0.08);
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.3);
}

.landing .tool-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    background: rgba(255, 182, 193, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing .tool-content {
    flex: 1;
}

.landing .tool-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.landing .tool-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.landing .tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.landing .tool-tag {
    font-size: 0.9rem;
    background: rgba(255, 182, 193, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.landing .tool-tag:hover {
    background: rgba(255, 182, 193, 0.2);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
}

@media (max-width: 968px) {
    .landing .tools-title {
        font-size: 2rem;
    }
    
    .landing .tools-subtitle {
        font-size: 1rem;
    margin-bottom: 3rem;
    }
    
    .landing .tool-card {
        padding: 1.5rem;
    }
    
    .landing .tool-icon {
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .landing .tools-grid {
        grid-template-columns: minmax(300px, 500px);
    }
}

@media (max-width: 640px) {
    .landing .tools-section {
        margin-top: 4rem;
    }
    
    .landing .tools-title {
        font-size: 1.8rem;
    }
    
    .landing .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .landing .tool-content h3 {
        font-size: 1.1rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height); /* Account for fixed navbar */
}

.landing {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 4rem);
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.98) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.landing .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Reduced from 8rem */
}

.landing .top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
    position: relative;
}

.landing .intro-section {
    flex: 1;
    max-width: 50%;
    padding-top: 3rem;
}

.landing .intro-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    background: rgba(255, 182, 193, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 182, 193, 0.1);
    backdrop-filter: blur(10px);
}

.landing .intro-text p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.landing .motto {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 2rem;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 182, 193, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.landing .profile-section {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    background: rgba(255, 182, 193, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 182, 193, 0.1);
    backdrop-filter: blur(10px);
    margin-top: -2rem;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.landing .profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(255, 182, 193, 0.2);
    transition: all 0.3s ease;
}

.landing .profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(255, 182, 193, 0.3);
}

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

.landing .name {
    font-size: 2.5rem;
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    font-style: italic;
    color: var(--text-color);
    margin: 0 0 0.2rem 0;
}

.landing .title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.9;
    margin: 0.2rem 0 0.2rem 0;
}

.resume-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.1rem 0;
    gap: 0.5rem;
    margin: 0.2rem 0 0.2rem 0;
}

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

.resume-link:hover i {
    transform: translate(3px, -3px);
}

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

.resume-link:hover {
    color: var(--accent-color);
    opacity: 0.8;
}

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

.opportunities-contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    padding-bottom: 4rem;
}

.opportunity-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.profile-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    height: 42px;
    line-height: 1;
    background-color: var(--accent-color);
    color: var(--bg-color) !important;
    border: 1px solid var(--accent-color);
    min-width: 180px;
    justify-content: center;
}

.profile-contact-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.profile-contact-link:hover {
    background-color: transparent;
    color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}

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

.landing .social-icons {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.landing .social-icons a {
    color: var(--text-color);
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
}

.landing .social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .landing .container {
        max-width: 100%;
        padding: 0 3rem;
    }
}

@media (max-width: 968px) {
    .landing .top-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .landing .intro-section {
        max-width: 100%;
        padding-top: 0;
    }

    .landing .profile-section {
        max-width: 100%;
        position: relative;
        top: 0;
        margin-top: 0;
    }

    .landing .profile-image {
        width: 180px;
        height: 180px;
    }

    .landing .name {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .landing .container {
        padding: 1.5rem;
    }

    .landing .profile-image {
        width: 150px;
        height: 150px;
    }

    .landing .name {
        font-size: 1.6rem;
    }

    .landing .title {
        font-size: 1rem;
    }
}

/* Footer Styles */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 182, 193, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

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

.footer .social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer .copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.footer .heart {
    color: var(--accent-color);
    display: inline-block;
    margin: 0 0.2rem;
    animation: heartbeat 1.5s ease infinite;
}

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

@media (max-width: 968px) {
    .landing .container {
        gap: 3rem;
    }
    
    .landing .tools-section,
    .landing .projects-section {
        margin: 0;
        padding: 1.5rem 0;
    }
    
    .footer {
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
}

@media (max-width: 640px) {
    .landing .container {
        gap: 2rem;
    }
    
    .footer .social-links {
        gap: 1.5rem;
    }
    
    .footer .social-links a {
        font-size: 1.3rem;
    }
}

.nav-links a.active {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.github-link {
    text-align: center;
    margin-top: 2rem;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    display: block;
    color: inherit;
    font-weight: inherit;
    transition: none;
}

.github-link p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.github-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-left: 0.5rem;
}

.github-link:hover {
    background-color: transparent;
    color: inherit;
    transform: none;
    box-shadow: none;
}

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

.github-link:hover a {
    color: var(--accent-color);
    background-color: transparent;
}

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

.github-link:hover i {
    transform: translateX(4px);
}

.back-to-home {
    position: absolute;
    top: calc(var(--nav-height) + 2rem);
    left: var(--side-padding);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 182, 193, 0.1);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 182, 193, 0.1);
    z-index: 10;
}

.back-to-home:hover {
    background: rgba(255, 182, 193, 0.2);
    transform: translateX(-5px);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.2);
}

.back-to-home i {
    transition: transform 0.3s ease;
}

.back-to-home:hover i {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .back-to-home {
        top: 1.5rem;
        left: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Floating Contact Button */
.floating-contact {
  position: absolute;
  right: var(--side-padding);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--accent-color);
  color: #000000;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
}

.floating-contact:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}

.floating-contact i {
  font-size: 1rem;
}

@media (max-width: 1200px) {
    .nav-logo {
        font-size: 1.8rem;
    }
}

@media (max-width: 968px) {
    .nav-logo {
        font-size: 1.6rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .logo-image {
        height: 24px;
    }
}

.projects-section .tools-subtitle {
    margin-bottom: 2rem;  /* Reduced from 4rem that's used in tools section */
}

/* Home icon styles */
.home-icon {
  margin-right: 0.3rem;
  font-size: 0.9rem; /* Increased from 0.6rem to match original size */
}

/* About Me title styling */
.about-me-title {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  position: relative;
  text-align: left;
}

.about-me-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

a, button, .project-card, .experience-card {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><circle cx="15" cy="15" r="10" fill="rgba(255,182,193,0.8)"/></svg>') 15 15, pointer;
}

/* Experience Highlights Section */
.experience-highlights-section {
  padding: 6rem var(--side-padding);
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
  width: 100%;
}

.timeline-experience {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 182, 193, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-color), rgba(255, 182, 193, 0.3));
}

.timeline-experience:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 182, 193, 0.1);
  border-color: rgba(255, 182, 193, 0.3);
}

.timeline-header {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.timeline-header h3 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.timeline-company {
  display: block;
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.timeline-date {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.8;
}

.timeline-content {
  padding-left: 1rem;
}

.timeline-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.timeline-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.timeline-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.timeline-link {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.timeline-link:hover {
  transform: translateX(5px);
}

.timeline-link i {
  font-size: 0.8rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

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

.experience-cta {
  margin-top: 3rem;
  text-align: center;
}

.experience-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--bg-color) !important;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
  font-weight: 500;
}

.experience-button:hover {
  background-color: transparent;
  color: var(--accent-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}

.experience-button i {
  transition: transform 0.3s ease;
}

.experience-button:hover i {
  transform: translateX(4px);
}

.timeline-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.timeline-tools span {
  background: rgba(255, 182, 193, 0.1);
  color: var(--text-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.timeline-tools span:hover {
  background: rgba(255, 182, 193, 0.2);
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
  }
  
  .timeline-experience {
    width: 100%;
  }
}

/* Update the background for experience and projects sections */
.landing .experience-section {
    margin: 1rem 0;
    padding: 2rem 0;
    position: relative;
    background: none; /* Remove the background */
}

/* Keep the projects section with its gradient */
.landing .projects-section {
    margin: 1rem 0;
    padding: 2rem 0;
    position: relative;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.98) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

/* Remove the background and padding from the "Check out my other projects" section */
.landing .projects-section .github-link {
    /* Remove these styles as they're conflicting */
    background: none;
    /* Remove the padding */
    padding: 0;
    /* Remove border-radius and border as they are related to the background box */
    border-radius: 0;
    border: none;
    /* Adjust margin if necessary after removing padding */
    margin-top: 1rem; /* Adjusted margin */
    text-align: center; /* Keep text centered if desired */
}
