/* ============================================
   Modern Portfolio Website Styles
   Using Chirp Font & Font Awesome Icons
   ============================================ */

/* Chirp Font Face Declarations */
@font-face {
    font-family: 'Chirp';
    src: url('../fonts/Chirp/Chirp Regular.woff') format('woff'),
         url('../fonts/Chirp/Chirp Regular.ttf') format('truetype'),
         url('../fonts/Chirp/Chirp Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chirp';
    src: url('../fonts/Chirp/Chirp Medium.woff') format('woff'),
         url('../fonts/Chirp/Chirp Medium.ttf') format('truetype'),
         url('../fonts/Chirp/Chirp Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chirp';
    src: url('../fonts/Chirp/Chirp Bold.woff') format('woff'),
         url('../fonts/Chirp/Chirp Bold.ttf') format('truetype'),
         url('../fonts/Chirp/Chirp Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chirp';
    src: url('../fonts/Chirp/Chirp Heavy.woff') format('woff'),
         url('../fonts/Chirp/Chirp Heavy.ttf') format('truetype'),
         url('../fonts/Chirp/Chirp Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary-color: #00ff88;
    --accent-color: #fbbf24;
    --accent-purple: #8b5cf6;
    --success-color: #00ff88;
    --info-color: #3b82f6;
    --text-dark: #ffffff;
    --text-medium: #e5e7eb;
    --text-light: #9ca3af;
    --text-lighter: #6b7280;
    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --bg-light: #1a1a1a;
    --bg-lighter: #252525;
    --bg-white: #ffffff;
    --bg-card: #1a1a1a;
    --border-color: #2a2a2a;
    --border-light: #333333;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Chirp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Content - Full Width Layout */
.main-content {
    width: 100%;
    min-height: calc(100vh - 70px);
    position: relative;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Add dropdown indicator only to specific items */
.nav-menu li:not(:last-child) a::after {
    content: ' ▾';
    font-size: 0.7rem;
    opacity: 0.8;
    margin-left: 0.4rem;
    font-weight: normal;
}

/* Remove dropdown from CONTACT US */
.nav-menu li:last-child a::after {
    content: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a1a1a;
    opacity: 0.7;
}

.nav-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 2rem;
}

.nav-contact-icon:hover {
    background: #1a1a1a;
    color: var(--bg-white);
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    background: var(--bg-dark);
    color: white;
    padding: 6rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.hero::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"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge i {
    font-size: 1rem;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
}

.hero-stat-item .stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    color: white;
}

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

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    color: var(--text-medium);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header > p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-title {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.hero-profile-image:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Service Showcase */
.hero-service-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 1.5rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
    min-width: 400px;
}

.service-preview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: var(--bg-darker);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    overflow: hidden;
}

.service-preview-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
    background: var(--bg-lighter);
}

.service-preview-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: var(--bg-dark);
}

.service-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.7) contrast(1.1);
}

.service-preview-card:hover .service-preview-image img {
    transform: scale(1.1);
    filter: brightness(0.85) contrast(1.15);
}

.service-preview-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    width: 100%;
}

/* Founder Badge Overlay */
.founder-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
    animation: slideUp 0.8s ease-out 0.3s both;
    border: 3px solid white;
}

.founder-badge::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fbbf24;
}

.founder-badge i {
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

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

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

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

.code-animation {
    font-size: 15rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    position: absolute;
    bottom: -50px;
    right: -50px;
    z-index: 1;
    pointer-events: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Chirp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--bg-dark);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--secondary-color);
    color: var(--bg-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--bg-dark);
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary-color);
    transition: all 0.3s;
}

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

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.btn-link:hover {
    gap: 1rem;
}

/* Section Styles - Full Width Layout */
section {
    padding: 5rem 0;
    margin: 0;
    width: 100%;
    position: relative;
}

/* Alternate section backgrounds for visual separation */
section:nth-child(even):not(.contact-cta):not(.hero) {
    background: var(--bg-darker);
}

section:not(.hero):not(.contact-cta) {
    background: var(--bg-dark);
}

/* Ensure contact CTA and hero sections always have their dark backgrounds */
section.contact-cta,
section.hero {
    background: var(--bg-dark) !important;
}


