:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #9a8c98;
    --text-color: #1a1a1a;
    --bg-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-dark: rgba(0, 0, 0, 0.15);
    --spacing-unit: 2rem;
    --menu-text: #000000;
    --menu-bg: rgba(255, 255, 255, 0.92);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    cursor: none; /* Hide default cursor */
}

@keyframes gradientFlow {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    padding: 1.2rem 2rem;
    background: var(--menu-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.05),
        0 1px 3px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
    animation: menuFloat 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    transform: translateX(calc(50vw - 70px)) translateY(0) scale(0.9);
    padding: 0.8rem;
    background: var(--menu-bg);
    border-radius: 50px;
    width: auto;
}

.navbar.scrolled .nav-links a span,
.navbar.scrolled .location-indicator span {
    display: none;
}

.navbar.scrolled .nav-links {
    background: transparent;
    padding: 0;
}

.navbar.scrolled .nav-links a {
    padding: 0.8rem;
    font-size: 1.2rem;
    color: var(--menu-text);
}

.navbar.scrolled .logo {
    display: none;
}

.navbar.scrolled .location-indicator {
    padding: 0.8rem;
    margin-left: 0.5rem;
}

@keyframes menuFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        box-shadow: 
            0 10px 30px rgba(0,0,0,0.05),
            0 1px 3px rgba(0,0,0,0.1);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
        box-shadow: 
            0 25px 45px rgba(0,0,0,0.08),
            0 8px 20px rgba(0,0,0,0.12);
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--menu-text);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.logo:hover::before {
    transform: translateX(100%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.7rem;
    border-radius: 15px;
    margin-left: auto;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--menu-text);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    transform: translateY(-2px) scale(1.05);
}

.nav-links a:hover::before {
    transform: scale(1);
    opacity: 1;
}

.location-indicator {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--menu-text);
}

.location-indicator i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.location-indicator:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.location-indicator:hover i {
    transform: scale(1.2);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 var(--spacing-unit);
    padding-top: 120px;
    overflow: hidden;
}

.hero::before {
    content: '{ }';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 15rem;
    color: rgba(154, 140, 152, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.floating-element {
    filter: blur(1px);
    animation: floatAndRotate 20s infinite linear;
}

@keyframes floatAndRotate {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(0, -40px) rotate(0deg);
    }
    75% {
        transform: translate(-20px, -20px) rotate(-5deg);
    }
}

.floating-element:nth-child(1) {
    width: 350px;
    height: 350px;
    background: linear-gradient(
        135deg, 
        rgba(154, 140, 152, 0.15),
        rgba(154, 140, 152, 0.05)
    );
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.floating-element:nth-child(2) {
    width: 300px;
    height: 300px;
    background: linear-gradient(
        -45deg, 
        rgba(154, 140, 152, 0.12),
        rgba(154, 140, 152, 0.03)
    );
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}

.floating-element:nth-child(3) {
    width: 250px;
    height: 250px;
    background: linear-gradient(
        45deg, 
        rgba(154, 140, 152, 0.1),
        rgba(154, 140, 152, 0.02)
    );
    border-radius: 50% 60% 40% 50% / 60% 40% 50% 40%;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    background: linear-gradient(45deg, rgba(154,140,152,0.03), rgba(0,0,0,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    animation: floatExtra 40s infinite linear;
}

.floating-elements::before {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -10%;
    border-radius: 40%;
    transform: rotate(25deg);
}

.floating-elements::after {
    width: 250px;
    height: 250px;
    bottom: 5%;
    right: 30%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(-15deg);
}

@keyframes floatExtra {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, var(--accent-color) 49%, var(--accent-color) 51%, transparent 52%) center/2rem 2rem,
        linear-gradient(-45deg, transparent 48%, var(--accent-color) 49%, var(--accent-color) 51%, transparent 52%) center/2rem 2rem;
    opacity: 0.02;
    pointer-events: none;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-color), 
        transparent
    );
}

.hero:hover h1::after {
    width: 100%;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    padding: 0 2rem;
    transition: all 0.5s ease;
    cursor: pointer;
}

.subtitle::before,
.subtitle::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.subtitle::before {
    left: 0;
}

.subtitle::after {
    right: 0;
}

.subtitle:hover {
    transform: scale(1.05);
    letter-spacing: 1px;
}

.subtitle:hover::before,
.subtitle:hover::after {
    width: 20px;
    height: 20px;
    opacity: 1;
}

.section {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 20px 40px var(--shadow-color),
        0 10px 20px var(--shadow-color-dark);
    position: relative;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    color: var(--bg-color);
    margin: 6rem auto;
    max-width: 1200px;
    width: 90%;
    padding: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 2rem;
}

.section h2::before,
.section h2::after {
    content: '•';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.5rem;
}

.section h2::before {
    left: 0;
}

.section h2::after {
    right: 0;
}

.section h2:hover::after {
    width: 100%;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem;
    border-radius: 30px;
    background: linear-gradient(
        135deg, 
        rgba(255,255,255,0.95), 
        rgba(255,255,255,0.85)
    );
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 10px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: floatAbout 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes floatAbout {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 
            0 25px 50px rgba(0,0,0,0.1),
            0 15px 30px rgba(0,0,0,0.08);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
        box-shadow: 
            0 35px 70px rgba(0,0,0,0.15),
            0 25px 40px rgba(0,0,0,0.12);
    }
}

/* Elegant corner decorations */
.about-content::before,
.about-content::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(154, 140, 152, 0.1)
    );
    filter: blur(20px);
    animation: moveGradient 8s infinite alternate;
}

