/* Force .portfolio-content to fill vertical space in .portfolio-item */
.portfolio-item > .portfolio-content {
    flex: 1 1 auto !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-color: #1a1a1a;
    --darker-color: #0f0f0f;
    --light-color: #ffffff;
    --lightest-color: #f8f9fa;
    --gray-light: #2a2a2a;
    --gray-medium: #666666;
    --text-color: #cccccc;
    --heading-color: #ffffff;
    --border-color: #333333;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    counter-reset: section;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-container {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 300px;
    height: 225px;
    margin: 0 auto 3rem;
    position: relative;
    opacity: 0;
    animation: 
        logoFadeIn 1s ease 0.5s forwards,
        logoHover 6s ease-in-out 3s infinite;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    animation: logoRotate 8s linear 2s infinite;
}

.logo-text-dc {
    opacity: 0;
    transform: translateY(20px) scale(1);
    stroke: white;
    stroke-width: 2;
    fill: transparent;
    animation: 
        logoTextReveal 1.5s ease 1s forwards,
        dcFillAnimation 2s ease 1.5s forwards;
}

.logo-text-name {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: 
        logoTextReveal 1.5s ease 1.3s forwards,
        nameFloat 4s ease-in-out 2.8s infinite,
        nameBrightness 2s ease-in-out 2.8s infinite alternate;
}

.loading-progress-bar {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-117px);
    width: 235px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: progressBarFadeIn 0.5s ease 1.5s forwards;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #6610f2, #007bff);
    background-size: 200% 100%;
    width: 0;
    border-radius: 2px;
    animation: progressFill 2s ease 1.5s forwards, progressShimmer 1.5s linear 1.5s infinite;
}

.loading-text {
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: loadingTextFadeIn 0.8s ease 2s forwards;
    margin-top: 2rem;
}

/* Animations */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes logoHover {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.02) translateY(-5px);
    }
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(0.5deg) scale(1.01);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(-0.5deg) scale(1.01);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes logoTextReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(1);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* DC Text Animations */
@keyframes dcPulse {
    from {
        transform: translateY(0) scale(1);
    }
    to {
        transform: translateY(-3px) scale(1);
    }
}

@keyframes dcFillAnimation {
    0% {
        fill: transparent;
        stroke-width: 2;
        stroke-dasharray: 200;
        stroke-dashoffset: 200;
    }
    50% {
        fill: transparent;
        stroke-width: 2;
        stroke-dasharray: 200;
        stroke-dashoffset: 0;
    }
    100% {
        fill: white;
        stroke-width: 0;
        stroke-dasharray: 200;
        stroke-dashoffset: 0;
    }
}

@keyframes dcGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 30px rgba(0, 123, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }
}

/* Name Text Animations */
@keyframes nameFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
    }
}

@keyframes nameBrightness {
    from {
        opacity: 0.9;
    }
    to {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes progressBarFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes progressFill {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes progressShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes loadingTextFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 80px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
}

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.05;
    border-radius: 50% 0 0 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title-subtitle {
    display: block;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 500;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-certifications {
    margin-bottom: 2rem;
}

.cert-title {
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cert-item-hero {
    background: var(--gray-light);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-color);
}

.cert-item-hero:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
}

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

/* Sections */
section {
    padding: 80px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title span {
    position: relative;
    z-index: 2;
}

/* About Section */
.about {
    background: transparent;
}

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

.about-text p {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

.skill-category h3 {
    margin-bottom: 1rem;
    color: var(--lightest-color);
    font-size: 22px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: var(--gray-light);
    color: var(--lightest-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio {
    background: transparent;
}

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

.portfolio-item {
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

/* Ensure direct child .portfolio-content fills all available space */
.portfolio-item > .portfolio-content {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 250px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.portfolio-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 250px;
    /* Remove justify-content: space-between to allow margin-top: auto on .portfolio-links to work */
}

.portfolio-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--lightest-color);
    text-align: center;
}

.portfolio-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    width: 100%;
}

/* Resume Section */
.resume {
    background: transparent;
}

.resume-content {
    max-width: 800px;
    margin: 0 auto;
}

.resume-section {
    margin-bottom: 3rem;
}

.resume-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--lightest-color);
    position: relative;
    padding-left: 2rem;
}

.resume-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--gradient);
    border-radius: 2px;
}

