@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Premium Coffee Theme */
    --primary: #8B5A2B;
    --primary-dark: #DDB892;
    --primary-light: #DDB892;
    --accent: #B08968;
    --accent-hover: #7F5539;
    --bg-base: #FAF7F2;
    --bg-card: #FFFFFF;

    /* Legacy variables mapping for template backwards compatibility */
    --coffee-brown: var(--primary);
    --dark-coffee: var(--primary-dark);
    --latte: var(--primary-light);
    --cream: var(--bg-card);
    --ivory-white: var(--bg-base);
    --light-beige: #EDE0D4;
    --light-shadow: rgba(74, 44, 17, 0.04);
    --hover-shadow: rgba(74, 44, 17, 0.08);
    --gold-accent: var(--accent);
    --gold-hover: var(--accent-hover);

    /* Semantic Colors */
    --bg-base: var(--ivory-white);
    --bg-card: var(--cream);
    --text-primary: #2C1E14;
    --text-secondary: #6F5F56;
    --border-color: rgba(139, 90, 43, 0.08);

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* Background Watercolor Blobs */
body::before,
body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.35;
    z-index: -10;
    pointer-events: none;
}

body::before {
    background: radial-gradient(circle, var(--light-beige) 0%, transparent 70%);
    top: 5%;
    left: -200px;
}

body::after {
    background: radial-gradient(circle, var(--latte) 0%, transparent 70%);
    bottom: 10%;
    right: -200px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--dark-coffee);
    letter-spacing: 0.02em;
}

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

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1050;
    pointer-events: none;
}

.scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--latte), var(--coffee-brown));
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coffee-brown) 0%, var(--dark-coffee) 100%);
    color: var(--cream);
    box-shadow: 0 6px 20px rgba(139, 90, 43, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 90, 43, 0.25);
    background: linear-gradient(135deg, var(--dark-coffee) 0%, var(--coffee-brown) 100%);
}

.btn-primary i {
    transition: var(--transition-fast);
}

.btn-primary:hover i {
    transform: translate(2px, -2px);
}

.btn-secondary {
    background: transparent;
    color: var(--coffee-brown);
    border: 1.5px solid var(--coffee-brown);
}

.btn-secondary:hover {
    background: var(--light-beige);
    color: var(--dark-coffee);
    border-color: var(--dark-coffee);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--light-shadow);
}

/* Social Icons Banner */
.social-icons-list {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid var(--light-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-brown);
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    background: var(--coffee-brown);
    color: var(--cream);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px var(--light-shadow);
}

/* ==========================================================================
   GLASSMORPHISM BASE CLASS
   ========================================================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px var(--light-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--hover-shadow);
    border-color: rgba(139, 90, 43, 0.25);
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    background: rgba(250, 247, 242, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139, 90, 43, 0.12);
}

.navbar-header.scrolled {
    height: 60px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(139, 90, 43, 0.08);
    border-bottom: 1px solid rgba(139, 90, 43, 0.22);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--dark-coffee);
    letter-spacing: 0.03em;
}

.navbar-logo img,
.navbar-logo i {
    color: var(--coffee-brown);
    font-size: 1.6rem;
}

.navbar-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.navbar-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.navbar-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--coffee-brown);
    transition: var(--transition-fast);
}

.navbar-nav-link:hover,
.navbar-nav-link.active {
    color: var(--coffee-brown);
}

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

.navbar-cta-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background: var(--dark-coffee);
    color: var(--cream);
    font-weight: 500;
}

.navbar-cta-btn:hover {
    background: var(--coffee-brown);
    box-shadow: 0 4px 12px var(--light-shadow);
}

/* Mobile Toggle Hamburger */
.mobile-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-hamburger span {
    width: 100%;
    height: 2.5px;
    background-color: var(--dark-coffee);
    border-radius: 4px;
    transition: var(--transition-fast);
}

