/*! Production Optimized CSS */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --perspective: 1000px;
    --rotate-x: 10deg;
    --rotate-y: 10deg;
    --depth: 20px;
    --bg-gradient: radial-gradient(1200px circle at 20% 0%, #1b2a56 0%, #162447 40%, #0f172a 100%),
                    linear-gradient(135deg, #1b2a56, #3b82f6);
}

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-gradient);
    background-attachment: fixed;
    overflow-x: hidden;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    perspective: var(--perspective);
    transform-style: preserve-3d;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--card-shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    will-change: transform;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(27,42,86,0.9), rgba(59,130,246,0.65));
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    padding: 24px 24px 32px;
}

.devops-3d {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 24px auto;
    max-width: 900px;
    padding: 0 20px;
}

.devops-tile {
    width: 200px;
    height: 140px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(23, 37, 84, 0.8), rgba(30, 64, 175, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-image:nth-child(3) {
    animation-delay: 1s;
}

.hero-image:nth-child(4) {
    animation-delay: 1.5s;
}

.devops-tile i {
    font-size: 3rem;
    background: linear-gradient(135deg, #ffffff, #cfe3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.devops-image:hover {
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
}

.devops-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%) translateZ(-1px);
    transition: transform 0.6s ease;
    border-radius: 20px;
}

.devops-image:hover::before {
    transform: translateX(100%) translateZ(-1px);
}

.anime-developer {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.anime-developer:hover {
    transform: scale(1.05) translateY(-10px);
}

.skill-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

.hero h1::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
    z-index: -1;
    border-radius: 10px;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero h1:hover::after {
    opacity: 1;
}

.hero-title {
    perspective: 800px;
}

.title-line {
    display: block;
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

.title-line:hover {
    transform: translateZ(60px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Skills Section */
.skills-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1b2a56 100%);
    position: relative;
    overflow: hidden;
}

.skills-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tech-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    height: 1px;
    animation: tech-line-move 15s linear infinite;
}

.tech-line:nth-child(1) {
    top: 20%;
    width: 100%;
    animation-delay: 0s;
}

.tech-line:nth-child(2) {
    top: 40%;
    width: 80%;
    left: 10%;
    animation-delay: 3s;
}

.tech-line:nth-child(3) {
    top: 60%;
    width: 90%;
    left: 5%;
    animation-delay: 6s;
}

.tech-line:nth-child(4) {
    top: 80%;
    width: 70%;
    left: 15%;
    animation-delay: 9s;
}

.tech-line:nth-child(5) {
    top: 10%;
    width: 60%;
    left: 20%;
    animation-delay: 12s;
}

.skills-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: particle-float 12s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    top: 20%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 70%;
    top: 30%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 90%;
    top: 60%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 80%;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    left: 20%;
    top: 70%;
    animation-delay: 10s;
}

@keyframes tech-line-move {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    perspective: 1000px;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-shadow);
    animation: float3D 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform;
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(0);
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%) translateZ(-1px);
    transition: transform 0.6s ease;
}

.skill-card:hover::before {
    transform: translateX(100%) translateZ(-1px);
}

.skill-card::after,
.project-card::after,
.social-card::after,
.resume-card::after,
.experience-card::after,
.devops-tile::after { content: none !important; }

.skill-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.skill-card i {
    font-size: 2.8rem;
    margin-bottom: 25px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
    transform: translateZ(5px);
}

.skill-card:hover i {
    transform: scale(1.2) translateZ(10px);
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.skill-card:hover h3 {
    color: var(--secondary-color);
}

.skill-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Ensure section is visible */
#skills {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    padding-bottom: 0;
}

#skills .section-title {
    opacity: 1;
    visibility: visible;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1b2a56 100%);
    position: relative;
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    will-change: transform;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-10px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.project-card:hover .project-image img {
    transform: scale(1.1) translateZ(10px);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-duration {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    font-style: italic;
}

.project-details {
    margin: 20px 0;
}

.project-details h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

.project-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(52, 152, 219, 0.1);
}

.project-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.project-link i {
    font-size: 1.1rem;
}

/* Resume Section */
.resume-section {
    background: linear-gradient(135deg, #0f172a 0%, #1b2a56 100%);
    padding: 10px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 60px;
    will-change: transform;
}

.resume-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(27,42,86,0.15) 100%);
    z-index: 0;
}

