/* ===== CSS Variables ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.1;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.greeting {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
    position: relative;
    height: 500px;
    width: 100%;
}

.floating-icons-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.floating-icon:hover {
    transform: scale(1.15) translateZ(0);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
    z-index: 10;
    border-color: var(--primary-color);
}

.floating-icon i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.floating-icon .icon-label {
    font-size: 0.7rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    opacity: 0.8;
}

.floating-icon:hover .icon-label {
    opacity: 1;
    color: var(--primary-color);
}

/* Animation for each icon with different patterns */
.floating-icon[data-icon="playwright"] {
    top: 10%;
    left: 20%;
    animation: float1 8s infinite ease-in-out;
    animation-delay: 0s;
}

.floating-icon[data-icon="cypress"] {
    top: 20%;
    right: 15%;
    animation: float2 10s infinite ease-in-out;
    animation-delay: 1s;
}

.floating-icon[data-icon="selenium"] {
    top: 50%;
    left: 10%;
    animation: float3 9s infinite ease-in-out;
    animation-delay: 2s;
}

.floating-icon[data-icon="javascript"] {
    top: 60%;
    right: 20%;
    animation: float4 11s infinite ease-in-out;
    animation-delay: 0.5s;
}

.floating-icon[data-icon="git"] {
    top: 15%;
    left: 50%;
    animation: float5 9s infinite ease-in-out;
    animation-delay: 1.5s;
}

.floating-icon[data-icon="github"] {
    top: 70%;
    left: 30%;
    animation: float6 10s infinite ease-in-out;
    animation-delay: 2.5s;
}

.floating-icon[data-icon="aws"] {
    top: 30%;
    right: 10%;
    animation: float7 8s infinite ease-in-out;
    animation-delay: 3s;
}

.floating-icon[data-icon="jira"] {
    top: 40%;
    left: 25%;
    animation: float8 12s infinite ease-in-out;
    animation-delay: 1s;
}

.floating-icon[data-icon="docker"] {
    top: 65%;
    right: 15%;
    animation: float1 9s infinite ease-in-out;
    animation-delay: 2s;
}

.floating-icon[data-icon="postman"] {
    top: 25%;
    left: 40%;
    animation: float2 10s infinite ease-in-out;
    animation-delay: 0.75s;
}

.floating-icon[data-icon="api"] {
    top: 55%;
    left: 60%;
    animation: float3 11s infinite ease-in-out;
    animation-delay: 1.75s;
}

.floating-icon[data-icon="testmo"] {
    top: 80%;
    right: 25%;
    animation: float4 9s infinite ease-in-out;
    animation-delay: 2.25s;
}

.floating-icon[data-icon="jmeter"] {
    top: 5%;
    right: 30%;
    animation: float5 10s infinite ease-in-out;
    animation-delay: 0.25s;
}

.floating-icon[data-icon="html"] {
    top: 35%;
    right: 40%;
    animation: float6 8s infinite ease-in-out;
    animation-delay: 1.25s;
}

.floating-icon[data-icon="css"] {
    top: 75%;
    left: 50%;
    animation: float7 11s infinite ease-in-out;
    animation-delay: 0.5s;
}

.floating-icon[data-icon="agile"] {
    top: 45%;
    right: 35%;
    animation: float8 9s infinite ease-in-out;
    animation-delay: 1.5s;
}

.floating-icon[data-icon="qa"] {
    top: 90%;
    left: 15%;
    animation: float1 10s infinite ease-in-out;
    animation-delay: 3.5s;
}

/* Floating animations */
@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, -20px) rotate(-5deg);
    }
    75% {
        transform: translate(10px, -10px) rotate(3deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-25px, 25px) rotate(-5deg);
    }
    66% {
        transform: translate(20px, 15px) rotate(5deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, 20px) rotate(3deg);
    }
    50% {
        transform: translate(-20px, -15px) rotate(-3deg);
    }
    75% {
        transform: translate(-10px, 25px) rotate(2deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -25px) rotate(-5deg);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-15px, -20px) rotate(4deg);
    }
    50% {
        transform: translate(25px, 10px) rotate(-4deg);
    }
    75% {
        transform: translate(-10px, 15px) rotate(2deg);
    }
}