.about-content::before {
    top: -100px;
    left: -100px;
}

.about-content::after {
    bottom: -100px;
    right: -100px;
    animation-delay: -4s;
}

.about-text {
    position: relative;
    padding: 2rem 3rem;
}

/* Decorative quotes */
.about-text::before,
.about-text::after {
    content: '"';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: rgba(154, 140, 152, 0.1);
    line-height: 1;
}

.about-text::before {
    top: -2rem;
    left: 0;
}

.about-text::after {
    bottom: -6rem;
    right: 0;
    transform: rotate(180deg);
}

/* Enhanced text styling */
.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    position: relative;
    z-index: 2;
    padding: 1rem 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Animated underline effect for key phrases */
.about-text p .highlight {
    position: relative;
    font-weight: 500;
    color: var(--primary-color);
}

.about-text p .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

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

/* Add subtle animation */
@keyframes moveGradient {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, 20px) rotate(45deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .about-text {
        padding: 1rem;
    }

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

/* Add floating elements to About section */
.about-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.about-decoration::before,
.about-decoration::after {
    content: '{ }';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 12rem;
    opacity: 0.03;
    color: var(--accent-color);
}

.about-decoration::before {
    top: -2rem;
    left: -2rem;
    transform: rotate(-15deg);
}

.about-decoration::after {
    bottom: -2rem;
    right: -2rem;
    transform: rotate(15deg);
}

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

/* Enhanced Timeline Styling */
.timeline {
    position: relative;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 2000px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--accent-color) 15%,
        var(--accent-color) 85%,
        transparent
    );
    transform: translateX(-50%);
    filter: drop-shadow(0 0 8px var(--accent-color));
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    width: calc(50% - 4rem);
    margin-left: auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 10px 20px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    cursor: pointer;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%) scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 0 6px rgba(154, 140, 152, 0.1),
        0 0 20px var(--accent-color);
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 4rem;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-color),
        var(--accent-color)
    );
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
}

.timeline-item:nth-child(odd)::before {
    left: -4.5rem;
}

.timeline-item:nth-child(even)::before {
    right: -4.5rem;
}

.timeline-item:nth-child(odd)::after {
    left: -4rem;
}

.timeline-item:nth-child(even)::after {
    right: -4rem;
    background: linear-gradient(
        -90deg,
        transparent,
        var(--accent-color),
        var(--accent-color)
    );
}

.timeline-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.12),
        0 20px 30px rgba(0,0,0,0.08);
}

.timeline-item:hover::before {
    transform: translateY(-50%) scale(1.4);
    box-shadow: 
        0 0 0 8px rgba(154, 140, 152, 0.2),
        0 0 30px var(--accent-color);
}

.timeline-item h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
    transform: translateZ(30px);
}

.timeline-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--accent-color),
        transparent
    );
    transition: width 0.4s ease;
}

.timeline-item:hover h3::after {
    width: 100%;
}

.timeline-item h4 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0.9;
    transform: translateZ(20px);
}

.timeline-item .period {
    display: inline-block;
    color: rgba(0,0,0,0.6);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    padding: 0.6rem 1.2rem;
    background: rgba(154, 140, 152, 0.1);
    border-radius: 20px;
    transform: translateZ(15px);
}