.resume-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.resume-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.resume-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 0%, rgba(255,255,255,0.1) 100%);
    animation: rotate 20s linear infinite;
}

.resume-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: white;
    transform: translateZ(0);
}

.resume-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    transform: translateZ(5px);
}

.resume-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.resume-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.resume-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.resume-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.highlight-item span {
    color: #666;
    font-weight: 500;
    font-size: 1rem;
}

.resume-download {
    flex: 0 0 300px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-wrapper {
    text-align: center;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    color: var(--secondary-color);
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%) translateZ(-1px);
    animation: shine 3s infinite;
}

.download-button:hover {
    transform: translateY(-3px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.download-button i {
    font-size: 1.2rem;
}

.download-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.download-info i {
    margin-right: 5px;
}

/* Experience Section */
.experience-section {
    background: linear-gradient(135deg, #0f172a 0%, #1b2a56 100%);
    padding: 80px 0;
    position: relative;
    margin-top: 60px;
    will-change: transform;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.experience-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    will-change: transform;
    transform-style: preserve-3d;
    animation: float3D 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.experience-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.experience-card.current {
    border: 2px solid var(--secondary-color);
    background: #ffffff;
}

.experience-card.current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 15px;
    background: #ffffff;
}

.experience-badge {
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.current-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: pulse 2s infinite;
}

.experience-date {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.experience-content {
    padding: 0 30px 30px;
}

.experience-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.company-name {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.experience-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.experience-location i {
    color: var(--secondary-color);
}

.experience-summary p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.experience-details {
    margin-top: 20px;
}

.experience-details h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.achievement-list li i {
    color: var(--secondary-color);
    margin-top: 3px;
    font-size: 1rem;
    min-width: 16px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--secondary-color) 0%,
        var(--primary-color) 50%,
        var(--secondary-color) 100%
    );
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    animation: pulse 2s infinite;
    transform: translateZ(-5px);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-content {
    background: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(20px) translateZ(0);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    transform-style: preserve-3d;
}

.timeline-content:hover {
    transform: translateY(-5px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    top: 30px;
    right: -10px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    right: auto;
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.timeline-content h4 {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content .location {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

.internship-details {
    list-style-type: none;
    padding-left: 0;
}

.internship-details li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.internship-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.timeline-item:nth-child(1) .timeline-content {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) .timeline-content {
    animation-delay: 0.4s;
}

.skills-section .section-title h2,
.projects-section .section-title h2,
.experience-section .section-title h2 {
    color: #ffffff;
}

.skills-section .section-subtitle,
.projects-section .section-subtitle,
.experience-section .section-subtitle {
    color: rgba(255,255,255,0.85);
}

/* Social Media Section */
.social-section {
    background: linear-gradient(135deg, #0f172a 0%, #1b2a56 100%);
    padding: 80px 0;
    margin-top: 40px;
    will-change: transform;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.social-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text-color);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: float3D 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.social-card:hover {
    animation-play-state: paused;
    transform: translateY(-8px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.social-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
    transform: translateZ(5px);
}

.social-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-card p {
    color: #666;
    line-height: 1.6;
}

/* Remove CTA button styles */
.cta-button {
    display: inline-block;
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.25);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-6px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
    box-shadow: 0 20px 30px rgba(52, 152, 219, 0.35);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.25);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    will-change: transform;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: white;
    margin: 0 15px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                      0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                      0 0 20px rgba(255, 255, 255, 0.4),
                      0 0 30px rgba(255, 255, 255, 0.2);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}


/* Media Queries */
@media (max-width: 968px) {
    .devops-3d {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .devops-tile {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-card {
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .devops-3d {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 90%;
    }
    
    .devops-tile {
        max-width: 200px;
    }
    
    .devops-image {
        border-radius: 10px;
        aspect-ratio: 1/1;
    }
    
    .skill-image {
        width: 100px;
        height: 100px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .resume-card {
        flex-direction: column;
    }

    .resume-info {
        padding: 30px;
    }

    .resume-download {
        padding: 30px;
    }

    .resume-header h3 {
        font-size: 1.5rem;
    }

    .resume-info p {
        font-size: 1rem;
    }

    .highlight-item {
        padding: 10px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 70px;
    }

    .timeline-content::after {
        left: 20px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-content::after {
        left: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    :root {
        --rotate-x: 5deg;
        --rotate-y: 5deg;
        --depth: 10px;
    }
    
    .skill-card,
    .project-card,
    .social-card,
    .stat-item {
        transform: none !important;
    }
    
    .skill-card:hover,
    .project-card:hover,
    .social-card:hover,
    .stat-item:hover {
        transform: translateY(-5px) !important;
    }
}

@media (max-width: 480px) {
    .resume-highlights {
        grid-template-columns: 1fr;
    }

    .download-button {
        padding: 15px 25px;
    }

    .download-info {
        flex-direction: column;
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
    }
    
    .hero, 
    .skill-card,
    .resume-card,
    .timeline-content,
    .social-card {
        break-inside: avoid;
    }
    
    .skills-grid {
        display: block;
    }
    
    .skill-card {
        margin-bottom: 1cm;
    }
}

/* Connect Button */
.connect-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--card-shadow);
    margin-top: 30px;
    animation: float3D 3s cubic-bezier(0.4, 0, 0.2, 1) infinite,
               pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.connect-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%) translateZ(-1px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 30px;
}

.connect-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    animation: rotate 8s linear infinite;
    z-index: -1;
}

.connect-button:hover::before {
    transform: translateX(100%) translateZ(-1px);
}

.connect-button:hover {
    animation-play-state: paused;
    transform: translateY(-8px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(52, 152, 219, 0.4);
    background-color: #2980b9;
}

.connect-button:active {
    transform: translateY(-4px) scale(0.98);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    }
    100% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Introduction Section */
.introduction-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float-shape 8s ease-in-out infinite;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 25%;
    animation-delay: 6s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 62, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    animation: pattern-move 20s ease-in-out infinite;
}

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes pattern-move {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(10px) translateY(-10px);
    }
}

/* Section-specific DevOps Icons */
.section-devops-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.section-devops-icons i {
    position: absolute;
    font-size: 3rem;
    opacity: 0.4;
    animation: section-icon-float 8s ease-in-out infinite;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 25px rgba(52, 152, 219, 0.6));
    transition: all 0.3s ease;
    transform: translateZ(20px);
}

/* About Me Section Icons */
.introduction-section .section-devops-icons i:nth-child(1) { 
    left: 8%;  top: 15%;  animation-delay: 0s;   color: #2496ed; 
    filter: drop-shadow(0 0 30px rgba(36, 150, 237, 0.8));
    opacity: 0.5;
} /* Docker */
.introduction-section .section-devops-icons i:nth-child(2) { 
    left: 85%; top: 20%;  animation-delay: 2s;   color: #ff9900; 
    filter: drop-shadow(0 0 30px rgba(255, 153, 0, 0.8));
    opacity: 0.5;
} /* AWS */
.introduction-section .section-devops-icons i:nth-child(3) { 
    left: 15%; top: 70%;  animation-delay: 4s;   color: #0078d4; 
    filter: drop-shadow(0 0 30px rgba(0, 120, 212, 0.8));
    opacity: 0.5;
} /* Azure */
.introduction-section .section-devops-icons i:nth-child(4) { 
    left: 80%; top: 75%;  animation-delay: 6s;   color: #4285f4; 
    filter: drop-shadow(0 0 30px rgba(66, 133, 244, 0.8));
    opacity: 0.5;
} /* Google Cloud */
.introduction-section .section-devops-icons i:nth-child(5) { 
    left: 50%; top: 10%;  animation-delay: 8s;   color: #4fc3f7; 
    filter: drop-shadow(0 0 30px rgba(79, 195, 247, 0.8));
    opacity: 0.5;
} /* Cloud */
.introduction-section .section-devops-icons i:nth-child(6) { 
    left: 25%; top: 25%;  animation-delay: 10s;  color: #4a90e2; 
    filter: drop-shadow(0 0 30px rgba(74, 144, 226, 0.8));
    opacity: 0.5;
} /* Server */
.introduction-section .section-devops-icons i:nth-child(7) { 
    left: 70%; top: 50%;  animation-delay: 12s;  color: #00d4aa; 
    filter: drop-shadow(0 0 30px rgba(0, 212, 170, 0.8));
    opacity: 0.5;
} /* Automation */
.introduction-section .section-devops-icons i:nth-child(8) { 
    left: 40%; top: 80%;  animation-delay: 14s;  color: #ff6b35; 
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8));
    opacity: 0.5;
} /* Deployment */

/* Skills Section Icons */
.skills-icons i:nth-child(1) { 
    left: 5%;  top: 10%;  animation-delay: 0s;   color: #d24939; 
    filter: drop-shadow(0 0 20px rgba(210, 73, 57, 0.5));
} /* Jenkins */
.skills-icons i:nth-child(2) { 
    left: 90%; top: 15%;  animation-delay: 2s;   color: #f05032; 
    filter: drop-shadow(0 0 20px rgba(240, 80, 50, 0.5));
} /* Git */
.skills-icons i:nth-child(3) { 
    left: 10%; top: 60%;  animation-delay: 4s;   color: #623ce4; 
    filter: drop-shadow(0 0 20px rgba(98, 60, 228, 0.5));
} /* Terraform */
.skills-icons i:nth-child(4) { 
    left: 85%; top: 65%;  animation-delay: 6s;   color: #326ce5; 
    filter: drop-shadow(0 0 20px rgba(50, 108, 229, 0.5));
} /* Kubernetes */
.skills-icons i:nth-child(5) { 
    left: 50%; top: 5%;   animation-delay: 8s;   color: #f46800; 
    filter: drop-shadow(0 0 20px rgba(244, 104, 0, 0.5));
} /* Grafana */
.skills-icons i:nth-child(6) { 
    left: 30%; top: 30%;  animation-delay: 10s;  color: #e6522c; 
    filter: drop-shadow(0 0 20px rgba(230, 82, 44, 0.5));
} /* Security */
.skills-icons i:nth-child(7) { 
    left: 70%; top: 40%;  animation-delay: 12s;  color: #f7df1e; 
    filter: drop-shadow(0 0 20px rgba(247, 223, 30, 0.5));
} /* Code */
.skills-icons i:nth-child(8) { 
    left: 20%; top: 80%;  animation-delay: 14s;  color: #336791; 
    filter: drop-shadow(0 0 20px rgba(51, 103, 145, 0.5));
} /* Database */
.skills-icons i:nth-child(9) { 
    left: 60%; top: 20%;  animation-delay: 16s;  color: #2ecc71; 
    filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.5));
} /* Terminal */
.skills-icons i:nth-child(10){ 
    left: 80%; top: 50%;  animation-delay: 18s;  color: #9b59b6; 
    filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.5));
} /* Network */

@keyframes section-icon-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.25;
    }
    25% {
        transform: translateY(-20px) translateX(5px) rotate(8deg) scale(1.1);
        opacity: 0.35;
    }
    50% {
        transform: translateY(-15px) translateX(-3px) rotate(-5deg) scale(1.05);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-25px) translateX(8px) rotate(6deg) scale(1.08);
        opacity: 0.4;
    }
}

