:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #ff3366;
    --text-color: #ffffff;
    --spacing-unit: 8px;
    --transition-speed: 0.3s;

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation Styles with Floating Effect and Curved Edges */
.nav-container {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1400px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 
                0 1px 3px rgba(0, 0, 0, 0.05),
                0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: navbarFadeIn 0.8s ease forwards;
}

/* Navbar shrink on scroll */
.nav-container.scrolled {
    padding: 0.7rem 2rem;
    background: rgba(26, 26, 26, 0.95);
}

/* Glass effect for navbar */
.nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 18px;
    z-index: -1;
}

/* Navigation Logo */
.nav-logo a {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-logo a:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(255, 51, 102, 0.1), 
                rgba(255, 51, 102, 0));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}
}

/* Glare Animation */
@keyframes glareEffect {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Active Link State */
.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 8rem;
    margin-top: 0;
}

#lottie-container {
    width: 200px;
    height: 200px;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.hero-title {
    font-size: 2.5rem;
    margin: 3rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

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

.cta-button.secondary {
    color: var(--text-color);
}

.cta-button.download {
    background: rgba(255, 51, 102, 0.1);
    color: var(--accent-color);
    border-color: rgba(255, 51, 102, 0.2);
}

.cta-button.download:hover {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 51, 102, 0.3);
}

/* Modern Projects Section Styles */
.work-section {
    padding: 8rem 3rem;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        rgba(26, 26, 26, 0.95)
    );
    position: relative;
    overflow: hidden;
}

.projects-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.project-card.featured {
    border: 1px solid rgba(255, 51, 102, 0.3);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-actions {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.project-link {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link i {
    font-size: 0.9rem;
}

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

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

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.project-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.tech {
    color: var(--accent-color);
    background: rgba(255, 51, 102, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.view-more-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.view-more-btn:hover i {
    transform: translateX(5px);
}

/* Hover effects */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

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

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

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

.project-card:hover .tag {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .work-section {
        padding: 6rem 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
}

/* Work Section */
.work-section {
    padding: 6rem 3rem;
    background: linear-gradient(
        to bottom,
        var(--dark-bg),
        var(--primary-color)
    );
}

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

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

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

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

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

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

.tech-tag {
    background: rgba(255, 51, 102, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}

.project-link {
    flex: 1;
    padding: 0.8rem;
    text-align: center;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.project-card:hover .tech-tag {
    background: rgba(255, 51, 102, 0.2);
    transform: translateY(-2px);
}

.project-card:hover .project-link {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .project-container {
        grid-template-columns: 1fr;
    }
    
    .cube-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    .work-section {
        padding: 4rem 1.5rem;
    }
    
    .project-card {
        margin-bottom: 2rem;
    }
    
    .project-image {
        height: 200px;
    }
}

/* 3D Element Styles - Updated */
.cube-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    perspective: 1000px;
    margin-right: 1rem;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    will-change: transform;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    background: rgba(255, 51, 102, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

.front  { transform: translateZ(60px); }
.back   { transform: translateZ(-60px) rotateY(180deg); }
.right  { transform: rotateY(90deg) translateZ(60px); }
.left   { transform: rotateY(-90deg) translateZ(60px); }
.top    { transform: rotateX(90deg) translateZ(60px); }
.bottom { transform: rotateX(-90deg) translateZ(60px); }

/* Add glow effect to cube faces */
.cube-face::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 51, 102, 0.2),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cube-face:hover::after {
    opacity: 1;
}

/* About Section */
.about-section {
    padding: 8rem 3rem;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        rgba(26, 26, 26, 0.95)
    );
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    animation: glassShine 8s linear infinite;
}

@keyframes glassShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.about-text {
    padding-right: 2rem;
}

.lead-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 500;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-paragraphs p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
}

.about-paragraphs p:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(5px);
}

.profile-container {
    position: sticky;
    top: 2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.profile-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 51, 102, 0.1),
        transparent
    );
    z-index: 1;
}

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

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

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .profile-container {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 6rem 1.5rem;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .lead-text {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .about-paragraphs p {
        font-size: 1rem;
    }
    
    .profile-stats {
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Skills Section */
.skills-section {
    padding: 6rem 3rem;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.95),
        var(--primary-color)
    );
    position: relative;
    overflow: hidden;
}

/* Add background elements similar to projects section */
.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 85% 30%, rgba(255, 51, 102, 0.04) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.skill-category h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.08);
}

.skill-category h3 i {
    font-size: 1.2rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--accent-color);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skill-item {
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(5px);
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.proficiency {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.proficiency.beginner {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.proficiency.intermediate {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.1);
}

.proficiency.advanced {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
}

.proficiency.expert {
    color: var(--accent-color);
    background: rgba(255, 51, 102, 0.1);
}

@media (max-width: 768px) {
    .skills-section {
        padding: 4rem 1.5rem;
    }
    
    .skills-container {
        gap: 2rem;
    }
    
    .skill-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .skill-name {
        font-size: 1rem;
    }
    
    .proficiency {
        font-size: 0.8rem;
    }
}

/* Enhanced Achievement Section Styles */
.achievements-section {
    padding: 6rem 3rem;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        rgba(26, 26, 26, 0.95)
    );
    position: relative;
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-color),
        transparent
    );
}

.achievement-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(255, 51, 102, 0.15),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.achievement-title h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.achievement-place.highlight {
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 51, 102, 0.2);
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-place.highlight {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.badge-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.achievement-card:hover .badge-icon {
    transform: rotate(15deg) scale(1.1);
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.achievement-card:hover .team-info {
    transform: translateX(5px);
}

.team-rank {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.achievement-highlights li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.achievement-highlights li:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .achievements-section {
        padding: 4rem 1.5rem;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .badge-icon {
        font-size: 1.8rem;
    }
    
    .achievement-title h4 {
        font-size: 1.3rem;
    }
}

/* Internships Section */
.internships-section {
    padding: 6rem 3rem;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.95),
        var(--primary-color)
    );
    position: relative;
}

.internships-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.internship-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.internship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(255, 51, 102, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.internship-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.internship-card:hover::before {
    opacity: 1;
}

.company-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.2);
}

.company-badge h3 {
    font-size: 1.5rem;
    color: #fff;
}

.role-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.role-info h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.duration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.contributions h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contributions ul {
    list-style: none;
    padding: 0;
}

.contributions li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.contributions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.metric {
    display: block;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
    .internships-section {
        padding: 4rem 1.5rem;
    }
    
    .internship-grid {
        grid-template-columns: 1fr;
    }
    
    .company-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Education Section Alignment */
.education-section {
    padding: 8rem 3rem;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        rgba(26, 26, 26, 0.95)
    );
    position: relative;
}

.education-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: 4rem;
}