.timeline-item p {
    color: rgba(0,0,0,0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    transform: translateZ(25px);
}

/* Role lines inside multi-role experience blocks */
.timeline-item .exp-roles {
    margin-top: 0.75rem;
}

.timeline-item .role-line {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.2px;
    margin: 0.75rem 0 0.25rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--accent-color);
    font-variant-caps: all-small-caps;
}

.timeline-item .role-line + p {
    margin-top: 0.25rem;
}

.timeline-item .skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.timeline-item .skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(154, 140, 152, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateZ(20px);
}

.timeline-item:hover .skill-tag {
    background: var(--accent-color);
    color: white;
}

.timeline-item .company-logo {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    padding: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateZ(40px);
    transition: all 0.3s ease;
}

.timeline-item:hover .company-logo {
    transform: translateZ(50px) scale(1.1);
}

.timeline-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.timeline-decoration::before,
.timeline-decoration::after {
    content: '{ }';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 20rem;
    opacity: 0.02;
    color: var(--accent-color);
    transition: all 0.5s ease;
}

.timeline-decoration::before {
    top: 10%;
    left: -5%;
    transform: rotate(-15deg);
}

.timeline-decoration::after {
    bottom: 10%;
    right: -5%;
    transform: rotate(15deg);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item::before {
        left: -45px !important;
    }

    .timeline-item::after {
        left: -40px !important;
        width: 40px;
    }

    .timeline-item .company-logo {
        top: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

textarea {
    min-height: 150px;
}

.btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
    border-radius: 25px;
    padding: 1rem 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

footer {
    background: linear-gradient(135deg, var(--primary-color), #1a1a1a);
    color: var(--secondary-color);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-section {
    padding: 1rem;
}

.footer-section h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

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

.footer-section:hover h4::after {
    width: 100%;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-signature {
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--accent-color);
}

.profile-container {
    position: relative;
    margin-bottom: 2rem;
    padding: 1rem;
    width: 200px;
    height: 200px;
    cursor: pointer;
}

.profile-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(154, 140, 152, 0.3),
        transparent
    );
    animation: rotateGradient 8s linear infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-container:hover::before {
    inset: -15px;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(154, 140, 152, 0.5),
        transparent
    );
    animation-duration: 4s;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-container:hover .profile-image {
    transform: scale(1.05);
}

.location {
    margin-top: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.typing-container {
    margin-top: 2rem;
    min-height: 60px;
    font-size: 1.2rem;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--primary-color);
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

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

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 2rem);
        padding: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }

    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
    }
    
    .timeline-item::before {
        left: -2.5rem !important;
    }
    
    .timeline-item::after {
        left: -1.5rem !important;
        width: 1.5rem;
    }
}

/* Add elegant design elements */
.design-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Fashion-inspired background patterns */
.design-elements::before {
    content: '';
    position: fixed;
    top: -50vh;
    right: -50vh;
    width: 100vh;
    height: 100vh;
    background: 
        radial-gradient(circle at center,
            rgba(154, 140, 152, 0.03) 0%,
            rgba(154, 140, 152, 0.02) 30%,
            transparent 70%
        ),
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 11px
        );
    transform-origin: center;
    animation: rotatePattern 40s linear infinite;
}

.design-elements::after {
    content: '';
    position: fixed;
    bottom: -30vh;
    left: -30vh;
    width: 80vh;
    height: 80vh;
    background: 
        radial-gradient(circle at center,
            rgba(0, 0, 0, 0.02) 0%,
            rgba(0, 0, 0, 0.01) 40%,
            transparent 70%
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0,
            transparent 10px,
            rgba(154, 140, 152, 0.02) 10px,
            rgba(154, 140, 152, 0.02) 11px
        );
    transform-origin: center;
    animation: rotatePattern 30s linear infinite reverse;
}

/* Decorative lines */
.line-decoration {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(154, 140, 152, 0.1), transparent);
    height: 1px;
    width: 100%;
    animation: lineFloat 8s infinite ease-in-out;
}

.line:nth-child(1) { top: 20%; animation-delay: 0s; }
.line:nth-child(2) { top: 40%; animation-delay: -2s; }
.line:nth-child(3) { top: 60%; animation-delay: -4s; }
.line:nth-child(4) { top: 80%; animation-delay: -6s; }

