/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7FB3D5;  /* Softer Sky Blue */
    --secondary-color: #AED6F1;  /* Lighter Sky Blue */
    --text-color: #2c3e50;
    --light-text: #64748b;
    --background: #F0F8FF;  /* Alice Blue - Very light sky blue */
    --section-bg: #ffffff;  /* Pure white for sections */
    --card-bg: #ffffff;  /* White for cards */
    --accent-color: #7D3C98;  /* Rich Purple - Sophisticated accent */
    --accent-gradient: linear-gradient(135deg, #7D3C98 0%, #9B59B6 100%);
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --safe-area-bottom: env(safe-area-inset-bottom);
    --standard-shadow: 0 5px 15px var(--shadow-color);
    --standard-gradient: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    overflow-x: hidden;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    -webkit-overflow-scrolling: touch;
}

.app-container {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 4.5rem;
}

.logo-container {
    height: 100%;
    overflow: hidden; /* Contain the logo */
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.3rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 100%;
    transition: transform 0.3s ease;
}

.logo-img {
    height: 4.8rem; /* Increased from 4.2rem */
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1.2);
    transform: translateY(2px); /* Slight adjustment to center vertically */
}

.logo a:hover {
    transform: translateY(-2px);
}

.logo a:hover .logo-img {
    transform: translateY(2px) scale(1.5);
}

/* Dark mode adjustments for logo */
@media (prefers-color-scheme: dark) {
    .logo-img {
        filter: brightness(0.9) invert(1);
    }

    .logo a:hover .logo-img {
        filter: brightness(1) invert(1);
    }
}

/* Mobile adjustments for logo */
@media (max-width: 768px) {
    .navbar {
        height: 4.2rem;
        padding: 0.5rem 1.5rem;
    }

    .logo-img {
        height: 4.2rem; /* Adjusted for mobile */
        transform: translateY(1px);
    }

    .logo a:hover .logo-img {
        transform: translateY(1px) scale(1.4);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-color);
}

/* Main Content */
.main-content {
    flex: 1;
    position: relative;
    margin-top: 4rem;
    margin-bottom: 6rem;
    min-height: calc(100vh - 10rem); /* Account for navbar and footer */
}

.section {
    position: relative; /* Changed from absolute */
    width: 100%;
    min-height: calc(100vh - 10rem);
    opacity: 0;
    visibility: hidden;
    display: none; /* Add display none by default */
    padding: 2rem;
}