/* Hamburger Active States */
.mobile-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero-greeting {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--coffee-brown);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-name {
    font-size: 3.8rem;
    font-family: var(--font-heading);
    color: black;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.hero-profession-wrapper {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--coffee-brown);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 28px;
    background-color: var(--coffee-brown);
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {

    from,
    to {
        background-color: transparent
    }

    50% {
        background-color: var(--coffee-brown);
    }
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
}

.hero-btns-wrapper {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

/* Hero Right: Profile Art & blobs */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background blob element */
.hero-bg-blob {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background-color: var(--light-beige);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    z-index: 1;
    animation: morphing-blob 12s ease-in-out infinite alternate;
}

@keyframes morphing-blob {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    50% {
        border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
    }

    100% {
        border-radius: 45% 55% 40% 60% / 50% 50% 50% 50%;
    }
}

/* Profile image container */
.hero-profile-image-container {
    position: relative;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--cream);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.15);
    z-index: 2;
    animation: floating-img 6s ease-in-out infinite alternate;
}

.hero-profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes floating-img {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-12px) rotate(1deg);
    }
}

/* Dotted grid canvas background decoration */
.hero-dotted-grid {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--latte) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    z-index: 0;
    opacity: 0.6;
}

/* Handdrawn Branch illustration overlay */
.hero-leaf-illustration {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 140px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    transform: rotate(15deg);
    opacity: 0.95;
}

.hero-loop-svg {
    position: absolute;
    bottom: 20px;
    left: -40px;
    width: 80px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    opacity: 0.7;
}

.hero-floating-sphere {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-accent);
    top: 30%;
    right: -10px;
    z-index: 3;
    animation: float-sphere 8s ease-in-out infinite alternate;
}

@keyframes float-sphere {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-10px, -25px);
    }
}

/* ==========================================================================
   GENERIC SECTION HEADINGS
   ========================================================================== */
.section-wrapper {
    padding: 90px 0;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--coffee-brown);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--coffee-brown);
    border-radius: 50%;
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--dark-coffee);
    margin-bottom: 45px;
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-left {
    display: flex;
    gap: 24px;
}

.about-bio-icon-box {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background: var(--light-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-brown);
    font-size: 1.8rem;
}

.about-bio-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-bio-text p {
    margin-bottom: 16px;
}

.about-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.about-info-card {
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--light-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-brown);
    font-size: 1rem;
    margin-bottom: 4px;
}

.about-info-title {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.about-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-coffee);
    word-break: break-all;
}

/* ==========================================================================
   MY SKILLS SECTION
   ========================================================================== */
.skills-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 950px;
    margin: 0 auto;
}

.skill-badge-pill {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px var(--light-shadow);
    transition: var(--transition-smooth);
    cursor: default;
}

.skill-badge-pill:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 6px 20px var(--hover-shadow);
}

.skill-badge-icon {
    font-size: 1.25rem;
    color: var(--primary);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.skill-badge-pill:hover .skill-badge-icon {
    transform: scale(1.2) rotate(8deg);
    color: var(--accent);
}

.skill-badge-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   FEATURED PROJECTS SECTION
   ========================================================================== */
/* ==========================================================================
   FEATURED PROJECTS SECTION & ALL PROJECTS LIST
   ========================================================================== */
.projects-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
}

.projects-grid {
    display: grid;
    gap: 30px;
    width: 100%;
}

/* Desktop columns layout based on children count */
.projects-grid:has(> :last-child:nth-child(1)) {
    grid-template-columns: minmax(320px, 420px);
    justify-content: center;
}

.projects-grid:has(> :last-child:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(320px, 420px));
    justify-content: center;
}

.projects-grid:has(> :last-child:nth-child(n+3)) {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Premium Project Card Design */
.project-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 90, 43, 0.12);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 44, 17, 0.05);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(74, 44, 17, 0.12);
    border-color: rgba(139, 90, 43, 0.3);
}

