
    /* ============ GLOBAL RESET & VARIABLES ============ */
:root {
    --primary: #0066ff;
    --secondary: #00d4ff;
    --dark: #0a0e27;
    --light: #f8f9fa;
    --success: #00c853;
    --error: #d32f2f;
    --overlay: rgba(10,14,39,0.6);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

    /* ============ INDEX - CONTAINER ============ */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* ============ INDEX - HERO SECTION ============ */
   

    .portfolio_current_hero-section {
    background: var(--gradient);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.portfolio_current_hero-title {
    /* font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px; */

    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio_current_hero-subtitle {
    /* font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6; */
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio_current_gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

    /* ============ INDEX - PORTFOLIO GRID ============ */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        grid-auto-rows: 220px;
        margin-bottom: 20px;
    }

    /* ============ INDEX - CARDS ============ */
    .project-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        transition: transform .2s;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
        height: 100%;
    }

    .project-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 102, 255, .2);
    }

    .project-image {
        width: calc(100% - 40px);
        height: 200px;
        background: var(--gradient);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 40px;
        margin: 20px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
    }

    .project-content {
        width: 100%;
    }

    .project-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--dark);
    }

    .category-chip {
        display: inline-block;
        background: var(--gradient);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 15px;
    }

    /* ============ INDEX - LARGE CARD ============ */
    .project-card.large {
        grid-row: span 2;
        grid-column: span 2;
        cursor: pointer;
    }

    .project-card.large .project-image {
        height: 400px;
    }

    .project-card.large .project-title {
        font-size: 22px;
    }

   


    /* ============ INDEX - SMALL CARD ============ */
.project-card.small {
    padding: 0;
    position: relative;
    cursor: pointer;
}

.project-card.small .project-image {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 12px;
    font-size: 0;
    transition: none;
}


.project-card.small .project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card.small .project-content {
    position: absolute;
    bottom: 0;
    text-align: left;
    z-index: 2;
    padding: 20px 12px 12px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* On hover: overlay disappears, text hides */
.project-card.small:hover .project-image::after {
    opacity: 0;
}

.project-card.small:hover .project-content {
    opacity: 0;
}
.project-card.small .project-title {
    color: white;
}
    /* ============ INDEX - FILTERS ============ */
    .filters {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 8px 20px;
        border: 1px solid #ddd;
        background: white;
        border-radius: 25px;
        cursor: pointer;
        font-size: 14px;
        transition: all .2s;
        color: var(--dark);
    }

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

    /* ============ INDEX - TAGS ============ */
    .project-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 6px;
        margin-top: 8px;
    }

    .project-tag {
        background: #f1f3f5;
        color: #333;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 12px;
        font-weight: 500;
    }

    /* ============ PROJECT DETAIL - CONTAINER ============ */
    .projectDetail_container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* ============ PROJECT DETAIL - BACK BUTTON ============ */
    .projectDetail_backBtn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 25px;
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        margin-bottom: 20px;
        cursor: pointer;
    }

    .projectDetail_backBtn:hover {
        background: var(--gradient);
        color: white;
        border-color: transparent;
    }

    /* ============ PROJECT DETAIL - LAYOUT ============ */
    .projectDetail_layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 30px;
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* ============ PROJECT DETAIL - LEFT SIDEBAR ============ */
    .projectDetail_left {
        border-right: 1px solid #eee;
        padding-right: 25px;
    }

    .projectDetail_sectionTitle {
        font-size: 14px;
        font-weight: 600;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .projectDetail_category {
        background: var(--gradient);
        color: white;
        padding: 10px 15px;
        border-radius: 8px;
        font-weight: 500;
        margin-bottom: 25px;
    }

    .projectDetail_metaItem {
        margin-bottom: 20px;
    }

    .projectDetail_metaLabel {
        font-size: 12px;
        color: #999;
        margin-bottom: 5px;
    }

    .projectDetail_metaValue {
        font-size: 14px;
        color: var(--dark);
        font-weight: 500;
    }

    .projectDetail_tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .projectDetail_tag {
        background: #f0f2f5;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        color: var(--dark);
    }

    /* ============ PROJECT DETAIL - RIGHT CONTENT ============ */
    .projectDetail_right {
        overflow: hidden;
    }

    .projectDetail_title {
        font-size: 32px;
        color: var(--dark);
        margin-bottom: 10px;
    }

    .projectDetail_shortDesc {
        font-size: 16px;
        color: #666;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .projectDetail_liveLink {
        display: inline-block;
        background: var(--gradient);
        color: white;
        padding: 10px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-size: 14px;
        margin-bottom: 30px;
    }
   


    /* ============ PROJECT DETAIL - IMAGE SLIDER ============ */

.projectDetail_sliderContainer {
    margin-bottom: 30px;
}

.projectDetail_sliderMain {
    width: 100%;
    height: 350px;  
    /* background: var(--gradient);
    background-color: black; */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
     background: transparent; 
     
}

.projectDetail_sliderImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;  /* Changed from cover to contain */
    display: block;
}