.resume-item {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
}

.resume-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.resume-header h4 {
    font-size: 1.3rem;
    color: var(--lightest-color);
}

.resume-date {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.resume-company {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cert-item {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.cert-item:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.cert-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--lightest-color);
    font-family: 'Courier New', monospace;
}

.resume-download {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact {
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--lightest-color);
}

.contact-info p {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-item strong {
    color: var(--lightest-color);
    margin-right: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--gray-light);
    color: var(--lightest-color);
    transition: border-color 0.3s ease, box-shadow 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(100, 255, 218, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0 25px;
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--gray-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem;
        /* Flex properties now handled by .portfolio-item > .portfolio-content */
    }
    
    section {
        padding: 80px 25px;
    }
    
    .hero-container {
        padding: 0 25px;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .section-title:after {
        width: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .skills {
        grid-template-columns: 1fr;
    }
    
    .skill-tags {
        justify-content: flex-start;
    }
    
    .resume-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .section-title:after {
        width: 150px;
    }
}

/* Kubernetes Projects Page Styles */
.main-content {
    padding-top: 80px;
}

.project-hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-light) 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.project-hero-content {
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.projects-section {
    padding: 80px 0;
    background-color: var(--dark-color);
}

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

.project-card {
    background: var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-info {
    padding: 2rem;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tech {
    margin-bottom: 1.5rem;
}


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

.projects-info {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-section {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.info-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skills-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skill-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.8rem;
}

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

.skill-group li {
    color: var(--text-color);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1rem;
}

.skill-group li::before {
    content: '▸';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive Design for Projects Page */
@media (max-width: 768px) {
    .project-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        margin: 0 1rem;
    }
    
    .projects-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .skills-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-hero {
        padding: 80px 0 40px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1rem;
    }
    
    .projects-section {
        padding: 60px 0;
    }
    
    .project-card {
        margin: 0 0.5rem;
    }
    
    .project-links {
        justify-content: center;
    }
}

/* Project Detail Pages */
.project-hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.project-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-right: 0.75rem;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.development-badge {
    background: rgba(255, 207, 102, 0.1);
    color: #ffcf66;
    border: 1px solid rgba(255, 207, 102, 0.2);
    margin-right: 0;
}

.project-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.project-content {
    padding: 80px 0;
}

.project-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.project-demo {
    margin-bottom: 4rem;
    text-align: center;
}

.project-demo h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.video-container {
    max-width: 900px;
    margin: 0 auto 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.project-description h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-highlights h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

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

.project-highlights li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    line-height: 1.6;
}

.project-highlights li:last-child {
    border-bottom: none;
}

.project-tech h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
}

.tech-tag {
    background: rgba(78, 205, 196, 0.1);
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.2);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(78, 205, 196, 0.15);
    border-color: rgba(78, 205, 196, 0.4);
    transform: translateY(-1px);
}

.project-features {
    margin-bottom: 4rem;
}

.project-features h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 107, 0.3);
}

.feature-item h4 {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.feature-item p {
    line-height: 1.7;
    opacity: 0.9;
}

.project-details {
    margin-bottom: 4rem;
}

.project-details h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.details-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.detail-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}

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

.detail-section p {
    line-height: 1.7;
    opacity: 0.9;
}

.project-innovation {
    text-align: center;
    margin-bottom: 4rem;
}

.project-innovation h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.project-innovation p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.metric {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design for Project Pages */
@media (max-width: 768px) {
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .project-metrics {
        grid-template-columns: 1fr;
    }
    
    .project-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}