/* 16:9 Aspect Ratio Image Container */
.project-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--light-beige);
    border-bottom: 1px solid rgba(139, 90, 43, 0.08);
}

.project-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumbnail-wrapper img {
    transform: scale(1.08);
}

/* Featured Badge */
.project-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.25);
    animation: featuredPulse 2s infinite alternate;
}

@keyframes featuredPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.03);
    }
}

/* Project Card Content */
.project-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 16px;
}

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

.project-category-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(139, 90, 43, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
}

.project-status-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: capitalize;
}

.project-status-badge.completed {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.project-status-badge.ongoing {
    background: rgba(255, 193, 7, 0.1);
    color: #b08000;
}

.project-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin: 0;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

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

.project-card-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Tech Badges */
.project-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tech-badge {
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--light-beige);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(139, 90, 43, 0.05);
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.tech-badge:hover {
    background: var(--primary);
    color: var(--bg-base);
    transform: translateY(-1px);
}

/* Project Card Footer */
.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(139, 90, 43, 0.08);
    padding-top: 20px;
    margin-top: auto;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary);
    transition: var(--transition-smooth);
}

.btn-view-details:hover {
    background: var(--primary);
    color: var(--bg-base);
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.15);
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.btn-view-details:hover i {
    transform: translateX(4px);
}

.project-action-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.project-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
    background: var(--light-beige);
    color: var(--primary);
}

.project-action-btn:hover {
    transform: scale(1.1);
}

.project-action-btn.github {
    background: rgba(44, 30, 20, 0.06);
    color: var(--text-primary);
}

.project-action-btn.github:hover {
    background: var(--text-primary);
    color: var(--bg-base);
}

.project-action-btn.live {
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    width: auto;
    padding: 0 14px;
    gap: 6px;
    background: rgba(176, 137, 104, 0.15);
    color: var(--accent-hover);
}

.project-action-btn.live:hover {
    background: var(--accent-hover);
    color: var(--bg-base);
}

/* Professional Empty State */
.projects-empty-state {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    border: 1px dashed var(--accent);
    border-radius: 20px;
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    grid-column: 1 / -1;
}

.empty-state-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px var(--light-shadow);
}

.projects-empty-state h3 {
    font-size: 1.5rem;
    color: var(--dark-coffee);
    font-family: var(--font-heading);
}

.projects-empty-state p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 380px;
}

/* Tablet columns layout overrides */
@media (max-width: 1024px) and (min-width: 481px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .projects-grid:has(> :last-child:nth-child(1)) {
        grid-template-columns: minmax(320px, 420px) !important;
    }
}

/* Mobile columns layout overrides */
@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   THREE-COLUMN DETAILS (EXPERIENCE, EDUCATION, CERTIFICATES)
   ========================================================================== */
.details-row-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr 1fr;
    gap: 40px;
    align-items: start;
}

.details-column {
    display: flex;
    flex-direction: column;
}

.details-column-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.details-column-title {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    color: var(--dark-coffee);
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-column-title::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--coffee-brown);
    border-radius: 50%;
}

.details-column-title-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--coffee-brown);
    margin-bottom: 4px;
}

.details-column-view-all {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--coffee-brown);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.details-column-view-all:hover {
    color: var(--dark-coffee);
}

.details-column-view-all i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.details-column-view-all:hover i {
    transform: translateX(2px);
}

/* Column 1: Vertical Timeline (Experience) */
.timeline-container {
    position: relative;
    padding-left: 32px;
    margin-top: 10px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 12px;
    bottom: 0;
    width: 2px;
    background-color: var(--light-beige);
}

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

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