.projectDetail_sliderPlaceholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.projectDetail_sliderControls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.projectDetail_sliderDot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.projectDetail_sliderDot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
}

.projectDetail_sliderArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background: rgba(255, 255, 255, 0.8); */
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    /* color: var(--dark); */
    background: var(--gradient);
color: white;
    z-index: 10;
}

.projectDetail_sliderArrow.left { left: 0px; }
.projectDetail_sliderArrow.right { right: 0px; }

    /* ============ PROJECT DETAIL - SECTIONS ============ */
    .projectDetail_section {
        margin-bottom: 40px;
    }

    .projectDetail_heading {
        font-size: 22px;
        color: var(--dark);
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f0f0f0;
    }

    .projectDetail_description {
        line-height: 1.8;
        color: #444;
    }

    /* ============ PROJECT DETAIL - FEATURES ============ */
    .projectDetail_featuresGrid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .projectDetail_featureCard {
        background: #f8f9fa;
        padding: 25px 15px;
        border-radius: 10px;
        min-height: 140px;
        display: flex;
        align-items: center;
        text-align: center;
        font-size: 14px;
        border-left: 4px solid var(--primary);
    }

    /* ============ PROJECT DETAIL - ACHIEVEMENTS ============ */
    .projectDetail_achievementList {
        list-style: none;
    }

    .projectDetail_achievementItem {
        padding: 12px 15px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 8px;
        border-left: 4px solid #00c853;
    }

    /* ============ PROJECT DETAIL - TECH STACK ============ */
    .projectDetail_stackGrid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .projectDetail_stackItem {
        background: var(--gradient);
        color: white;
        padding: 8px 16px;
        border-radius: 25px;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .projectDetail_stackLogo {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    /* ============ INDEX - RESPONSIVE ============ */
    @media(max-width: 768px) {
        .portfolio-grid {
            grid-template-columns: repeat(2, 1fr);
        }

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

        .hero-subtitle {
            font-size: 1rem;
            padding: 0 20px;
        }
    }

    @media(max-width: 480px) {
        .portfolio-grid {
            grid-template-columns: 1fr;
        }

        .project-card.large {
            grid-row: span 1;
            grid-column: span 1;
            padding: 0;
            position: relative;
        }

        .project-card.large .project-image {
            width: 100%;
            height: 220px;
            margin: 0;
            border-radius: 12px;
            font-size: 0;
        }

        .project-card.large .project-content {
            position: absolute;
            bottom: 0;
            text-align: left;
            z-index: 2;
            padding: 20px 12px 12px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            width: 100%;
            border-radius: 0 0 12px 12px;
        }

        .project-card.large .project-title {
            color: white;
            font-size: 16px;
            margin-top: 5px;
        }

        .project-card.large .category-chip {
            margin-bottom: 4px;
            font-size: 11px;
            padding: 3px 10px;
        }

        .project-card.large .project-tags {
            display: none;
        }

        .hero-section {
            padding: 40px 15px;
        }

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

    /* ============ PROJECT DETAIL - RESPONSIVE ============ */
    @media(max-width: 768px) {
        .projectDetail_layout {
            grid-template-columns: 1fr;
        }

        .projectDetail_left {
            border-right: none;
            padding-right: 0;
        }
    }


/* ============ RESPONSIVE FOR MOBILE - slider ============ */
@media(max-width: 768px) {
    .projectDetail_sliderMain {
        height: 400px;  
    }
}

@media(max-width: 480px) {
    .projectDetail_sliderMain {
        height: 300px;  
    }
    
    .projectDetail_sliderArrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}