/* Responsive Design for Section Icons */
@media (max-width: 768px) {
    .section-devops-icons i {
        font-size: 2rem;
        opacity: 0.3;
    }
    
    .section-devops-icons i:hover {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@media (max-width: 480px) {
    .section-devops-icons i {
        font-size: 1.5rem;
        opacity: 0.35;
    }
    
    /* Adjust positioning for mobile */
    .introduction-section .section-devops-icons i:nth-child(1) { left: 5%;  top: 10%; }
    .introduction-section .section-devops-icons i:nth-child(2) { left: 90%; top: 15%; }
    .introduction-section .section-devops-icons i:nth-child(3) { left: 10%; top: 75%; }
    .introduction-section .section-devops-icons i:nth-child(4) { left: 85%; top: 80%; }
    .introduction-section .section-devops-icons i:nth-child(5) { left: 50%; top: 5%; }
    .introduction-section .section-devops-icons i:nth-child(6) { left: 20%; top: 20%; }
    .introduction-section .section-devops-icons i:nth-child(7) { left: 75%; top: 45%; }
    .introduction-section .section-devops-icons i:nth-child(8) { left: 35%; top: 85%; }
    
    .skills-icons i:nth-child(1) { left: 3%;  top: 5%; }
    .skills-icons i:nth-child(2) { left: 92%; top: 10%; }
    .skills-icons i:nth-child(3) { left: 8%;  top: 65%; }
    .skills-icons i:nth-child(4) { left: 88%; top: 70%; }
    .skills-icons i:nth-child(5) { left: 50%; top: 2%; }
    .skills-icons i:nth-child(6) { left: 25%; top: 25%; }
    .skills-icons i:nth-child(7) { left: 75%; top: 35%; }
    .skills-icons i:nth-child(8) { left: 15%; top: 85%; }
    .skills-icons i:nth-child(9) { left: 55%; top: 15%; }
    .skills-icons i:nth-child(10){ left: 85%; top: 45%; }
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    transform: translateZ(50px);
    animation: intro-float 6s ease-in-out infinite;
}

@keyframes intro-float {
    0%, 100% {
        transform: translateZ(50px) translateY(0px);
    }
    50% {
        transform: translateZ(50px) translateY(-10px);
    }
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    transform: translateZ(30px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateZ(40px);
}
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateZ(35px);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
    transform: translateZ(30px);
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: float3D 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
    transform-style: preserve-3d;
}

.stat-item:hover {
    transform: translateY(-5px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) translateZ(var(--depth));
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    transform: translateZ(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.intro-image {
    position: relative;
    height: 400px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-shapes {
    position: relative;
    width: 300px;
    height: 300px;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float3D 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    top: 0;
    left: 0;
    animation-delay: 0s;
    transform: translateZ(10px);
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    bottom: 0;
    right: 0;
    animation-delay: 2s;
    transform: translateZ(5px);
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c0392b 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
    transform: translateZ(15px);
}

@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .intro-image {
        height: 300px;
    }

    .floating-shapes {
        width: 250px;
        height: 250px;
    }

    /* Experience Section Mobile */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .experience-card {
        margin-bottom: 20px;
    }

    .experience-header {
        padding: 20px 20px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .experience-content {
        padding: 0 20px 20px;
    }

    .experience-title {
        font-size: 1.2rem;
    }

    .company-name {
        font-size: 1rem;
    }

    .achievement-list li {
        font-size: 0.9rem;
    }
}

/* Profile Section */
.profile-section,
.profile-image-container,
.profile-image,
.profile-overlay,
.profile-badge {
    display: none;
}

/* Update intro-content for better layout */
.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
}


/* Floating DevOps Tools Background */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}
.floating-icons i {
    position: absolute;
    font-size: 6rem;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.3)) drop-shadow(0 0 40px rgba(255,255,255,0.1));
    opacity: 0.8;
    animation: float-variant 20s infinite ease-in-out;
    mix-blend-mode: lighten;
    transition: all 0.3s ease;
}

/* DevOps Tools with Brand Colors */
.floating-icons i:nth-child(1) { left: 5vw;  top: 10vh;  animation-delay: 0s;   font-size: 7rem; color: #2496ed; } /* Docker */
.floating-icons i:nth-child(2) { left: 80vw; top: 15vh;  animation-delay: 2s;   font-size: 6.5rem; color: #d24939; } /* Jenkins */
.floating-icons i:nth-child(3) { left: 15vw; top: 75vh;  animation-delay: 4s;   font-size: 8rem; color: #ff9900; } /* AWS */
.floating-icons i:nth-child(4) { left: 85vw; top: 70vh;  animation-delay: 6s;   font-size: 7.5rem; color: #0078d4; } /* Microsoft Azure */
.floating-icons i:nth-child(5) { left: 50vw; top: 20vh;  animation-delay: 8s;   font-size: 7.2rem; color: #4285f4; } /* Google Cloud */
.floating-icons i:nth-child(6) { left: 35vw; top: 5vh;   animation-delay: 10s;  font-size: 6.8rem; color: #f05032; } /* Git */
.floating-icons i:nth-child(7) { left: 65vw; top: 80vh;  animation-delay: 12s;  font-size: 7.8rem; color: #623ce4; } /* Terraform */
.floating-icons i:nth-child(8) { left: 10vw; top: 45vh;  animation-delay: 14s;  font-size: 7.3rem; color: #326ce5; } /* Kubernetes */
.floating-icons i:nth-child(9) { left: 75vw; top: 45vh;  animation-delay: 16s;  font-size: 6.5rem; color: #f46800; } /* Grafana */
.floating-icons i:nth-child(10){ left: 25vw; top: 25vh;  animation-delay: 18s;  font-size: 6.2rem; color: #e6522c; } /* Security */
.floating-icons i:nth-child(11){ left: 90vw; top: 30vh;  animation-delay: 20s;  font-size: 6.8rem; color: #4a90e2; } /* Server */
.floating-icons i:nth-child(12){ left: 5vw;  top: 60vh;  animation-delay: 22s;  font-size: 6.5rem; color: #f7df1e; } /* Code */
.floating-icons i:nth-child(13){ left: 60vw; top: 10vh;  animation-delay: 24s;  font-size: 7rem; color: #00d4aa; } /* Automation */
.floating-icons i:nth-child(14){ left: 40vw; top: 60vh;  animation-delay: 26s;  font-size: 6.8rem; color: #ff6b35; } /* Deployment */
.floating-icons i:nth-child(15){ left: 20vw; top: 85vh;  animation-delay: 28s;  font-size: 6.5rem; color: #336791; } /* Database */

@keyframes float-variant {
    0%   { transform: translateY(0) scale(1) rotate(0deg); }
    25%  { transform: translateY(-60px) scale(1.08) rotate(8deg); }
    50%  { transform: translateY(-30px) scale(1.12) rotate(-6deg); }
    75%  { transform: translateY(-50px) scale(1.05) rotate(4deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
}
.contact-section {
    background: linear-gradient(135deg, rgba(27,42,86,0.9), rgba(59,130,246,0.6));
    color: #eaf2ff;
}

.contact-section .section-title,
.contact-section .section-subtitle,
.contact-section h3 {
    color: #ffffff;
}

.contact-section .contact-list li,
.contact-section .contact-list i {
    color: #eaf2ff;
}

.contact-section .social-link {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-section .social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.2);
}
.resume-section .section-title h2,
.resume-section .section-subtitle {
    color: #ffffff;
}

/* Increase readability inside experience cards */
.experience-card {
    background: rgba(255,255,255,0.98);
}

.experience-card::after,
.experience-card:hover::after {
    content: none;
}

.experience-content,
.experience-summary p,
.achievement-list li {
    color: #243447;
}

.experience-title { color: #1f2937; }
.company-name { color: #2563eb; }
.experience-location { color: #4b5563; }
/* Global Starfield */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
    transform-style: preserve-3d;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,255,255,0.7);
    opacity: 0.85;
}

.star.depth1 { opacity: 0.7; animation: drift 60s linear infinite, twinkle 3s ease-in-out infinite; }
.star.depth2 { opacity: 0.5; animation: drift 100s linear infinite, twinkle 4s ease-in-out infinite; }
.star.depth3 { opacity: 0.35; animation: drift 140s linear infinite, twinkle 5s ease-in-out infinite; }

@keyframes drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-120vh); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.9; }
}

/* Nebula layers */
.nebula {
    position: absolute;
    width: 35vw;
    height: 35vw;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    will-change: transform, opacity;
    animation: nebulaFloat 40s ease-in-out infinite;
}

.nebula.blue { background: radial-gradient(circle, rgba(59,130,246,0.7) 0%, transparent 60%); }
.nebula.purple { background: radial-gradient(circle, rgba(147,51,234,0.6) 0%, transparent 65%); }
.nebula.cyan { background: radial-gradient(circle, rgba(6,182,212,0.6) 0%, transparent 65%); }

@keyframes nebulaFloat {
    0% { transform: translate3d(0,0,0) scale(1); opacity: 0.2; }
    50% { transform: translate3d(20px,-20px,0) scale(1.05); opacity: 0.35; }
    100% { transform: translate3d(0,0,0) scale(1); opacity: 0.2; }
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0.0) 100%);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
    opacity: 0.0;
    transform-origin: left center;
    animation: shoot 2.4s ease-in-out forwards;
}

@keyframes shoot {
    0% { opacity: 0; transform: translate3d(0,0,0) rotate(-25deg); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(60vw,-40vh,0) rotate(-25deg); }
}