/* Professional Experience Section Alignment */
.experience-section {
    padding: 8rem 3rem;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.95),
        var(--primary-color)
    );
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--accent-color),
        transparent
    );
}

.timeline-item {
    margin-bottom: 6rem;
    width: calc(50% - 2rem);
    margin-left: auto;
    position: relative;
}

.timeline-item:nth-child(odd) {
    margin-right: auto;
    margin-left: 0;
}

/* Contact Section Alignment */
.contact-section {
    padding: 8rem 3rem;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        rgba(26, 26, 26, 0.95)
    );
}

.contact-grid {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    padding: 2rem 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .education-section,
    .experience-section,
    .contact-section {
        padding: 6rem 1.5rem;
    }
    
    .education-card,
    .contact-form {
        padding: 2rem;
    }
    
    .timeline-item {
        margin-left: 2rem !important;
    }
}

/* Contact Form Styles - Updated */
.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;  /* Sharper corners */
    color: var(--text-color);
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 1px var(--accent-color);
}

.submit-btn {
    background: var(--accent-color);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 4px;  /* Matching sharp corners */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.2);
}

/* Modern Enhanced Footer Styles */
.footer {
    background: linear-gradient(to bottom, var(--primary-color), rgba(26, 26, 26, 0.95));
    padding: 5rem 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
                transparent, 
                rgba(255, 51, 102, 0.5), 
                rgba(255, 255, 255, 0.3), 
                rgba(255, 51, 102, 0.5), 
                transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(300px, 2fr) repeat(2, minmax(200px, 1fr));
    gap: 4rem;
    position: relative;
}

.footer-logo h3 {
    font-size: 2.2rem;
    background: linear-gradient(120deg, #ffffff, #ff3366);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-logo h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 90%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 25px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-social h4 {
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

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

.footer-social a i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-social a:hover {
    color: #fff;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4rem;
    padding-top: 2rem;
    position: relative;
    font-size: 0.9rem;
}

.copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(to right, 
                transparent, 
                rgba(255, 255, 255, 0.1), 
                rgba(255, 255, 255, 0.2), 
                rgba(255, 255, 255, 0.1), 
                transparent);
}

/* Boxed Link Styles (excluding header/footer) */
.contact-info a,
.social-links:not(.footer-social) a,
.project-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    gap: 0.8rem;
}