.timeline-bullet {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--light-beige);
    border: 2px solid var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-brown);
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-bullet {
    background-color: var(--coffee-brown);
    color: var(--cream);
    transform: scale(1.1);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-role {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-company-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.timeline-company {
    color: var(--coffee-brown);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.timeline-date {
    color: var(--text-secondary);
    background-color: var(--light-beige);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 4px;
}

/* Column 2: Education Cards */
.education-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.education-card {
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
}

.education-icon-box {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--light-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-brown);
    font-size: 1.15rem;
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.education-degree {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.education-college {
    font-size: 0.95rem;
    color: var(--coffee-brown);
    font-weight: 500;
    font-style: italic;
    font-family: var(--font-heading);
}

.education-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.education-date {
    font-weight: 500;
}

.education-cgpa {
    font-weight: 600;
    background: rgba(197, 155, 118, 0.15);
    color: var(--coffee-brown);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Column 3: Certificates */
.certificates-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.certificate-card {
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

/* Mini Ribbon overlay */
.certificate-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--gold-accent);
    font-size: 1.1rem;
}

.certificate-icon-box {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--light-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-brown);
    font-size: 1.15rem;
}

.certificate-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.certificate-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 18px;
}

.certificate-organization {
    font-size: 0.95rem;
    color: var(--coffee-brown);
    font-weight: 500;
    font-style: italic;
    font-family: var(--font-heading);
}

.certificate-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.certificate-verify-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--coffee-brown);
}

.certificate-verify-btn:hover {
    color: var(--dark-coffee);
    text-decoration: underline;
}

/* ==========================================================================
   CONTACT CTA SECTION (COFFEE CUP BANNER)
   ========================================================================== */
.contact-cta-wrapper {
    padding: 40px 0;
}

.contact-cta-card {
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(243, 232, 221, 0.5) 100%);
    box-shadow: 0 10px 30px var(--light-shadow);
}

.contact-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--hover-shadow);
}

.contact-cta-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.contact-cta-ill {
    width: 120px;
    height: auto;
    animation: sway 4s ease-in-out infinite alternate;
}

@keyframes sway {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}

.contact-cta-text-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-cta-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: var(--dark-coffee);
}

.contact-cta-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
}

.contact-cta-btn {
    flex-shrink: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-wrapper {
    background-color: var(--cream);
    border-top: 1px solid var(--light-beige);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-coffee);
    letter-spacing: 0.03em;
}

.footer-logo i {
    color: var(--coffee-brown);
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 250px;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-coffee);
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--coffee-brown);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--coffee-brown);
    padding-left: 4px;
}

.footer-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--coffee-brown);
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
}

.footer-social-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--light-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-brown);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    background: var(--coffee-brown);
    color: var(--cream);
    transform: translateY(-2px);
}

/* Footer Illustrations background */
.footer-branch-illustration {
    position: absolute;
    bottom: 0px;
    right: -10px;
    width: 220px;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-10deg);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 90, 43, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--coffee-brown);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 15px rgba(139, 90, 43, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--dark-coffee);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139, 90, 43, 0.3);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Laptops / Smaller Desktops */
