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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-bg: #0a0e27;
    --dark-card: #141b2d;
    --dark-card-hover: #1a2332;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --gradient: 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%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite;
}

.logo i {
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

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

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 3px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.typing-container {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.static-text {
    display: inline-block;
}

.typing-text {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.5rem;
    min-width: 2px;
}

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

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span,
.btn i {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

/* Floating Icons */
.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 3.5rem;
    color: rgba(102, 126, 234, 0.3);
    animation: float 8s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-icon:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
    opacity: 0;
}

.floating-icon:hover .icon-glow {
    opacity: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(10px) rotate(5deg);
    }
    50% {
        transform: translateY(-20px) translateX(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-40px) translateX(5px) rotate(3deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.floating-icon.docker { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icon.kubernetes { top: 20%; right: 15%; animation-delay: 1s; }
.floating-icon.aws { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-icon.jenkins { top: 50%; right: 10%; animation-delay: 1.5s; }
.floating-icon.git { bottom: 20%; right: 30%; animation-delay: 0.5s; }
.floating-icon.terraform { bottom: 10%; left: 50%; animation-delay: 2.5s; }
.floating-icon.ansible { top: 70%; left: 30%; animation-delay: 1.8s; }
.floating-icon.prometheus { top: 40%; left: 70%; animation-delay: 3s; }

/* Scroll Indicator */
.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: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.arrow span {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    animation: arrow-bounce 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow-bounce {
    0%, 100% {
        opacity: 0;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(-5px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up[data-delay="0.3"] {
    animation-delay: 0.3s;
}

.fade-in-up[data-delay="0.5"] {
    animation-delay: 0.5s;
}

.fade-in-up[data-delay="0.7"] {
    animation-delay: 0.7s;
}

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

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-line {
    flex: 1;
    height: 2px;
    background: var(--gradient);
    max-width: 100px;
    opacity: 0;
    animation: expandLine 1s ease forwards;
}

.title-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes expandLine {
    to {
        opacity: 1;
        max-width: 100px;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

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

.about-card-main {
    grid-column: 1 / -1;
    max-width: 100%;
}

.about-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: var(--accent-color);
}

.about-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: inline-block;
    animation: icon-float 3s ease-in-out infinite;
}

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

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Skills Section */
.skills {
    background: var(--dark-bg);
}

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

.skill-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.skill-card.animate {
    animation: slideUp 0.6s ease forwards;
}

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

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: var(--accent-color);
}

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

.skill-header i {
    font-size: 2rem;
    color: var(--accent-color);
}

.skill-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Pipeline Animation Section */
.pipeline-section {
    background: var(--dark-bg);
    padding: 100px 0;
    overflow: hidden;
}

.pipeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.pipeline-progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 4rem;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 0.3s linear;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.pipeline-stages-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.pipeline-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--dark-card);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    min-width: 140px;
    flex: 1;
    max-width: 180px;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.pipeline-stage.completed {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.pipeline-stage.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.pipeline-stage:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: var(--accent-color);
}

.stage-icon {
    font-size: 2rem;
    color: var(--accent-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.pipeline-stage.completed .stage-icon,
.pipeline-stage.active .stage-icon {
    opacity: 1;
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.8));
}

.pipeline-stage.active .stage-icon {
    animation: iconPulse 1.5s ease infinite;
    transform: scale(1.15);
}

.stage-progress-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pipeline-stage.completed .stage-progress-indicator {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

.pipeline-stage.active .stage-progress-indicator {
    background: var(--accent-color);
    box-shadow: 0 0 15px rgba(6, 182, 212, 1);
    animation: indicatorPulse 1s ease infinite;
}

@keyframes indicatorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.stage-content {
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
}

.stage-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.stage-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.pipeline-connector {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 40px;
    max-width: 80px;
    height: 2px;
    margin: 0 0.5rem;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.pipeline-connector.completed .connector-line {
    background: linear-gradient(90deg, var(--accent-color), rgba(6, 182, 212, 0.8));
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.pipeline-connector.active .connector-line {
    background: linear-gradient(90deg, var(--accent-color), rgba(6, 182, 212, 0.8));
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.pipeline-connector.active .connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: connectorFlow 0.8s linear infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.4);
    }
}

@keyframes connectorFlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .pipeline-stages-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pipeline-stage {
        max-width: 100%;
        width: 100%;
    }
    
    .pipeline-connector {
        transform: rotate(90deg);
        min-width: 0;
        height: 40px;
        margin: 0;
        max-width: 100%;
    }
}

/* Projects Section */
.projects {
    background: linear-gradient(180deg, var(--dark-card) 0%, var(--dark-bg) 100%);
}

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

.project-card {
    background: var(--dark-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.project-card.animate {
    animation: projectReveal 0.6s ease forwards;
}

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

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    border-color: var(--accent-color);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

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

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-link:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

.project-icon {
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.5;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-card:hover .project-icon {
    opacity: 1;
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.tech-tag {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: var(--dark-card);
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item-github {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 250px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 2rem;
    background: var(--dark-bg);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    width: 100%;
    min-height: 180px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-item:hover::before {
    width: 200px;
    height: 200px;
}

.contact-item:hover {
    transform: translateY(-10px) scale(1.05);
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(5deg);
}

.contact-item span {
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.contact-item small {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 1.5rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-content p {
        font-size: 0.95rem;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item-github {
        grid-column: 1;
        max-width: 100%;
    }

    .contact-item {
        min-height: 160px;
        padding: 1.5rem;
    }

    .section-title {
        flex-direction: column;
        gap: 10px;
        font-size: 2rem;
    }

    .title-line {
        max-width: 50px;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .floating-icon {
        font-size: 2.5rem;
    }

    .floating-icon.docker { top: 5%; left: 5%; }
    .floating-icon.kubernetes { top: 15%; right: 5%; }
    .floating-icon.aws { bottom: 25%; left: 10%; }
    .floating-icon.jenkins { top: 45%; right: 5%; }
    .floating-icon.git { bottom: 15%; right: 20%; }
    .floating-icon.terraform { bottom: 5%; left: 40%; }
    .floating-icon.ansible { top: 65%; left: 20%; }
    .floating-icon.prometheus { top: 35%; left: 60%; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-card h3,
    .project-content h3 {
        font-size: 1.2rem;
    }

    .skill-header h3 {
        font-size: 1.1rem;
    }

    .contact-item {
        padding: 1.25rem;
        min-height: 150px;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .project-image {
        height: 150px;
    }

    .project-icon {
        font-size: 3rem;
    }

    .pipeline-stage {
        min-width: 120px;
        padding: 1rem 0.75rem;
    }

    .stage-content h3 {
        font-size: 1rem;
    }

    .stage-content p {
        font-size: 0.75rem;
    }
}