/* Enhanced section styling */
.section::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    opacity: 0.3;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    opacity: 0.3;
}

.section > *:first-child::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes rotatePattern {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced profile container */
.profile-container::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: borderGlow 3s infinite linear;
    z-index: -1;
}

@keyframes borderGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add subtle parallax to floating elements */
.floating-element:hover {
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

/* Add floating dots */
.floating-dots {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

/* Enhanced About section for dark theme */
#about {
    background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(255,255,255,0.92));
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 10px 20px rgba(0,0,0,0.06);
    animation: floatAbout 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes floatAbout {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 
            0 25px 50px rgba(0,0,0,0.1),
            0 15px 30px rgba(0,0,0,0.08);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
        box-shadow: 
            0 35px 70px rgba(0,0,0,0.15),
            0 25px 40px rgba(0,0,0,0.12);
    }
}

.about-text {
    position: relative;
    padding: 2rem;
}

.about-text::before,
.about-text::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.about-text::before {
    top: 0;
    left: 0;
    border-top: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.about-text::after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
}

.about-text:hover::before,
.about-text:hover::after {
    width: 120px;
    height: 120px;
    opacity: 0.4;
}

/* Update Projects section */
#projects {
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(255,255,255,0.92));
}

.projects-grid {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.projects-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    min-height: 500px;
    padding: 2rem;
}

.project-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    background: white;
}

.project-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove the specific project image overrides */
.project-card:first-child .project-image,
.project-card[data-project="2"] .project-image {
    transform: none;
    padding: 1rem;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
}

/* Update project navigation button styles */
.project-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.project-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    color: var(--accent-color);
}

.project-nav.prev {
    left: -25px;
}

.project-nav.next {
    right: -25px;
}

.project-nav i {
    transition: transform 0.3s ease;
}

.project-nav.prev:hover i {
    transform: translateX(-3px);
}

.project-nav.next:hover i {
    transform: translateX(3px);
}

/* Add responsive adjustments for navigation */
@media (max-width: 768px) {
    .project-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .project-nav.prev {
        left: -20px;
    }

    .project-nav.next {
        right: -20px;
    }
}

.project-title {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: #000000;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.project-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(0,0,0,0.85);
    margin-bottom: 2rem;
    font-weight: 400;
}

.project-category {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--accent-color);
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.02);
    border-radius: 15px;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
}