@media (max-width: 1024px) {
    .hero-name {
        font-size: 3.2rem;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-image-wrapper {
        width: 320px;
        height: 320px;
    }

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

    .about-grid {
        gap: 40px;
    }

    .details-row-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .details-column:nth-child(3) {
        grid-column: span 2;
    }

    .certificates-cards-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Tablets (Portrait) */
@media (max-width: 768px) {
    .navbar-header {
        height: 60px;
    }

    .navbar-menu-wrapper {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 35px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(139, 90, 43, 0.06);
    }

    .navbar-menu-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .navbar-nav-link {
        font-size: 1.15rem;
    }

    .mobile-hamburger {
        display: flex;
    }

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

    .hero-left {
        align-items: center;
    }

    .hero-name {
        font-size: 2.6rem;
    }

    .hero-tagline {
        margin: 0 auto;
    }

    .hero-right {
        order: -1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-badges-wrapper {
        gap: 12px;
    }

    .projects-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }

    .details-row-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .details-column:nth-child(3) {
        grid-column: span 1;
    }

    .certificates-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 24px;
    }

    .contact-cta-left {
        flex-direction: column;
        gap: 20px;
    }

    .contact-cta-title {
        font-size: 1.8rem;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-profession-wrapper {
        font-size: 1.35rem;
    }

    .hero-btns-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-btns-wrapper .btn {
        width: 100%;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

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

    .about-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   PROJECTS CMS REDESIGN - PORTFOLIO PRESENTATION STYLES
   ========================================================================== */

.project-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    transition: var(--transition-smooth);
}

.project-card-link:hover {
    transform: translateY(-6px);
}

/* Project Hero Section */
.project-hero {
    position: relative;
    padding: 60px 40px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--light-shadow);
    color: #FFFFFF !important;
    overflow: hidden;
    margin-bottom: 30px;
}

.project-hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.project-hero-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.project-hero-category {
    background: rgba(176, 137, 104, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    border-radius: var(--radius-full);
}

.project-hero-featured {
    background: rgba(139, 90, 43, 0.4);
    border: 1px solid var(--primary-dark);
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFD700;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
}

.project-hero-short-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 750px;
    line-height: 1.6;
}

/* Quick Actions buttons */
.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.project-hero-actions .hero-action-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.project-hero-actions .live-btn {
    background-color: var(--primary);
    color: #FFFFFF;
    border: 1px solid var(--primary);
}

.project-hero-actions .live-btn:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.project-hero-actions .github-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.project-hero-actions .github-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.project-hero-actions .doc-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.project-hero-actions .doc-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Two-column Main Grid */
.project-main-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 30px;
    align-items: start;
}

.project-content-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.project-section {
    padding: 30px;
}

.project-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}

.project-rich-content {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.project-rich-content p {
    margin-bottom: 20px;
}

.project-rich-content h1,
.project-rich-content h2,
.project-rich-content h3,
.project-rich-content h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.project-rich-content h2 {
    font-size: 1.4rem;
}

.project-rich-content h3 {
    font-size: 1.2rem;
}

.project-rich-content ul,
.project-rich-content ol {
    margin-bottom: 20px;
    padding-left: 0;
}

.project-rich-content li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 24px;
}

.project-rich-content ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 4px;
    top: -2px;
    font-size: 1.25rem;
}

.project-rich-content ol {
    counter-reset: my-counter;
}

.project-rich-content ol li::before {
    counter-increment: my-counter;
    content: counter(my-counter) ".";
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
    position: absolute;
    left: 4px;
    font-size: 0.95rem;
}

.project-rich-content a {
    color: var(--primary);
    text-decoration: underline;
}

.project-rich-content a:hover {
    color: var(--accent-hover);
}

.project-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.project-rich-content th,
.project-rich-content td {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.project-rich-content th {
    background-color: var(--light-beige);
    font-weight: 600;
}

.project-rich-content tr:nth-child(even) {
    background-color: rgba(139, 90, 43, 0.02);
}

.project-rich-content code {
    background-color: var(--light-beige);
    color: var(--text-primary);
    font-family: 'Courier New', Courier, monospace;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.project-rich-content pre {
    background-color: #2C1E14;
    color: #F8F5F2;
    padding: 16px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 20px 0;
}

.project-rich-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.9rem;
}

.project-rich-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 15px 0;
}

/* Sidebar Styling */
.project-content-right {
    position: sticky;
    top: 110px;
}