/* About Preview */
.about-preview {
    background: var(--bg-dark);
    padding: 5rem 0;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-item {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Projects */
.featured-projects {
    padding: 5rem 0;
    background: var(--bg-dark);
}

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

.project-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.project-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.project-image i {
    font-size: 4.5rem;
    color: white;
    position: relative;
    z-index: 1;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.project-card:hover .project-image i {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

/* Blog - Modern Redesign */
.blog-page-modern {
    padding: 4rem 0;
}

.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card-modern {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-color);
}

.blog-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.blog-card-icon {
    font-size: 4rem;
    color: white;
    z-index: 1;
    position: relative;
    opacity: 0.9;
}

.blog-card-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    text-align: center;
    color: white;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-card-date .date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.blog-card-date .date-month {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.blog-read-more:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.blog-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-card);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.empty-state-icon {
    font-size: 5rem;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.blog-empty-state h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blog-empty-state p {
    color: var(--text-light);
}

/* Legacy blog styles for compatibility */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.2);
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.blog-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;
}

.blog-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-excerpt {
    color: var(--text-light);
    margin: 1rem 0;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    margin: 0;
}

/* Ensure all text in CTA section is white and visible */
.contact-cta h2,
.contact-cta p,
.contact-cta .cta-content h2,
.contact-cta .cta-content p,
.contact-cta .cta-link {
    color: white !important;
}

.contact-cta::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"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Page Header */
.page-header {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Detail */
.about-detail {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.experience-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.experience-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.contact-details h3,
.skills-section h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-details ul {
    list-style: none;
}

.contact-details li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

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

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
}

.service-card-large {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.service-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card-large i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.service-card-large p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.service-features i {
    color: #10b981;
    font-size: 1rem;
}

/* Projects Page - Modern Redesign */
.projects-page {
    padding: 4rem 0;
    background: var(--bg-dark);
}

/* Stats Section */
.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--secondary-color);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.stat-total {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-completed {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-progress {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--text-dark);
}

.stat-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Filter Section */
.projects-filter-wrapper {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.filter-title {
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 2rem;
    cursor: pointer;
    font-family: 'Chirp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    background: var(--bg-lighter);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* Modern Projects Grid */
.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card-modern {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-color);
}

.project-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.project-card-modern.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
}

.project-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.project-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.project-icon-modern {
    font-size: 3.5rem;
    color: white;
    z-index: 1;
    position: relative;
}

.project-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
    position: relative;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-status-badge.status-completed {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.5);
}

.project-status-badge.status-in-progress {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.project-card-body {
    padding: 2rem;
    flex: 1;
}

.project-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.project-card-body > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    background: var(--bg-card);
    padding: 0.4rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.tech-badge:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.project-card-footer {
    padding: 1.5rem 2rem;
    background: var(--bg-darker);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
}

.btn-action {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Chirp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-screenshots {
    background: var(--primary-color);
    color: white;
}

.btn-screenshots:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-github {
    background: #24292e;
    color: white;
}

.btn-github:hover {
    background: #1a1e22;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-demo {
    background: var(--secondary-color);
    color: white;
}

.btn-demo:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.no-projects-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.no-projects-modern i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-projects-modern h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-projects-modern p {
    color: var(--text-light);
}

/* Featured Showcase Section */
.featured-showcase {
    background: var(--bg-dark);
    padding: 5rem 0;
    margin-top: 2rem;
}

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

.featured-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.featured-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-medaya .featured-image {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.featured-clima .featured-image {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.featured-pharma .featured-image {
    background: linear-gradient(135deg, #10b981, #059669);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.featured-image i {
    font-size: 5rem;
    color: white;
    z-index: 1;
    position: relative;
    opacity: 0.9;
}

.featured-content {
    padding: 2rem;
}

.featured-badge-small {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.featured-content > p,
.featured-content .featured-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
}

.project-description p {
    margin-bottom: 0.5rem;
}

.project-description p:last-child {
    margin-bottom: 0;
}

.featured-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.featured-tech span {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.featured-actions {
    margin-top: 1.5rem;
}

/* Blog Single */
.back-link {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 1;
}

.single-post {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Comments */
.comments-section {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.comments-section h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.comment-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
}

.comment-form-wrapper h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: 'Chirp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--bg-card);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

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

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-text {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Contact Page */
.contact-page {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

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

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

/* Blog Form */
.blog-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.blog-form .form-group {
    margin-bottom: 1.5rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 0;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    opacity: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.no-projects,
.no-posts,
.no-comments {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        width: 100%;
        margin: 0;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 4rem 0;
        min-height: auto;
    }

    .contact-cta {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        border-top: 1px solid var(--border-color);
    }

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

    .nav-contact-icon {
        margin-left: 1rem;
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .code-animation {
        font-size: 8rem;
    }



    .languages-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .language-item {
        padding: 1.5rem 1rem;
    }

    .language-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
        margin: 0 auto;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .hero-profile-image {
        width: 200px;
        height: 200px;
    }

    .hero-service-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .service-preview-card {
        padding: 0;
    }

    .service-preview-image {
        height: 150px;
    }

    .service-preview-card span {
        font-size: 0.75rem;
        padding: 0.75rem;
    }

    .logo-image {
        height: 35px;
    }

    .founder-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        bottom: -8px;
        max-width: calc(100% + 20px);
    }

    .founder-badge span {
        font-size: 0.7rem;
    }

    .founder-badge i {
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

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

    .stat-card-modern {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .stat-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .stat-number-modern {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .about-wrapper {
        text-align: center;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .projects-stats {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-filter {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .project-card-footer {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
    }
    
    .blog-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .blog-card-image {
        height: 180px;
    }
    
    .blog-card-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }

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

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

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .logo-image {
        height: 35px;
    }

    .hero-service-showcase {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 0.75rem;
        min-width: auto;
        width: 100%;
        max-width: 280px;
    }

    .service-preview-card {
        padding: 0;
    }

    .service-preview-image {
        height: 120px;
    }

    .service-preview-card span {
        font-size: 0.7rem;
        padding: 0.75rem 0.5rem;
    }

    .languages-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .language-item {
        padding: 1.5rem 1rem;
    }

    .language-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .language-name {
        font-size: 0.9rem;
    }

    .founder-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }

    .founder-badge span {
        font-size: 0.65rem;
    }

    .founder-badge i {
        font-size: 0.8rem;
    }
}

/* Project Showcase Styles */
.project-showcase {
    padding: 4rem 0;
}

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

.project-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.project-description h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.project-description > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-features {
    text-align: left;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.project-features h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.project-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.screenshots-section {
    margin: 4rem 0;
}

.screenshots-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.screenshot-item {
    width: 100%;
}

.screenshot-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

.image-placeholder {
    text-align: center;
    color: white;
    opacity: 0.9;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-image:hover img {
    transform: scale(1.05);
}

.screenshot-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.screenshot-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.screenshot-info > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

.screenshot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.feature-tag {
    background: var(--bg-light);
    padding: 0.4rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.project-tech {
    margin: 4rem 0;
    text-align: center;
}

.project-tech h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    min-width: 120px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tech-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.project-cta {
    margin: 4rem 0;
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.project-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

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

/* Responsive adjustments for showcase */
@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .project-features ul {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        gap: 1rem;
    }

    .tech-item {
        min-width: 100px;
        padding: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Image Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 5vh;
    animation: zoomIn 0.3s ease;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.8);
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: auto;
    font-size: 1.2rem;
    font-family: 'Chirp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .modal-caption {
        font-size: 1rem;
        padding: 15px 0;
    }
}

/* ============================================
   Homepage Enhancements
   ============================================ */

/* Statistics Section */
.stats-section {
    padding: 5rem 0;
    background: var(--bg-dark);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card-modern {
    background: var(--bg-card);
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.stat-card-modern:hover::before {
    transform: scaleY(1);
}

.stat-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.3);
}

.stat-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.stat-card-modern:hover .stat-icon-wrapper::before {
    left: 100%;
}

.stat-icon-wrapper.stat-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.stat-icon-wrapper.stat-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.stat-icon-wrapper.stat-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35);
}

.stat-icon-wrapper.stat-icon-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}

.stat-card-modern:hover .stat-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.stat-content-modern {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.stat-number-modern {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    background-clip: text;
}

.stat-label-modern {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.stat-sublabel {
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-top: 0.2rem;
}

/* Services Showcase */
.services-showcase {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.service-card-enhanced {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-enhanced:hover::before {
    opacity: 1;
}

.service-card-enhanced:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-icon-enhanced {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
}

.service-card-enhanced:hover .service-icon-enhanced {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.service-card-enhanced h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.service-card-enhanced > p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.service-features-list {
    list-style: none;
    text-align: left;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-features-list li:last-child {
    margin-bottom: 0;
}

.service-features-list i {
    color: #10b981;
    font-size: 1rem;
}

/* Enhanced CTA Section */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: white;
}

.cta-content > p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cta-link i {
    font-size: 1.1rem;
}

/* Latest Blog Section Enhancement */
.latest-blog {
    background: var(--bg-dark);
    padding: 5rem 0;
}

/* Programming Languages Section */
.tech-languages-section {
    padding: 5rem 0;
    background: var(--bg-darker);
    position: relative;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.language-item {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    cursor: pointer;
    text-align: center;
}

.language-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.language-icon {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
}

.language-item:hover .language-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.language-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.tech-stack-section {
    margin-top: 2rem;
}

.tech-stack-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.tech-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.tech-icon-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