.stat i {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Custom project shadows */
.project-card[data-project="1"] {
    box-shadow: 
        0 20px 40px rgba(76, 175, 80, 0.15),
        0 10px 20px rgba(76, 175, 80, 0.12);
}

.project-card[data-project="1"]:hover {
    box-shadow: 
        0 30px 60px rgba(76, 175, 80, 0.2),
        0 15px 30px rgba(76, 175, 80, 0.15);
}

.project-card[data-project="2"] {
    box-shadow: 
        0 20px 40px rgba(244, 67, 54, 0.15),
        0 10px 20px rgba(244, 67, 54, 0.12);
}

.project-card[data-project="2"]:hover {
    box-shadow: 
        0 30px 60px rgba(244, 67, 54, 0.2),
        0 15px 30px rgba(244, 67, 54, 0.15);
}

.project-card[data-project="3"] {
    box-shadow: 
        0 20px 40px rgba(0, 150, 136, 0.15),
        0 10px 20px rgba(0, 150, 136, 0.12);
}

.project-card[data-project="3"]:hover {
    box-shadow: 
        0 30px 60px rgba(0, 150, 136, 0.2),
        0 15px 30px rgba(0, 150, 136, 0.15);
}

/* Enhanced project link button styling */
.project-actions {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 3;
    text-align: center;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary-color);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    text-align: center;
    z-index: 3;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.project-link:hover {
    color: white;
    transform: translateY(-2px);
}

.project-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

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

/* Remove project-specific button colors since we're using a more elegant universal style */
.project-card[data-project="1"] .project-link,
.project-card[data-project="2"] .project-link,
.project-card[data-project="3"] .project-link {
    border-color: var(--primary-color);
}

/* Add subtle noise texture to background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* Update section transitions */
.section {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px var(--shadow-color),
        0 15px 25px var(--shadow-color-dark);
}

/* Add elegant hover effects to project cards */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 0 solid var(--accent-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.project-card:hover::after {
    border-width: 2px;
    opacity: 0.2;
}

/* Add dynamic background elements */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.02;
    animation: wanderAround 40s infinite ease-in-out;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
}

.floating-shape:nth-child(1) {
    content: '✧';
    top: 15%;
    left: 10%;
    font-size: 10rem;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    content: '♢';
    top: 45%;
    right: 15%;
    font-size: 14rem;
    animation-delay: -7s;
}

.floating-shape:nth-child(3) {
    content: '◈';
    bottom: 20%;
    left: 20%;
    font-size: 12rem;
    animation-delay: -14s;
}

.floating-shape:nth-child(4) {
    content: '❋';
    top: 30%;
    right: 25%;
    font-size: 8rem;
    animation-delay: -21s;
}

/* Add more elegant floating animation */
@keyframes wanderAround {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(100px, 50px) rotate(5deg) scale(1.1);
    }
    40% {
        transform: translate(50px, -100px) rotate(-5deg) scale(0.95);
    }
    60% {
        transform: translate(-100px, -50px) rotate(10deg) scale(1.05);
    }
    80% {
        transform: translate(-50px, 100px) rotate(-10deg) scale(0.9);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* Add elegant bubbles */
.floating-dots {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.dot {
    position: absolute;
    background: linear-gradient(135deg, rgba(154,140,152,0.15), rgba(154,140,152,0.05));
    border-radius: 50%;
    animation: bubbleFloat 50s infinite ease-in-out;
}

.dot:nth-child(1) { width: 150px; height: 150px; top: 10%; left: 5%; animation-delay: 0s; }
.dot:nth-child(2) { width: 100px; height: 100px; top: 40%; right: 10%; animation-delay: -5s; }
.dot:nth-child(3) { width: 200px; height: 200px; bottom: 20%; left: 15%; animation-delay: -10s; }
.dot:nth-child(4) { width: 120px; height: 120px; top: 25%; right: 20%; animation-delay: -15s; }

@keyframes bubbleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(150px, -100px) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translate(100px, 150px) scale(0.95);
        opacity: 0.3;
    }
    75% {
        transform: translate(-100px, -150px) scale(1.05);
        opacity: 0.35;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* Simplified Custom Cursor Styles */
.custom-cursor {
    width: 8px; /* Much smaller */
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
    opacity: 0.7;
}

/* Remove the dot for better performance */
.cursor-dot {
    display: none;
}

/* Simplified hover effect */
.hover-effect .custom-cursor {
    width: 16px;
    height: 16px;
    opacity: 1;
}

/* Remove all other cursor-related styles */
.cursor-trail {
    display: none;
}

/* Enhanced Contact Section Styles */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

.contact-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 4rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.contact-intro::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-color),
        transparent
    );
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.social-link {
    position: relative;
    text-decoration: none;
    color: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.05),
        0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    cursor: none;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(154, 140, 152, 0.1),
        transparent
    );
    transform: translateY(100%);
    transition: transform 0.6s ease;
}

.social-link:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 15px 25px rgba(0,0,0,0.06);
}

.social-link:hover::before {
    transform: translateY(0);
}

.social-link i {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    transition: all 0.4s ease;
    transform: translateZ(30px);
}

.social-link:hover i {
    transform: translateZ(50px) scale(1.2);
    color: var(--primary-color);
}

.social-link span {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.social-link:hover span {
    transform: translateZ(30px);
}

.social-link .social-description {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.6);
    margin-top: 0.5rem;
    transform: translateZ(15px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.social-link:hover .social-description {
    opacity: 1;
    transform: translateY(0) translateZ(25px);
}

@media (max-width: 768px) {
    .social-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-link {
        padding: 2rem;
    }

    .contact-intro {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }
}

.world-clock {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        0 5px 15px rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'SF Mono', monospace;
    z-index: 100;
    transition: all 0.3s ease;
    transform: translateY(0);
    cursor: none;
}

.world-clock:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.12),
        0 10px 20px rgba(0,0,0,0.08);
}