/* Boxed Link Hover Effects */
.contact-info a:hover,
.social-links:not(.footer-social) a:hover,
.project-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    border-color: var(--accent-color);
}

/* Icon Styles for Boxed Links */
.contact-info a i,
.social-links:not(.footer-social) a i,
.project-links a i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Icon Hover Animations */
.contact-info a:hover i {
    transform: translateY(-2px);
    color: var(--accent-color);
}

.social-links:not(.footer-social) a:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.project-links a:hover i {
    transform: rotate(15deg);
}

/* Link Groups */
.social-links:not(.footer-social),
.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links,
    .footer-social {
        align-items: center;
    }
    
    .contact-info a,
    .social-links:not(.footer-social) a,
    .project-links a {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 1rem 0;
    }

    .stat-item:not(:last-child)::after {
        right: 0;
        bottom: -1rem;
        top: auto;
        transform: none;
        width: 100%;
        height: 1px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* Main Heading Adjustments */
.main-heading {
    font-size: 6rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(
        45deg,
        var(--accent-color),
        #ff6b6b,
        var(--accent-color)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 4px;
    position: relative;
    animation: fadeInDown 1.2s ease-out;
}

.main-heading::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-color),
        transparent
    );
    border-radius: 2px;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-heading {
        font-size: 4rem;
        margin: 3rem 0;
        letter-spacing: 2px;
    }

    section {
        padding: 6rem 1.5rem;
        margin: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 3rem;
        margin: 2rem 0;
    }

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

/* Adjust section spacing */
section {
    padding: 10rem 3rem;
    margin: 5rem 0;
    position: relative;
}

section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 51, 102, 0.3),
        transparent
    );
}

/* Fix Safari backdrop-filter support */
.nav-container,
.achievement-card,
.internship-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Add spacing between project cards */
.project-container {
    gap: 3rem;
    padding: 2rem 0;
}

/* Add spacing between skill categories */
.skills-container {
    gap: 4rem;
    padding: 2rem 0;
}

/* Add spacing in about section */
.about-grid {
    gap: 5rem;
    padding: 2rem 0;
}

/* Add spacing in education cards */
.education-card {
    margin-bottom: 4rem;
}

/* Add spacing in experience timeline */
.timeline-item {
    margin-bottom: 6rem;
}

/* Add spacing in contact section */
.contact-grid {
    gap: 5rem;
    padding: 2rem 0;
}

.name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

/* 3D Element Styles - Updated */
.cube-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    perspective: 1000px;
    margin-right: 1rem;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    will-change: transform;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    background: rgba(255, 51, 102, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

.front  { transform: translateZ(60px); }
.back   { transform: translateZ(-60px) rotateY(180deg); }
.right  { transform: rotateY(90deg) translateZ(60px); }
.left   { transform: rotateY(-90deg) translateZ(60px); }
.top    { transform: rotateX(90deg) translateZ(60px); }
.bottom { transform: rotateX(-90deg) translateZ(60px); }

/* Add glow effect to cube faces */
.cube-face::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 51, 102, 0.2),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cube-face:hover::after {
    opacity: 1;
}

/* Main Heading Adjustments */
.main-heading {
    font-size: 6rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(
        45deg,
        var(--accent-color),
        #ff6b6b,
        var(--accent-color)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 4px;
    position: relative;
    animation: fadeInDown 1.2s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .name-container {
        flex-direction: column;
        gap: 1rem;
    }

    .cube-wrapper {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .main-heading {
        font-size: 4rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 3rem;
    }

    .cube-wrapper {
        width: 80px;
        height: 80px;
    }

    .cube-face {
        font-size: 1.5rem;
    }
}

/* Modern Project Showcase Styles */
.project-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-bottom: 4rem;
}

.project-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.project-showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 51, 102, 0.2);
}

.project-showcase-item.featured {
    border-color: rgba(255, 51, 102, 0.3);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.1);
}

.project-media {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: #0c0c0c;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    opacity: 0.9;
}

.project-showcase-item:hover .project-media img {
    transform: scale(1.03);
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
}