.section.active {
    opacity: 1;
    visibility: visible;
    display: block; /* Show when active */
    animation: fadeIn 0.5s ease-in-out;
    padding-bottom: 100px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ensure section content is properly contained */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* Hero Section */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 100%;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.name-highlight {
    color: #9B59B6; /* Lighter shade of the accent color */
    text-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.hero-text h1 span:not(.norm-text):not(.name-highlight) {
    color: var(--accent-color);
}

.name-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #9B59B6, var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.name-highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 159, 67, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 179, 213, 0.3);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.image-container {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(127, 179, 213, 0.2);
    border: 2px solid rgba(127, 179, 213, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(125, 60, 152, 0.3), rgba(127, 179, 213, 0.3));
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Remove the computer emoji styles */
.image-container::after {
    display: none;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optimize hover effects for mobile */
@media (hover: hover) {
    .image-container:hover img {
        transform: scale(1.05);
    }

    .image-container:hover::before {
        opacity: 1;
    }

    .image-container:hover {
        box-shadow: 0 15px 40px rgba(125, 60, 152, 0.3);
        border-color: rgba(125, 60, 152, 0.6);
    }

    .skill-icon:hover i {
        transform: scale(1.2);
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    html, body, .app-container {
        height: -webkit-fill-available;
    }
    
    .app-container {
        height: 100vh;
    }

    .main-content {
        margin-bottom: 5rem;
    }

    .footer {
        padding: 0.75rem;
    }

    .section {
        padding: 1rem;
        padding-bottom: 1rem;
    }

    .contact-grid {
        padding-bottom: calc(4rem + var(--safe-area-bottom));
    }

    .image-container {
        box-shadow: 0 5px 15px rgba(127, 179, 213, 0.15);
        position: relative;
        overflow: hidden;
    }

    .image-container::before {
        opacity: 0;
    }

    .skill-icons {
        padding: 0.4rem 1rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
        transform: translateY(0);
        opacity: 1;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
    }

    .skill-icon {
        opacity: 1;
        transform: translateY(0);
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .skill-icon i {
        font-size: 1.1rem;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        backdrop-filter: blur(5px);
        margin: 0;
    }

    .skill-icon span {
        display: none; /* Hide the text on mobile */
    }

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
        transform: none;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .image-container {
        cursor: default;
    }

    .skill-icons {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    }

    .skill-icon {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Updated skill icons styles */
.skill-icons {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.image-container:hover .skill-icons {
    transform: translateY(0);
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    width: 60px;
}

.image-container:hover .skill-icon {
    opacity: 1;
    transform: translateY(0);
}

.skill-icon i {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    transition: transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.skill-icon span {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

/* Staggered animation for skill icons */
.skill-icon:nth-child(1) { transition-delay: 0.1s; }
.skill-icon:nth-child(2) { transition-delay: 0.2s; }
.skill-icon:nth-child(3) { transition-delay: 0.3s; }
.skill-icon:nth-child(4) { transition-delay: 0.4s; }

/* Add a subtle glow effect on hover */
.image-container:hover {
    box-shadow: 0 15px 40px rgba(125, 60, 152, 0.3);
    border-color: rgba(125, 60, 152, 0.6);
}

/* Add a subtle pulse animation to the container */
@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(127, 179, 213, 0.2);
    }
    50% {
        box-shadow: 0 15px 40px rgba(125, 60, 152, 0.3);
    }
    100% {
        box-shadow: 0 10px 30px rgba(127, 179, 213, 0.2);
    }
}

.image-container {
    animation: pulse 3s ease-in-out infinite;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Mobile adjustments for section titles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    height: 100%;
    align-items: start;
}

.about-text {
    animation: fadeInLeft 1s ease;
}

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

.talk-to-contact::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #9B59B6, var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.talk-to-contact:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.skills-container {
    animation: fadeInRight 1s ease;
}

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

.skill-category {
    background: var(--section-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--standard-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    padding: 0.5rem 0;
    transition: transform 0.3s ease;
    position: relative;
    padding-right: 70px; /* Make space for the proficiency bar */
}

.skills-list li:hover {
    transform: translateX(5px);
}

.skills-list li i {
    margin-right: 1rem;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.skills-list li span {
    flex: 1;
    font-size: 1.1rem;
}

.proficiency-bar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 8px;
    background: var(--background);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(125, 60, 152, 0.2);
}

.skills-list li:hover .proficiency-bar {
    opacity: 1;
}

.proficiency-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(125, 60, 152, 0.2);
}

/* Animate the bar on hover */
.skills-list li:hover .proficiency-bar::before {
    width: var(--fill-width);
}

/* Set the fill width for each level */
.proficiency-bar[data-level="1"] { --fill-width: 20%; }
.proficiency-bar[data-level="2"] { --fill-width: 40%; }
.proficiency-bar[data-level="3"] { --fill-width: 60%; }
.proficiency-bar[data-level="4"] { --fill-width: 80%; }
.proficiency-bar[data-level="5"] { --fill-width: 100%; }

/* Add a subtle glow effect on hover */
.skills-list li:hover .proficiency-bar::before {
    box-shadow: 0 0 15px rgba(125, 60, 152, 0.3);
}

/* Add a battery-like appearance */
.proficiency-bar::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 0 2px 2px 0;
    opacity: 0.5;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background: var(--section-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--standard-shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(125, 60, 152, 0.15);
}

.project-image {
    position: relative;
    padding-bottom: 60%;
    overflow: hidden;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(125, 60, 152, 0.95), rgba(127, 179, 213, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-overlay a {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-color);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-overlay a:hover {
    background: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(125, 60, 152, 0.15);
}

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

.project-card:hover .project-overlay a {
    transform: translateY(0);
}

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

.project-info {
    padding: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tech span {
    background: var(--background);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    height: 100%;
    align-items: center;
    padding-bottom: calc(4rem + var(--safe-area-bottom));
}

.contact-info {
    animation: fadeInLeft 1s ease;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--section-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--standard-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: floatIconDown 3s ease-in-out infinite;
    animation-delay: 0s;
}

.contact-item:nth-child(1) i {
    animation-delay: 0s;
}

.contact-item:nth-child(2) i {
    animation-delay: 0s;
}

.contact-item:nth-child(3) i {
    animation-delay: 0s;
}

.contact-form {
    animation: fadeInRight 1s ease;
    background: var(--section-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--standard-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    position: absolute;
    left: 0.8rem;
    top: 0.8rem;
    color: var(--light-text);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.2);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background: var(--section-bg);
    padding: 0 0.3rem;
    color: var(--accent-color);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(125, 60, 152, 0.3);
}

/* Footer */
.footer {
    background: var(--section-bg);
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.footer-social a {
    color: var(--accent-color);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer p {
    color: var(--light-text);
    font-size: 0.9rem;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes floatIconDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

/* Mobile and Tablet Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--section-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: var(--standard-shadow);
        z-index: 1001;
        padding-top: 4rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .main-content {
        position: relative;
        z-index: 1;
    }

    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

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

    .subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    html, body, .app-container {
        height: -webkit-fill-available;
    }
    
    .app-container {
        height: 100vh;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .main-content {
        margin-bottom: 4rem;
    }

    .section {
        padding-bottom: 1rem;
    }

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

    .subtitle {
        font-size: 1.1rem;
    }

    .section-content {
        padding: 0.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .footer {
        padding: 0.5rem;
    }
}

/* Contact Links */
.contact-item p,
.contact-item a {
    color: var(--text-color);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-item a {
    color: var(--accent-color);
    font-weight: 500;
    background: var(--standard-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    transform: translateX(5px);
}

.contact-item a:hover::after {
    width: 100%;
}

/* Message Styles */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
    position: relative;
    overflow: hidden;
}

.success-message::before,
.error-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

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

.talk-to-contact {
    color: var(--accent-color);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0 4px;
    text-decoration: none;
}

.talk-to-contact::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.talk-to-contact:hover {
    color: var(--accent-color);
    animation: subtle-pulse 1s ease-in-out infinite;
}

/* Add subtle pulse animation on hover */
@keyframes subtle-pulse {
    0% { transform: scale(1) translateY(-1px); }
    50% { transform: scale(1.02) translateY(-1px); }
    100% { transform: scale(1) translateY(-1px); }
}

/* Consolidate talk-to-contact hover effects */
.talk-to-contact:hover {
    color: var(--accent-color);
    animation: subtle-pulse 1s ease-in-out infinite;
} 