.clock-location {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clock-time {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Decorative corner elements */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.corner {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.corner--top-left {
    top: 40px;
    left: 40px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
}

.corner--top-right {
    top: 40px;
    right: 40px;
    border-top: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
}

.corner--bottom-left {
    bottom: 40px;
    left: 40px;
    border-bottom: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
}

.corner--bottom-right {
    bottom: 40px;
    right: 40px;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
}

/* Hover effects for corners */
.hero:hover .corner {
    opacity: 0.2;
    width: 180px;
    height: 180px;
}

/* Add subtle animation to corners */
@keyframes cornerPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.corner {
    animation: cornerPulse 4s ease-in-out infinite;
}

.corner:nth-child(2) { animation-delay: -1s; }
.corner:nth-child(3) { animation-delay: -2s; }
.corner:nth-child(4) { animation-delay: -3s; }

/* Elegant animations */
@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add geometric patterns */
.geometric-pattern {
    position: absolute;
    opacity: 0.03;
    border: 2px solid var(--accent-color);
}

.geometric-pattern:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floatPattern 20s infinite alternate;
}

.geometric-pattern:nth-child(2) {
    width: 250px;
    height: 250px;
    top: 60%;
    right: 10%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: floatPattern 15s infinite alternate-reverse;
}

/* Add elegant lines */
.line-decoration {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(154, 140, 152, 0.1), transparent);
    height: 1px;
    width: 100%;
    animation: lineFloat 8s infinite ease-in-out;
}

.line:nth-child(1) { top: 20%; animation-delay: 0s; }
.line:nth-child(2) { top: 40%; animation-delay: -2s; }
.line:nth-child(3) { top: 60%; animation-delay: -4s; }
.line:nth-child(4) { top: 80%; animation-delay: -6s; }

/* Add these new animations */
@keyframes floatPattern {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    50% {
        transform: rotate(180deg) translate(50px, 50px);
    }
    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

@keyframes lineFloat {
    0%, 100% {
        transform: translateY(0) scaleX(0.9);
        opacity: 0.1;
    }
    50% {
        transform: translateY(20px) scaleX(1);
        opacity: 0.2;
    }
}

/* Add these styles to restore visibility */
.timeline-item.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: auto;
    transform-origin: right center;
}

.timeline-item:nth-child(odd) {
    transform-origin: left center;
}

/* Add styles for the highlights section */
.timeline-item .highlights {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(154, 140, 152, 0.2);
    transform: translateZ(20px);
}

.timeline-item .highlights h5 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-item .highlights ul {
    list-style: none;
    padding: 0;
}

.timeline-item .highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(0,0,0,0.8);
    font-size: 1rem;
}

.timeline-item .highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    opacity: 0.8;
}