@keyframes float6 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(20px, 30px) rotate(-6deg);
    }
    66% {
        transform: translate(-25px, -10px) rotate(6deg);
    }
}

@keyframes float7 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-20px, 15px) rotate(-3deg);
    }
    50% {
        transform: translate(15px, -25px) rotate(3deg);
    }
    75% {
        transform: translate(10px, 20px) rotate(-2deg);
    }
}

@keyframes float8 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, 20px) rotate(5deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== About Section ===== */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight-item span {
    color: var(--text-dark);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.tech-badge {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 6s infinite ease-in-out;
}

.tech-badge i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -10%;
    animation-delay: 2s;
}

.badge-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

/* ===== Skills Section ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Tools & Technologies 3D Section ===== */
.tools-section {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 5rem 0;
}

.tools-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.tool-card-3d {
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.tool-card-3d:hover .card-3d-inner:not(.flipped) {
    transform: rotateY(180deg);
}

.card-3d-front,
.card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.card-3d-front {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-3d-back {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    transform: rotateY(180deg);
}

.tool-card-3d[data-tool="Blockchain"] .card-3d-front {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.tool-card-3d[data-tool="Blockchain"] .card-3d-back {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: var(--text-dark);
}

.tool-card-3d[data-tool="AI"] .card-3d-front {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: var(--text-dark);
}

.tool-card-3d[data-tool="AI"] .card-3d-back {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.tool-card-3d[data-tool="API"] .card-3d-front {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tool-card-3d[data-tool="API"] .card-3d-back {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.tool-card-3d[data-tool="JMeter"] .card-3d-front {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.tool-card-3d[data-tool="JMeter"] .card-3d-back {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.tool-card-3d[data-tool="JavaScript"] .card-3d-front {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
}

.tool-card-3d[data-tool="JavaScript"] .card-3d-back {
    background: linear-gradient(135deg, #fad0c4 0%, #ffd1ff 100%);
}

.tool-card-3d[data-tool="Git"] .card-3d-front {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: var(--text-dark);
}

.tool-card-3d[data-tool="Git"] .card-3d-back {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: var(--text-dark);
}

.tool-card-3d[data-tool="AWS"] .card-3d-front {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.tool-card-3d[data-tool="AWS"] .card-3d-back {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: var(--text-dark);
}

.tool-card-3d[data-tool="Jira"] .card-3d-front {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: var(--text-dark);
}

.tool-card-3d[data-tool="Jira"] .card-3d-back {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.tool-card-3d[data-tool="Docker"] .card-3d-front {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.tool-card-3d[data-tool="Docker"] .card-3d-back {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.tool-card-3d[data-tool="Postman"] .card-3d-front {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.tool-card-3d[data-tool="Postman"] .card-3d-back {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tool-card-3d[data-tool="Selenium"] .card-3d-front {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.tool-card-3d[data-tool="Selenium"] .card-3d-back {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.tool-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: float 6s infinite ease-in-out;
}

.tool-card-3d:hover .tool-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tool-icon-wrapper i {
    font-size: 3rem;
    color: white;
}

.tool-card-3d[data-tool="Blockchain"] .tool-icon-wrapper i,
.tool-card-3d[data-tool="AI"] .tool-icon-wrapper i,
.tool-card-3d[data-tool="Git"] .tool-icon-wrapper i,
.tool-card-3d[data-tool="AWS"] .tool-icon-wrapper i,
.tool-card-3d[data-tool="Jira"] .tool-icon-wrapper i,
.tool-card-3d[data-tool="JavaScript"] .tool-icon-wrapper i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-3d-front h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-3d-front p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.card-3d-back h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-3d-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

.tool-card-3d:hover {
    transform: translateY(-10px);
}

.tool-card-3d:hover .card-3d-front,
.tool-card-3d:hover .card-3d-back {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Experience Section ===== */
.experience {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    border: 4px solid var(--bg-light);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    width: 45%;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tags .tag {
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

/* ===== Education Section ===== */
.education-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 2.5rem;
    color: white;
}

.education-degree {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.education-university {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.education-period {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-specialization {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.education-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.contact-details span {
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 3rem;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }

    .tools-3d-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .tool-card-3d {
        height: 250px;
    }

    .tool-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .tool-icon-wrapper i {
        font-size: 2.5rem;
    }

    .card-3d-front h3,
    .card-3d-back h3 {
        font-size: 1.2rem;
    }

    .hero-image {
        height: 500px;
        margin-top: 2rem;
    }

    .floating-icon {
        width: 75px;
        height: 75px;
    }

    .floating-icon i {
        font-size: 1.75rem;
    }

    .floating-icon .icon-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-image {
        height: 450px;
    }

    .floating-icon {
        width: 70px;
        height: 70px;
    }

    .floating-icon i {
        font-size: 1.75rem;
    }

    .floating-icon .icon-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-image {
        height: 400px;
    }

    .floating-icon {
        width: 60px;
        height: 60px;
    }

    .floating-icon i {
        font-size: 1.5rem;
    }

    .floating-icon .icon-label {
        font-size: 0.6rem;
    }

    .education-card {
        flex-direction: column;
        padding: 2rem;
    }

    .tools-3d-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tool-card-3d {
        height: 240px;
    }

    .tool-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .tool-icon-wrapper i {
        font-size: 2rem;
    }

    .card-3d-front h3 {
        font-size: 1.1rem;
    }

    .card-3d-back h3 {
        font-size: 1rem;
    }

    .card-3d-back p {
        font-size: 0.85rem;
    }
}

/* ===== QA Warehouse Popup Modal ===== */
.qa-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden !important;
    touch-action: none;
    margin: 0 !important;
    pointer-events: none !important;
}

.qa-popup-overlay.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific */
    .qa-popup-overlay {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
}

.qa-popup-modal {
    background: var(--bg-white) !important;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: calc(100% - 40px);
    position: relative !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    animation: popupSlideIn 0.4s ease-out forwards;
    margin: auto !important;
    z-index: 100000 !important;
    display: block !important;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.qa-popup-overlay.show .qa-popup-modal {
    transform: scale(1) translateY(0);
}

@keyframes popupSlideIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.qa-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.qa-popup-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.qa-popup-content {
    text-align: center;
}

.qa-popup-welcome {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.qa-popup-welcome-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.qa-popup-welcome-subtext {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.qa-popup-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulse 2s infinite;
}

.qa-popup-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.qa-popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.qa-popup-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.qa-popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.qa-popup-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Popup */
@media (max-width: 768px) {
    .qa-popup-overlay {
        padding: 15px !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    .qa-popup-modal {
        padding: 2rem 1.5rem !important;
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        margin: auto !important;
        border-radius: 15px;
        position: relative !important;
        max-height: 85vh;
        max-height: 85dvh;
    }

    .qa-popup-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .qa-popup-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .qa-popup-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .qa-popup-welcome {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .qa-popup-welcome-text {
        font-size: 1.1rem;
    }

    .qa-popup-welcome-subtext {
        font-size: 0.95rem;
    }

    .qa-popup-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }

    .qa-popup-icon i {
        font-size: 2rem;
    }

    .qa-popup-buttons {
        width: 100%;
    }

    .qa-popup-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .qa-popup-overlay {
        padding: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    .qa-popup-modal {
        padding: 1.75rem 1.25rem !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: auto !important;
        border-radius: 12px;
        position: relative !important;
        max-height: 85vh;
        max-height: 85dvh;
    }

    .qa-popup-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .qa-popup-welcome {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .qa-popup-welcome-text {
        font-size: 1rem;
    }

    .qa-popup-welcome-subtext {
        font-size: 0.9rem;
    }

    .qa-popup-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .qa-popup-message {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .qa-popup-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .qa-popup-icon i {
        font-size: 1.5rem;
    }

    .qa-popup-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .qa-popup-overlay {
        padding: 8px !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }

    .qa-popup-modal {
        padding: 1.5rem 1rem !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        max-height: 90vh;
        max-height: 90dvh;
    }

    .qa-popup-welcome {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .qa-popup-welcome-text {
        font-size: 0.95rem;
    }

    .qa-popup-welcome-subtext {
        font-size: 0.85rem;
    }

    .qa-popup-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .qa-popup-message {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .qa-popup-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.75rem;
    }

    .qa-popup-icon i {
        font-size: 1.3rem;
    }

    .qa-popup-btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
}

