/* ===== CSS Variables ===== */
/* Nebula Forge Palette - Cosmic Rose, Electric Mint & Golden Star */
:root {
    --primary: #E64980;
    --primary-light: #F06595;
    --primary-dark: #C2255C;
    --secondary: #38D9A9;
    --accent: #FFD43B;
    --dark: #0C0E14;
    --dark-light: #181C26;
    --gray-900: #1A1E2A;
    --gray-800: #252B3B;
    --gray-700: #3A4256;
    --gray-600: #515B73;
    --gray-500: #6B7690;
    --gray-400: #9AA3B8;
    --gray-300: #C5CBD9;
    --gray-200: #E1E5EC;
    --gray-100: #F3F5F8;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #E64980 0%, #38D9A9 50%, #FFD43B 100%);
    --gradient-glow: linear-gradient(135deg, rgba(230, 73, 128, 0.3) 0%, rgba(56, 217, 169, 0.3) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --glow-primary: 0 0 20px rgba(230, 73, 128, 0.4);
    --glow-secondary: 0 0 20px rgba(56, 217, 169, 0.4);
    --glow-accent: 0 0 20px rgba(255, 212, 59, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark);
    color: var(--gray-300);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(230, 73, 128, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 73, 128, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gray-600);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(12, 14, 20, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(230, 73, 128, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--gray-300);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(230, 73, 128, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(56, 217, 169, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-greeting {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.hero-name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--gray-300);
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-description {
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.elem-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(230, 73, 128, 0.4), rgba(56, 217, 169, 0.4));
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    box-shadow: 0 0 40px rgba(230, 73, 128, 0.3);
}

.elem-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(56, 217, 169, 0.4), rgba(255, 212, 59, 0.4));
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
    box-shadow: 0 0 30px rgba(56, 217, 169, 0.3);
}

.elem-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(240, 101, 149, 0.4), rgba(230, 73, 128, 0.4));
    top: 40%;
    left: 20%;
    animation-delay: 4s;
    box-shadow: 0 0 25px rgba(255, 212, 59, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.code-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dark-light);
    border: 1px solid var(--gray-700);
    border-radius: var(--border-radius);
    padding: 24px;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 0.9rem;
    box-shadow: var(--shadow-xl);
}

.code-line {
    display: block;
    margin-bottom: 4px;
}

.code-keyword {
    color: var(--primary);
}

.code-comment {
    color: var(--gray-500);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.85rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gray-500);
    border-bottom: 2px solid var(--gray-500);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== About Section ===== */
.about {
    background: var(--dark-light);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(230, 73, 128, 0.3);
}

.about-intro {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--gray-400);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ===== Projects Section ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--dark-light);
    border: 1px solid var(--gray-700);
    color: var(--gray-400);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--dark-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-700);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(230, 73, 128, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-800), var(--dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    width: 80px;
    height: 80px;
    color: var(--primary);
}

.project-placeholder svg {
    width: 100%;
    height: 100%;
}