.project-showcase-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-showcase-item:hover .tag {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.showcase-description p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.showcase-description h4 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.showcase-contributions ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.showcase-contributions li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.showcase-contributions li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.tech-pill {
    background: rgba(255, 51, 102, 0.15);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.project-showcase-item:hover .tech-pill {
    transform: translateY(-2px);
    background: rgba(255, 51, 102, 0.2);
}

.showcase-outcome {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-color);
    padding: 1.2rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0 1.5rem;
}

.showcase-outcome p {
    margin: 0;
    font-size: 1rem;
    font-style: italic;
}

.showcase-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

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

.btn-demo {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-code {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-case {
    background: rgba(255, 51, 102, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.btn-video {
    background: rgba(0, 123, 255, 0.1);
    color: rgb(0, 179, 255);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-code:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-code:hover i, 
.btn-demo:hover i,
.btn-case:hover i,
.btn-video:hover i {
    transform: translateX(3px);
}

.btn-case:hover {
    background: rgba(255, 51, 102, 0.15);
    transform: translateY(-3px);
}

.btn-video:hover {
    background: rgba(0, 123, 255, 0.15);
    transform: translateY(-3px);
}

.more-projects-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-top: 4rem;
}

.more-projects-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.more-projects-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.2);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .project-showcase-item {
        grid-template-columns: 1fr;
    }
    
    .project-media {
        min-height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-showcase {
        gap: 4rem;
    }
    
    .project-media {
        min-height: 250px;
    }
    
    .project-showcase-content {
        padding: 2rem;
    }
    
    .showcase-title {
        font-size: 1.6rem;
    }
    
    .showcase-description h4 {
        font-size: 1.1rem;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .showcase-outcome {
        padding: 1rem;
    }
    
    .more-projects-cta {
        padding: 2rem 1.5rem;
    }
    
    .more-projects-cta h3 {
        font-size: 1.5rem;
    }
    
    .more-projects-cta p {
        font-size: 1rem;
    }
}

/* Fix for some styles that might conflict */
.work-section {
    padding: 8rem 3rem;
    background: linear-gradient(
        to bottom,
        var(--primary-color),
        rgba(26, 26, 26, 0.95)
    );
    position: relative;
    overflow: hidden;
}

/* Modern 3D Flip Card Project Layout */
.projects-3d-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    perspective: 2000px;
}

.project-3d-card {
    position: relative;
    height: 500px;
    width: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-3d-card.featured {
    grid-column: span 2;
    height: 550px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-3d-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-front {
    background: rgba(0, 0, 0, 0.7);
}

.card-back {
    background: rgba(20, 20, 20, 0.95);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-preview {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-overlay h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transform: translateY(10px);
    opacity: 0.9;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.tech-pills-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transform: translateY(15px);
    opacity: 0.6;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.tech-pills-preview span {
    background: rgba(255, 51, 102, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.view-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.2s, opacity 0.4s ease 0.2s;
}

.view-details i {
    transition: transform 0.3s ease;
}

.project-3d-card:hover .project-preview img {
    transform: scale(1.05);
}

.project-3d-card:hover .project-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.project-3d-card:hover .tech-pills-preview {
    transform: translateY(0);
    opacity: 1;
}

.project-3d-card:hover .view-details {
    transform: translateY(0);
    opacity: 1;
}

.project-3d-card:hover .view-details i {
    transform: translateX(5px);
}

/* Back card styles */
.project-details {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
}

.project-details::-webkit-scrollbar {
    width: 6px;
}

.project-details::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.project-details::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.details-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding-right: 1rem;
}

.project-badge {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.details-content {
    flex: 1;
    overflow-y: auto;
}

.details-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.detail-section {
    margin-bottom: 1.2rem;
}

.detail-section h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-section li {
    position: relative;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.detail-section li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.4;
}

.tech-stack-section {
    margin-bottom: 1.2rem;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-pills span {
    background: rgba(255, 51, 102, 0.15);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.outcome-section {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-color);
    padding: 1rem;
    border-radius: 0 4px 4px 0;
    margin: 1rem 0;
}

.outcome-section p {
    margin: 0;
    font-size: 0.9rem;
    font-style: italic;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.flip-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-back:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(180deg);
}

/* Responsive styles for 3D cards */
@media (max-width: 1200px) {
    .projects-3d-container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .project-3d-card.featured {
        grid-column: span 1;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .projects-3d-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-3d-card {
        height: 450px;
    }
    
    .project-3d-card.featured {
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .card-back {
        padding: 1.5rem;
    }
    
    .details-header h3 {
        font-size: 1.4rem;
    }
}

/* Modern Experience Section Styles */
.experience-section {
    padding: 5rem 0;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 3rem;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.experience-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.experience-card {
    background: rgba(18, 18, 22, 0.7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 51, 102, 0.3);
}

.experience-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 51, 102, 0.05) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    pointer-events: none;
}

.experience-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3);
}

.company-initial {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.role-duration {
    display: flex;
    align-items: center;
}

.duration-badge {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.experience-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.role-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem;
}

.company-name {
    margin-bottom: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.company-name h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--accent-color);
}

.location-badge {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.company-description {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.key-responsibilities h5 {
    font-size: 1rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.responsibility-list li {
    display: flex;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.92rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.75);
}

.metric-highlight {
    min-width: 50px;
    margin-right: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.2rem 0.4rem;
    background: rgba(255, 51, 102, 0.1);
    border-radius: 4px;
    text-align: center;
}

.tech-stack-wrapper {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 51, 102, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* CTA Section */
.experience-cta {
    margin: 2rem 0;
}

.cta-content {
    background: linear-gradient(
        to right,
        rgba(255, 51, 102, 0.1),
        rgba(18, 18, 22, 0.8)
    );
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="rgba(255,51,102,0.03)"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="rgba(255,51,102,0.05)" stroke-width="1"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.cta-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.15);
    color: var(--accent-color);
    font-size: 1.8rem;
}

.cta-text {
    flex: 1;
}

.cta-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cta-action {
    flex-shrink: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 51, 102, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.download-btn i {
    font-size: 1.1rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .experience-cards-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .cta-icon {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .experience-card {
        padding-bottom: 1rem;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .company-initial {
        font-size: 1.5rem;
    }
    
    .role-title {
        font-size: 1.3rem;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Modern Internship Section Styles */
.internships-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.8), rgba(8, 8, 12, 1));
}

.internship-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin: 0 auto 3rem;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.internship-card {
    background: rgba(25, 25, 30, 0.7);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    height: 100%;
    position: relative;
    isolation: isolate;
}

.internship-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        transparent 50%, 
        transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.internship-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.internship-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.internship-company-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    position: relative;
    overflow: hidden;
}

.internship-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internship-company-logo.goldman {
    background: linear-gradient(135deg, #2c5282, #0072c6);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.4);
}

.internship-company-logo.walmart {
    background: linear-gradient(135deg, #0071ce, #004c91);
    box-shadow: 0 5px 15px rgba(0, 113, 206, 0.4);
}

.internship-company-logo.gdsc {
    background: linear-gradient(135deg, #ea4335, #4285f4);
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.4);
}

.internship-badge {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.internship-badge.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
    color: #ffd700;
}

.internship-badge.community {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(66, 133, 244, 0.05));
    color: #4285f4;
}

.internship-badge i {
    font-size: 0.9rem;
}

.internship-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 103px); /* Header height + padding */
}

.internship-title-wrapper {
    margin-bottom: 1.5rem;
}

.internship-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    color: white;
    line-height: 1.2;
}

.internship-company h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: var(--accent-color);
}

.internship-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.internship-meta i {
    margin-right: 0.4rem;
}

.internship-description {
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.internship-achievements {
    margin-bottom: 2rem;
}

.internship-achievements h5 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.2rem;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.achievement-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 1rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
    color: var(--accent-color);
    font-size: 1.1rem;
}

.achievement-content {
    flex: 1;
}

.achievement-metric {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.achievement-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.internship-skills {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: rgba(var(--accent-rgb), 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-badge:hover {
    background: rgba(var(--accent-rgb), 0.25);
    transform: translateY(-2px);
}

/* Internship CTA Section */
.internship-cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-wrapper {
    background: linear-gradient(135deg, 
        rgba(var(--accent-rgb), 0.15), 
        rgba(10, 10, 15, 0.7));
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.cta-wrapper::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(var(--accent-rgb), 0.1), 
        transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.cta-icon-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--accent-color);
    font-size: 2rem;
    position: relative;
    isolation: isolate;
}

.cta-icon-container::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.cta-content {
    flex: 1;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(var(--accent-rgb), 0.4);
}

.cta-button i {
    font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .internship-card {
        height: auto;
    }
}

@media (max-width: 768px) {
    .internship-cards-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .cta-button {
        margin: 0 auto;
        width: 100%;
        justify-content: center;
    }
    
    .internship-header {
        padding: 1.2rem;
    }
    
    .internship-company-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .internship-title {
        font-size: 1.4rem;
    }
}

/* Navbar Animation */
@keyframes navbarFadeIn {
    0% {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}