@media (max-width: 659px) {
    /* Navbar mobile styling */
    .navbar {
        top: 1rem;
        width: auto;
        padding: 0.8rem;
        border-radius: 50px;
        background: var(--menu-bg);
        transform: translateX(-50%) scale(0.95);
    }

    .navbar .logo {
        display: none;
    }

    .nav-links {
        display: flex;
        background: transparent;
        padding: 0;
        margin: 0;
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.8rem;
        font-size: 1.2rem;
        color: var(--menu-text);
    }

    .nav-links a span {
        display: none;
    }

    .location-indicator {
        display: none;
    }

    /* Hero section adjustments */
    .hero {
        padding-top: 80px;
        min-height: 100vh;
        justify-content: center;
        text-align: center;
    }

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

    .subtitle {
        font-size: 1.2rem;
    }

    .profile-container {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
    }

    /* Section adjustments */
    .section {
        margin: 3rem auto;
        padding: 2rem 1.5rem;
        width: calc(100% - 2rem);
        border-radius: 15px;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* About section */
    .about-content {
        padding: 2rem 1.5rem;
    }

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

    /* Projects section */
    .project-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }

    .project-image-container {
        height: 200px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-nav {
        top: auto;
        bottom: -3rem;
        transform: none;
    }

    .project-nav.prev {
        left: 50%;
        transform: translateX(-60px);
    }

    .project-nav.next {
        right: 50%;
        transform: translateX(60px);
    }

    /* Timeline section */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px !important;
        padding: 1.5rem;
    }

    .timeline-item::before {
        left: -35px !important;
    }

    .timeline-item::after {
        left: -30px !important;
        width: 30px;
    }

    /* Contact section */
    .social-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-link {
        padding: 1.5rem;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 1.5rem;
    }

    /* World clock adjustment */
    .world-clock {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    /* Custom cursor (disable on mobile) */
    .custom-cursor,
    .cursor-dot {
        display: none;
    }

    body {
        cursor: auto;
    }

    /* Floating elements adjustment */
    .floating-elements::before,
    .floating-elements::after {
        width: 200px;
        height: 200px;
    }

    .floating-element {
        transform: scale(0.7);
    }

    /* Background decorations adjustment */
    .geometric-pattern,
    .floating-shape {
        transform: scale(0.6);
    }

    /* Enhanced About section adjustments */
    .about-content {
        padding: 1.5rem;
        margin: 0;
        max-height: calc(100vh - 200px); /* Limit height on mobile */
        overflow-y: auto; /* Allow scrolling if needed */
    }

    .about-text {
        padding: 1rem;
    }

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

    .about-decoration::before,
    .about-decoration::after {
        display: none; /* Hide decorative elements */
    }

    /* Enhanced Projects section adjustments */
    .project-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: auto;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }

    .project-image-container {
        height: 180px;
        min-height: auto;
    }

    .project-content {
        padding: 1rem;
    }

    .project-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .project-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .project-stats {
        padding: 1rem;
        gap: 0.5rem;
        margin: 0.5rem 0;
    }

    .project-stats .stat {
        font-size: 0.8rem;
    }

    .project-actions {
        margin-top: 1rem;
    }

    .project-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 150px;
    }

    /* Adjust navigation buttons position */
    .project-nav {
        bottom: -2rem;
        width: 40px;
        height: 40px;
    }

    .project-nav.prev {
        transform: translateX(-50px);
    }

    .project-nav.next {
        transform: translateX(50px);
    }

    /* Adjust project image container */
    .project-image-container {
        width: 100%;
        height: 150px;
        margin-bottom: 0.25rem;
        overflow: visible; /* Allow image to show fully */
    }

    .project-image {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Change from cover to contain */
        object-position: center;
        padding: 0.5rem; /* Add some padding around the image */
    }

    /* Adjust company logo position in timeline */
    .timeline-item .company-logo {
        width: 40px;
        height: 40px;
        top: auto; /* Remove top positioning */
        bottom: 1rem; /* Position from bottom instead */
        right: 1rem;
        padding: 0.5rem;
    }

    /* Ensure title has enough space */
    .timeline-item h3 {
        padding-right: 1rem; /* Add some space for logo */
        margin-right: 40px; /* Prevent text from going under logo */
    }

    /* Refined project image adjustments */
    .project-image-container {
        width: 100%;
        height: 130px; /* Reduced height */
        margin-bottom: 0.25rem;
        overflow: visible;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .project-image {
        width: auto; /* Allow width to adjust based on content */
        height: 100%;
        max-width: 90%; /* Prevent image from being too wide */
        object-fit: contain;
        object-position: center;
        padding: 0.25rem;
    }

    /* Specific adjustment for the second project image */
    .project-card[data-project="2"] .project-image {
        height: 90%; /* Make second project image slightly smaller */
        margin: auto;
    }
}

/* Additional height-specific adjustments */
@media (max-height: 659px) {
    .about-content {
        max-height: calc(100vh - 150px);
        margin: 1rem auto;
    }

    .project-card {
        max-height: calc(100vh - 150px);
    }

    .project-image-container {
        height: 150px;
    }
}

@media (max-width: 659px) {
    /* ... other mobile styles ... */

    /* Refined About section adjustments */
    .about-content {
        padding: 1rem;
        margin: 0;
        max-height: none; /* Remove height restriction */
        overflow: visible;
        display: block; /* Change to block display */
    }

    .about-text {
        padding: 0.5rem;
        max-width: 100%;
        height: auto;
    }

    .about-text p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0;
        text-align: left;
        padding: 0.5rem;
        white-space: normal; /* Ensure text wraps properly */
        overflow: visible;
    }

    /* Refined Projects section adjustments - Vertical Focus */
    .project-card {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
        max-height: none; /* Remove height restriction */
        padding: 1rem;
        overflow: visible;
    }

    .project-image-container {
        width: 100%;
        height: 180px; /* Fixed height for image */
        margin-bottom: 0.5rem;
    }

    .project-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 10px; /* Add some rounded corners */
    }

    .project-content {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .project-title {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .project-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .project-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 8px;
        margin: 0.5rem 0;
    }

    .project-stats .stat {
        font-size: 0.8rem;
        text-align: center;
    }

    .project-actions {
        margin-top: 0.75rem;
        text-align: center;
    }

    .project-link {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
    }

    /* Adjust navigation buttons position */
    .project-nav {
        bottom: -2.5rem;
        width: 40px;
        height: 40px;
    }

    .project-nav.prev {
        left: calc(50% - 30px);
        transform: translateX(-100%);
    }

    .project-nav.next {
        right: calc(50% - 30px);
        transform: translateX(100%);
    }
}