.project-content {
    padding: 24px;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.project-description {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tech span {
    padding: 4px 12px;
    background: rgba(230, 73, 128, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    color: var(--primary);
    font-weight: 500;
}

.project-link:hover {
    color: var(--primary-light);
}

/* ===== Skills Section (Badge Style) ===== */
.skills {
    background: var(--dark-light);
}

.badges-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.badge-category {
    background: var(--dark);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-700);
    transition: var(--transition);
}

.badge-category:hover {
    border-color: rgba(230, 73, 128, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-category-title {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-category-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient);
    border-radius: 2px;
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

a.skill-badge {
    text-decoration: none;
}

/* Badge Card Styling - Clean Visible Design */
.skill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    transition: var(--transition);
    cursor: pointer;
}

.skill-badge:hover {
    transform: translateY(-4px) scale(1.05);
}

.skill-badge:focus {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 6px;
}

.skill-badge img {
    display: block;
    height: auto;
    max-height: 35px;
    width: auto;
    border-radius: 6px;
}

.skill-badge:hover img {
    filter: brightness(1.15) drop-shadow(0 4px 8px rgba(230, 73, 128, 0.3));
}

/* Certification Badge Style - For larger badges like Credly */
.skill-badge.certification-badge {
    padding: 20px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 2px solid var(--gray-700);
    border-radius: 16px;
    min-width: 140px;
    min-height: 140px;
}

.skill-badge.certification-badge:hover {
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(30, 41, 59, 1), rgba(15, 23, 42, 1));
    box-shadow: 0 16px 32px rgba(34, 211, 238, 0.15), 0 0 0 1px rgba(34, 211, 238, 0.1);
    transform: translateY(-8px) scale(1.02);
}

.skill-badge.certification-badge img {
    max-height: 100px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.skill-badge.certification-badge:hover img {
    filter: brightness(1.1) drop-shadow(0 6px 12px rgba(34, 211, 238, 0.25));
}

/* Badge Glow Effect */
.skill-badge.badge-glow {
    position: relative;
}

.skill-badge.badge-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
    filter: blur(16px);
    transform: scale(0.9);
}

.skill-badge.badge-glow:hover::after {
    opacity: 0.3;
    transform: scale(1.1);
}

/* Responsive badges */
@media (max-width: 768px) {
    .badges-grid {
        justify-content: center;
        gap: 16px;
    }
    
    .badge-category {
        text-align: center;
        padding: 24px;
    }
    
    .badge-category-title {
        justify-content: center;
    }
    
    .badge-category-title::before {
        display: none;
    }
    
    .skill-badge.certification-badge {
        min-width: 120px;
        min-height: 120px;
        padding: 16px;
    }
    
    .skill-badge.certification-badge img {
        max-height: 80px;
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .badge-category {
        padding: 20px 16px;
    }
    
    .badges-grid {
        gap: 12px;
    }
    
    .skill-badge img {
        max-height: 28px;
    }
    
    .skill-badge.certification-badge {
        min-width: 100px;
        min-height: 100px;
        padding: 12px;
    }
    
    .skill-badge.certification-badge img {
        max-height: 70px;
        max-width: 70px;
    }
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(230, 73, 128, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--dark-light);
    border: 1px solid var(--gray-700);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.social-link:hover svg {
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--dark-light);
    border: 1px solid var(--gray-700);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 73, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-light);
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--gray-700);
}

.footer p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-tagline {
    margin-top: 8px;
    color: var(--gray-500);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .section {
        padding: 80px 0;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }

    .image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 3rem;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 40px;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .container {
        padding: 0 16px;
    }

    .project-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* ===== Enhanced Project Cards ===== */
.project-learnings {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-700);
}

.project-learnings h4 {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-bottom: 8px;
}

.project-learnings ul {
    list-style: none;
    padding: 0;
}

.project-learnings li {
    position: relative;
    padding-left: 16px;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.project-learnings li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.project-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(230, 73, 128, 0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.project-link svg {
    width: 16px;
    height: 16px;
}

.project-link:hover {
    background: rgba(230, 73, 128, 0.2);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.project-link-demo {
    background: rgba(255, 212, 59, 0.1);
    color: var(--accent);
}

.project-link-demo:hover {
    background: rgba(255, 212, 59, 0.2);
    color: var(--secondary);
}

/* ===== Education Section ===== */
.education {
    background: var(--dark);
}

.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.education-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    background: var(--dark-light);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-700);
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(230, 73, 128, 0.1);
}

.education-current {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(230, 73, 128, 0.05), rgba(56, 217, 169, 0.05));
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.education-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-degree {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.education-institution {
    color: var(--gray-300);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.education-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.education-duration svg {
    color: var(--primary);
}

.education-gpa {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.education-courses {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-700);
}

.education-courses h4 {
    font-size: 0.95rem;
    color: var(--gray-300);
    margin-bottom: 12px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tags span {
    padding: 6px 14px;
    background: rgba(230, 73, 128, 0.1);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.course-tags span:hover {
    background: rgba(230, 73, 128, 0.2);
}

.certification-list {
    list-style: none;
    padding: 0;
}

.certification-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-700);
}

.certification-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.certification-list li strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.cert-issuer {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ===== Blog Section ===== */
.blog {
    background: var(--dark-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--dark);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-700);
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 73, 128, 0.15);
}

.blog-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--gray-800), var(--dark-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    width: 60px;
    height: 60px;
    color: var(--primary);
    opacity: 0.5;
}

.blog-placeholder svg {
    width: 100%;
    height: 100%;
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-read-time::before {
    content: '•';
    margin-right: 8px;
}

.blog-title {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-link:hover {
    color: var(--primary-light);
}

.blog-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Responsive Updates for New Sections ===== */
@media (max-width: 768px) {
    .education-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .education-icon {
        margin: 0 auto 16px;
    }

    .education-duration {
        justify-content: center;
    }

    .course-tags {
        justify-content: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .education-card {
        padding: 24px;
    }

    .education-degree {
        font-size: 1.2rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link {
        justify-content: center;
    }
}
