/* ==========================================
   CSS Reset & Base variables
   ========================================== */
:root {
    /* Base HSL components for primary color #f0739d (approx. Hue 340, Saturation 81%, Lightness 70%) */
    --primary-h: 340;
    --primary-s: 81%;
    --primary-l: 70%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 58%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 80%);
    --primary-rgb: 240, 115, 157;
    
    /* Default Dark Theme variables */
    --bg-primary: #0a0d16;
    --bg-secondary: #111622;
    --text-primary: #f1f3f9;
    --text-secondary: #909bb2;
    --card-bg: rgba(17, 22, 34, 0.6);
    --card-border: rgba(240, 115, 157, 0.1);
    --card-hover-border: rgba(240, 115, 157, 0.3);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(10, 13, 22, 0.8);
    --scrollbar-bg: #111622;
    --scrollbar-thumb: rgba(240, 115, 157, 0.3);
    --blob-1-color: rgba(240, 115, 157, 0.15);
    --blob-2-color: rgba(99, 102, 241, 0.12); /* indigo accent for contrast */
    --blob-3-color: rgba(240, 115, 157, 0.1);
}



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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ==========================================
   Background Blobs
   ========================================== */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background-color: var(--blob-1-color);
}

.blob-2 {
    bottom: 10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background-color: var(--blob-2-color);
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    top: 40%;
    right: -5%;
    width: 300px;
    height: 300px;
    background-color: var(--blob-3-color);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, 30px) scale(1.1);
    }
    100% {
        transform: translate(-30px, -50px) scale(0.9);
    }
}

/* ==========================================
   Reusable UI Utilities
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.card-glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-5px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-lg);
}

.highlight-text {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    box-shadow: 0 8px 20px -5px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(var(--primary-rgb), 0.6);
}

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

.btn-secondary:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* ==========================================
   Header & Navbar
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
    padding: 20px 0;
}

.header.scrolled {
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.navbar {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    color: var(--text-secondary);
}

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

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

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

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



/* Hamburger for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
}

.hamburger .bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.welcome-tag {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.hero-content h1 {
    font-size: 54px;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 25px;
    height: 40px;
}

.typing-text {
    color: var(--primary);
    font-weight: 700;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary);
    animation: blink 0.7s infinite;
}

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

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

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

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px -3px rgba(var(--primary-rgb), 0.4);
}

/* Profile Card Graphic */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card-container {
    position: relative;
    width: 280px;
    height: 350px;
    transition: transform 0.5s ease;
}

.profile-card-container:hover {
    transform: translateY(-8px) rotate(1deg);
}

.profile-card-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    border-radius: 24px;
    z-index: 1;
    filter: blur(25px);
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

.profile-card-container:hover .profile-card-glow {
    opacity: 0.3;
}

.profile-card-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.avatar-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
    margin-bottom: 25px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fce7f3;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.profile-card-container:hover .avatar-container {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.6);
}

.placeholder-text {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.placeholder-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   About & Education Section
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.about-info h3, .about-education h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

.about-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-info p strong {
    color: var(--text-primary);
}

/* Timeline Layout */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: var(--card-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
}

.timeline-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-institution {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-details {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================
   Skills Section
   ========================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skills-card {
    display: flex;
    flex-direction: column;
}

.skills-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 12px;
}

.skills-header i {
    font-size: 24px;
    color: var(--primary);
}

.skills-header h3 {
    font-size: 20px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-size: 15px;
    font-weight: 500;
}

.skill-bar-bg {
    width: 100%;
    height: 8px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* Badges for currently learning */
.progress-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
}

.progress-tag.learning {
    background-color: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Future Automations Card Details */
.skills-text-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.future-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.skill-tag-glow {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.skill-tag-glow:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.skill-tag-glow i {
    color: var(--primary);
}

/* For Custom tags in details section */
.skill-tag {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    max-width: fit-content;
}

/* ==========================================
   Projects Section
   ========================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
    padding: 0; /* Override glass padding for sub-sections */
    overflow: hidden;
}

.project-img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(99, 102, 241, 0.05));
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary);
    transition: background 0.3s ease;
}

.project-card:hover .project-img-placeholder {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(99, 102, 241, 0.1));
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.project-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tags span {
    background-color: var(--bg-primary);
    border: 1px solid var(--card-border);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    align-items: center;
}

.project-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-links a:hover {
    color: var(--primary-dark);
}

.upcoming-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px dashed var(--card-border);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info-panel h3, .contact-form-panel h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-info-desc {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 15px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.contact-detail-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail-item p, .contact-detail-item a {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-detail-item a:hover {
    color: var(--primary);
}

/* Contact Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input, .form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
}

.form-group.invalid input, .form-group.invalid textarea {
    border-color: #ef4444;
}

.form-group .error-msg {
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    display: none;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ==========================================
   Footer Section
   ========================================== */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 30px 0;
    text-align: center;
    background-color: var(--bg-secondary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-design {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-design i {
    color: var(--primary);
    animation: heartbeat 1.5s infinite;
}

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

/* ==========================================
   Scroll Reveal States (Interactivity helper)
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Media Queries
   ========================================== */
@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0 60px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        align-items: center;
        order: 2;
    }
    
    .hero-image-container {
        order: 1;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-primary);
        border-right: 1px solid var(--card-border);
        border-bottom: 1px solid var(--card-border);
        width: 70%;
        height: calc(100vh - 80px);
        padding: 40px;
        gap: 25px;
        transition: left 0.4s ease;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
    }
    
    .navbar.active {
        left: 0;
    }
    
    /* Hamburger toggled animations */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content h2 {
        font-size: 24px;
        height: 30px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-card-container {
        width: 240px;
        height: 300px;
    }
    .avatar-container {
        width: 95px;
        height: 95px;
        margin-bottom: 15px;
        border-width: 2px;
    }
}

/* ==========================================
   Custom Scrollbar
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================
   Project Modal Popup (Glassmorphic)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 8, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 35px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary);
}

/* Modal details formatting */
.modal-title {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.modal-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin: 20px 0 10px 0;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-tags span {
    background-color: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.modal-list {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 15px;
}

.modal-list li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/* Code Snippet Styles */
.code-block-wrapper {
    background-color: #080b12;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 18px;
    overflow-x: auto;
    margin-bottom: 10px;
}

.code-block-wrapper pre {
    margin: 0;
}

.code-block-wrapper code {
    font-family: 'Consolas', 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.5;
}

/* Details button in project links */
.project-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.details-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.details-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.link-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* Pulse Dot for Hero */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-ring 1.8s infinite;
    vertical-align: middle;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