.project-sidebar-card {
    padding: 25px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tech-badge {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(74, 44, 17, 0.02);
}

.sidebar-tech-badge i {
    color: var(--primary);
    font-size: 0.8rem;
}

.metadata-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metadata-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.metadata-list li:last-child {
    border-bottom: none;
}

.meta-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-value {
    color: var(--text-primary);
    font-weight: 600;
}

.status-badge-inline {
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.status-badge-inline.completed {
    background-color: rgba(46, 117, 89, 0.1);
    color: #2E7559;
}

.status-badge-inline.ongoing {
    background-color: rgba(176, 137, 104, 0.1);
    color: var(--accent);
}

/* Gallery Styling */
.project-gallery-section {
    margin-top: 40px;
}

.gallery-section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 30, 20, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-hover-overlay i {
    color: #FFFFFF;
    font-size: 2rem;
    transform: scale(0.8);
    transition: var(--transition-fast);
}

.gallery-item-wrapper:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-item-wrapper:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-item-wrapper:hover .gallery-hover-overlay i {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 19, 13, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

/* Previous/Next navigation footer */
.project-navigation-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.project-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-nav-link {
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.project-nav-link:hover {
    background-color: var(--light-beige);
    border-color: var(--accent);
}

.project-nav-link.next-link {
    text-align: right;
    align-items: flex-end;
}

.project-nav-link.prev-link {
    text-align: left;
    align-items: flex-start;
}

.nav-direction {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.project-nav-link-disabled {
    padding: 24px;
    display: flex;
    flex-direction: column;
    opacity: 0.55;
    background-color: rgba(139, 90, 43, 0.01);
    border: 1px dashed var(--border-color);
}

.project-nav-link-disabled.next-link-disabled {
    text-align: right;
    align-items: flex-end;
}

.project-nav-link-disabled.prev-link-disabled {
    text-align: left;
    align-items: flex-start;
}

/* Related projects title */
.related-projects-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .project-main-grid {
        grid-template-columns: 1fr;
    }

    .project-content-right {
        position: static;
    }

    .project-hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .project-hero {
        padding: 40px 20px;
    }

    .project-hero-title {
        font-size: 1.8rem;
    }

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

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   SKILLS SECTION STYLING
   ========================================================================== */
.skills-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
    padding: 10px 0;
}

.skill-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.02);
    transition: var(--transition-smooth);
    cursor: default;
}

.skill-badge-pill:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(139, 90, 43, 0.25);
    box-shadow: 0 10px 20px rgba(139, 90, 43, 0.08);
}

.skill-badge-icon {
    font-size: 1.3rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.skill-badge-pill:hover .skill-badge-icon {
    transform: scale(1.2) rotate(8deg);
    color: var(--accent-hover);
}

.skill-badge-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

/* ==========================================================================
   HOMEPAGE THREE-COLUMN DETAILS SECTION
   ========================================================================== */
.details-row-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.details-column {
    display: flex;
    flex-direction: column;
}

.details-column-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.details-column-title-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
}

.details-column-title {
    font-size: 1.45rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.details-column-view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.details-column-view-all:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

/* Timeline: Work Experience */
.timeline-container {
    position: relative;
    padding-left: 20px;
    margin-left: 8px;
    border-left: 2.5px solid var(--border-color);
}

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

.timeline-bullet {
    position: absolute;
    left: -32.5px;
    /* Center it precisely over the line */
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
    z-index: 5;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-bullet {
    background: var(--primary);
    color: var(--cream);
    transform: scale(1.1);
}

.timeline-content {
    padding-left: 10px;
}

.timeline-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.timeline-company-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 3px;
    flex-wrap: wrap;
    gap: 4px;
}

.timeline-company {
    font-weight: 600;
    color: var(--accent-hover);
    font-style: italic;
    font-family: var(--font-heading);
}

.timeline-date {
    font-weight: 500;
    font-size: 0.8rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.45;
}

/* Education Cards Column */
.education-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.education-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    position: relative;
}

.education-card:hover {
    transform: translateY(-4px);
    background: #FFFFFF;
    border-color: rgba(139, 90, 43, 0.2);
    box-shadow: 0 10px 20px rgba(139, 90, 43, 0.05);
}

.education-icon-box {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(139, 90, 43, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.education-card:hover .education-icon-box {
    background: var(--primary);
    color: var(--cream);
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.education-degree {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.education-college {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-style: italic;
    font-family: var(--font-heading);
}

.education-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
}

/* Homepage Certificates Column */
.certificates-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.certificate-card {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-4px);
    background: #FFFFFF;
    border-color: rgba(139, 90, 43, 0.2);
    box-shadow: 0 10px 20px rgba(139, 90, 43, 0.05);
}

.certificate-ribbon {
    position: absolute;
    top: 0;
    right: 18px;
    width: 22px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 0 0 3px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 0.75rem;
    box-shadow: 0 2px 5px rgba(139, 90, 43, 0.12);
    z-index: 3;
}

.certificate-icon-box {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(139, 90, 43, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.certificate-card:hover .certificate-icon-box {
    background: var(--primary);
    color: var(--cream);
}

.certificate-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    padding-right: 15px;
    /* Leave space for ribbon */
}

.certificate-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.certificate-organization {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-style: italic;
    font-family: var(--font-heading);
}

.certificate-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.certificate-verify-btn {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: var(--transition-fast);
}

.certificate-verify-btn:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

/* ==========================================================================
   CERTIFICATES LISTING PAGE (HORIZONTAL / LANDSCAPE PREMIUM CARDS)
   ========================================================================== */
.certificates-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.certificate-page-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    padding: 24px;
}

.certificate-page-card:hover {
    transform: translateY(-6px);
    background: #FFFFFF;
    border-color: rgba(139, 90, 43, 0.25);
    box-shadow: 0 15px 30px rgba(139, 90, 43, 0.08);
}

.certificate-page-card-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cert-left-sec {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.05) 0%, rgba(176, 137, 104, 0.12) 100%);
    border: 1px solid rgba(139, 90, 43, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-page-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-icon-placeholder {
    font-size: 2.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-right-sec {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-org-badge {
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(139, 90, 43, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
}

.cert-date-badge {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cert-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.cert-id-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 6px 10px;
    background: rgba(139, 90, 43, 0.02);
    border-left: 3px solid var(--accent);
    border-radius: 0 4px 4px 0;
    font-family: monospace;
    font-weight: 500;
}

.cert-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.cert-action-btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    min-width: 100px;
    border: 1px solid transparent;
}

.mobile-bio {
    display: none;
}

.desktop-bio {
    display: block;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991px) {
    .details-row-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .certificates-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .mobile-bio {
        display: block;
    }

    .desktop-bio {
        display: none;
    }

    /* Short Footer for Mobile */
    .footer-wrapper {
        padding: 40px 0 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 24px !important;
    }

    .footer-column {
        gap: 12px !important;
    }

    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        display: none !important;
    }

    .footer-desc {
        display: none !important;
    }

    .skills-badges-wrapper {
        gap: 12px;
    }

    .skill-badge-pill {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .certificates-page-header .section-title {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 576px) {
    .certificate-page-card {
        padding: 16px;
    }

    .certificate-page-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .cert-left-sec {
        width: 70px;
        height: 70px;
    }

    .cert-header-info {
        justify-content: center;
    }

    .cert-actions-row {
        justify-content: center;
        width: 100%;
    }

    .cert-id-info {
        border-left: none;
        border-top: 3px solid var(--accent);
        border-radius: 0 0 4px 4px;
        text-align: center;
    }
}

/* ==========================================================================
   PROJECT HERO REDESIGN (SIDE-BY-SIDE LAYOUT)
   ========================================================================== */
.project-hero-container-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.project-hero-text-content {
    flex-grow: 1;
    flex-basis: 60%;
}

.project-hero-image-box {
    flex-shrink: 0;
    flex-basis: 35%;
    max-width: 400px;
    width: 100%;
}

.project-thumbnail-mockup {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    background: var(--bg-card);
    transition: var(--transition-smooth);
}

.project-thumbnail-mockup:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-light);
}

.project-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/10;
}

/* Responsive adjustments for Project Hero */
@media (max-width: 991px) {
    .project-hero-container-flex {
        flex-direction: column-reverse;
        gap: 30px;
        align-items: stretch;
    }

    .project-hero-image-box {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .project-thumbnail-mockup {
        max-width: 450px;
    }
}