:root {
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Cursor Glow Effect */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 1024px) {
    .cursor-glow {
        display: block;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

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

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--secondary-color);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.logo .dot {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-cta {
    margin-top: 20px;
    font-size: 1.2rem;
}

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

.hero-bg-elements .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 50px;
    right: -50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.code-body pre {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #a6accd;
    white-space: pre-wrap;
}

.keyword { color: #c792ea; }
.variable { color: #ffcb6b; }
.string { color: #c3e88d; }
.property { color: #82aaff; }
.function { color: #89ddff; }

.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.icon-1 { top: -20px; right: -20px; color: var(--accent-color); animation: float 5s ease-in-out infinite 1s; }
.icon-2 { bottom: 40px; left: -30px; color: #f7df1e; animation: float 7s ease-in-out infinite 0.5s; }
.icon-3 { bottom: -30px; right: 40px; color: var(--secondary-color); animation: float 6s ease-in-out infinite 1.5s; }

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card.featured {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
}

.project-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.2));
    box-shadow: inset 0 -40px 40px -20px rgba(15, 23, 42, 0.3);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.project-card:hover .project-image img {
    transform: scale(1.08) translateY(-5px);
    filter: brightness(1) contrast(1.1);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

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

.project-card:hover .placeholder-img {
    transform: scale(1.1);
}

.btn-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-color);
    font-size: 1.4rem;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card:hover .btn-icon {
    transform: translateY(0) scale(1);
}

.btn-icon:hover {
    transform: translateY(0) scale(1.1) !important;
    background: var(--primary-color);
    color: white;
}

.project-overlay-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

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

.project-overlay-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--bg-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.9);
    opacity: 0;
}

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

.project-action-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.project-action-btn:nth-child(2) {
    transition-delay: 0.15s;
}

.project-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-action-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.project-action-btn.primary:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.project-action-btn.secondary {
    background: white;
    color: var(--bg-color);
}

.project-action-btn.secondary:hover {
    background: #f1f5f9;
}

.project-info {
    padding: 20px;
}

.project-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.project-info h3 {
    margin-top: 5px;
    font-size: 1.3rem;
}

.center-btn {
    text-align: center;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.placeholder-profile {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

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

.skill-item i {
    font-size: 2rem;
    color: var(--text-primary);
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="white"/></svg>');
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-box .gradient-text {
    background: none;
    -webkit-text-fill-color: white;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-box .btn-primary {
    background: white !important;
    color: var(--primary-color) !important;
    position: relative !important;
    z-index: 1000 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    display: inline-block !important;
}

.cta-box .btn-primary:hover {
    background: var(--bg-color);
    color: white;
}

/* Project Preview */
.project-preview {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top center;
    max-height: 600px;
}

.project-details {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

.project-features {
    margin-bottom: 60px;
}

.project-features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

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

.project-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: 30px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.project-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.project-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding-top: 80px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 20px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .experience-badge {
        right: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ... (Previous CSS) ... */

/* Page Header */
.page-header {
    padding-top: 150px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Project Details Page */
.project-hero {
    padding-top: 120px;
    padding-bottom: 50px;
}

.project-hero-content {
    text-align: center;
    margin-bottom: 50px;
}

.project-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.project-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-hero-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.placeholder-hero {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.details-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

.details-content h2:first-child {
    margin-top: 0;
}

.details-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 300px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.details-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.project-info-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-info-list li strong {
    color: var(--text-primary);
}

.project-info-list li span,
.project-info-list li a {
    color: var(--text-secondary);
}

.project-info-list li a:hover {
    color: var(--primary-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Project Navigation */
.project-nav {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.nav-grid-btn {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.nav-grid-btn:hover {
    color: var(--text-primary);
}

/* Service Details Page */
.service-hero {
    padding-top: 150px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
}

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

.service-icon-lg {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 auto 30px;
}

.service-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.feature-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.process-steps {
    margin-top: 40px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.cta-sidebar {
    text-align: center;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.4);
}

.cta-sidebar p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.other-services-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.other-services-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.other-services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.other-services-list a:hover {
    color: var(--text-primary);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.btn-text:hover {
    gap: 10px;
    color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .details-sidebar {
        position: static;
    }

    .project-hero-image .placeholder-hero {
        height: 300px;
    }

    .project-hero-image .placeholder-hero i {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .page-title,
    .project-title,
    .service-title {
        font-size: 2.5rem;
    }

    .features-grid,
    .project-gallery {
        grid-template-columns: 1fr;
    }
}/* Profile Image Adjustment */
.profile-img {
    width: 100%;
    height: auto;
    max-width: 350px;
    /* Reduced max-width */
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.image-wrapper {
    text-align: center;
    background: transparent !important;
    /* Override placeholder background */
    box-shadow: none !important;
}

/* Adjust badge position for the real image */
.experience-badge {
    right: 10%;
    bottom: 10%;
}/* Mobile Optimization */
@media (max-width: 768px) {

    /* General Layout */
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Typography */
    h1,
    .hero-title,
    .page-title,
    .project-title,
    .service-title {
        font-size: 2.2rem !important;
    }

    h2,
    .section-title {
        font-size: 1.8rem !important;
    }

    .section-subtitle,
    .hero-description,
    .page-subtitle {
        font-size: 1rem;
    }

    /* Header */
    .logo {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .stat-item {
        align-items: center;
        width: 45%;
    }

    /* About Section */
    .about-container {
        gap: 40px;
    }

    .experience-badge {
        padding: 15px;
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
        width: max-content;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    /* Services & Projects */
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .project-card {
        margin-bottom: 20px;
    }

    /* Project Details */
    .project-hero-image .placeholder-hero {
        height: 250px;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
    }

    .gallery-item {
        height: 200px;
    }

    /* Footer */
    .footer-content {
        gap: 30px;
    }
}

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

    .stat-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .card-glass {
        padding: 20px;
    }

    /* Project Overlay Actions - Mobile */
    .project-overlay-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .project-action-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .project-overlay-text {
        font-size: 0.95rem;
        text-align: center;
    }
}

/* Project Detail Hero com Imagem de Fundo */
.project-detail-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.92) 50%,
        rgba(15, 23, 42, 0.95) 100%
    );
    backdrop-filter: blur(3px);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 150px 20px 100px;
}

.badge-detail {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: fadeInDown 0.6s ease;
}

.project-detail-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.2s both;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-detail-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.4s both;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsivo para Hero */
@media (max-width: 768px) {
    .project-detail-hero {
        background-attachment: scroll;
    }
    
    .project-detail-title {
        font-size: 2.5rem;
    }
    
    .project-detail-subtitle {
        font-size: 1.1rem;
    }
    
    .project-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}