/* Additional height-specific adjustments */
@media (max-height: 659px) {
    .about-content {
        padding: 0.75rem;
    }

    .project-image-container {
        height: 160px;
    }
}

@media (max-width: 659px) {
    /* ... other mobile styles ... */

    /* Refined Projects section adjustments */
    .project-card {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        min-height: auto;
        max-height: none;
        padding: 1rem;
        overflow: visible;
        /* Make overall card smaller */
        transform: scale(0.95);
    }

    .project-image-container {
        width: 100%;
        height: 150px; /* Reduced from 180px */
        margin-bottom: 0.25rem;
    }

    .project-content {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem; /* Reduced from 0.75rem */
    }

    .project-stats {
        margin: 0.25rem 0;
        padding: 0.5rem;
    }

    /* Adjust button styling and position */
    .project-actions {
        margin-top: 1.5rem; /* Increased to move button down */
        text-align: center;
        position: relative;
        bottom: -0.5rem; /* Push button slightly down */
    }

    .project-link {
        display: inline-block;
        padding: 0.5rem 1rem; /* Reduced padding */
        font-size: 0.8rem; /* Smaller font */
        min-width: 140px; /* Reduced width */
        transform: scale(0.9); /* Make button slightly smaller */
    }

    /* Adjust navigation buttons for smaller card */
    .project-nav {
        bottom: -2rem;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 659px) {
    /* ... other mobile styles ... */

    /* Experience/Timeline section adjustments */
    .timeline {
        padding: 2rem 0;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        width: calc(100% - 30px);
        margin-left: 30px !important;
        padding: 1rem;
        margin-bottom: 2rem;
        transform: scale(0.95); /* Make items slightly smaller */
    }

    .timeline-item::before {
        left: -25px !important;
        width: 16px;
        height: 16px;
    }

    .timeline-item::after {
        left: -20px !important;
        width: 20px;
    }

    .timeline-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-item h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .timeline-item .period {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.75rem;
    }

    .timeline-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .timeline-item .skills-tags {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .timeline-item .skill-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .timeline-item .company-logo {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
        padding: 0.5rem;
    }

    /* Highlights section adjustments */
    .timeline-item .highlights {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .timeline-item .highlights h5 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .timeline-item .highlights li {
        font-size: 0.85rem;
        padding-left: 1.2rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 659px) {
    /* ... other mobile styles ... */

    /* Contact section adjustments */
    .contact-content {
        padding: 1rem;
        width: 100%;
    }

    .contact-intro {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0;
    }

    .social-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0;
        width: 100%;
    }

    .social-link {
        width: 100%;
        padding: 0.75rem;
        margin: 0;
        height: auto;
    }

    .social-link i {
        font-size: 1.5rem; /* Increased icon size */
        margin-bottom: 0.3rem;
    }

    .social-link span {
        font-size: 0.8rem;
    }

    /* Hide description text on mobile */
    .social-link .social-description {
        display: none;
    }

    /* Footer adjustments */
    footer {
        padding: 1.5rem 1rem 1rem;
        margin-top: 2rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns */
        gap: 1rem;
        padding: 0;
        width: 100%;
    }

    /* Hide About Me section in footer */
    .footer-section:first-child {
        display: none;
    }

    .footer-section {
        width: 100%;
        padding: 0.5rem;
    }

    .footer-section h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .footer-section p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .footer-links {
        gap: 0.3rem;
    }

    .footer-links a {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }

    .footer-bottom {
        margin-top: 1rem;
        padding: 0.75rem 0;
        font-size: 0.7rem;
        text-align: center;
    }
}

/* Simplified and Optimized Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    background: transparent;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    mix-blend-mode: difference;
}

/* Remove old cursor styles */
.cursor-dot,
.cursor-trail {
    display: none;
}

/* Hover effect */
.hover-effect .custom-cursor {
    width: 40px;
    height: 40px;
    background: rgba(154, 140, 152, 0.2);
    mix-blend-mode: normal;
}

/* Remove cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

/* Remove old cursor animations and styles */
/* Delete or comment out any other cursor-related styles */

