/* ==========================================
   S.O.M.S. Analytics Portfolio
   Version 2.0
========================================== */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#0f172a;

    color:white;

    display:flex;

}

/* Scrollbar */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111827;

}

::-webkit-scrollbar-thumb{

    background:#c08457;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#d4a373;

}

/* ==========================================
SIDEBAR
========================================== */

.sidebar{

    width:260px;

    height:100vh;

    position:fixed;

    left:0;

    top:0;

    background:#111827;

    padding:45px 30px;

    border-right:1px solid rgba(255,255,255,.08);

}

.logo h1{

    font-size:34px;

    margin-bottom:10px;

}

.logo p{

    color:#c08457;

    line-height:1.6;

    margin-bottom:50px;

}

.sidebar nav{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.sidebar nav a{

    color:#cbd5e1;

    text-decoration:none;

    font-size:17px;

    transition:.30s;

}

.sidebar nav a:hover{

    color:#ffffff;

    transform:translateX(6px);

}

/* ==========================================
MAIN
========================================== */

main{

    margin-left:260px;

    width:calc(100% - 260px);

}

section{

    padding:90px 8%;

}

/* ==========================================
HERO
========================================== */

#hero{

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-text h3{

    color:#c08457;

    font-size:22px;

    margin-bottom:15px;

}

.hero-text h1{

    font-size:70px;

    margin-bottom:10px;

}

.hero-text h2{

    font-size:38px;

    color:#e2e8f0;

    line-height:1.4;

    margin-bottom:30px;

}

.hero-text p{

    max-width:720px;

    color:#94a3b8;

    line-height:1.9;

    font-size:18px;

    margin-bottom:45px;

}

.btn{

    display:inline-block;

    background:#c08457;

    color:white;

    padding:18px 40px;

    border-radius:12px;

    text-decoration:none;

    transition:.30s;

}

.btn:hover{

    background:#d4a373;

    transform:translateY(-3px);

}  

/* ==========================================
   ABOUT ME
========================================== */

#about h2{
    font-size:42px;
    margin-bottom:40px;
}

.about-box{

    width:100%;

    background:#1e293b;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}


/* ==========================================
   ABOUT HEADER IMAGE
========================================== */

.about-header{

    width:100%;

    background:#ffffff;

    overflow:hidden;
}

.about-header img{

    display:block;

    width:100%;

    height:auto;

    max-height:430px;

    object-fit:cover;

}


/* ==========================================
   ABOUT TEXT CONTENT
========================================== */

.about-content{

    width:100%;

    max-width:1200px;

    margin:0 auto;

    padding:50px 65px 55px;

    display:block;

}


/* NORMAL PARAGRAPHS */

.about-content p{

    display:block;

    width:100%;

    max-width:1100px;

    color:#cbd5e1;

    font-size:18px;

    line-height:1.9;

    margin:0 0 28px 0;

}


/* FIRST / INTRO PARAGRAPH */

.about-content .about-intro{

    display:block;

    width:100%;

    max-width:1100px;

    color:#f8fafc;

    font-size:21px;

    font-weight:500;

    line-height:1.8;

    margin:0 0 32px 0;

}


/* LAST PARAGRAPH */

.about-content p:last-child{

    margin-bottom:0;
}


/* ==========================================
   CERTIFICATIONS
========================================== */

#certifications h2{
    font-size:42px;
    margin-bottom:40px;
}

.certifications-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.certificate-card{
    background:#1e293b;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
}

.certificate-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.certificate-card img{
    width:100%;
    height:auto;
    display:block;
    cursor:pointer;
}

.certificate-info{
    padding:22px;
}

.certificate-info h3{
    font-size:1.15rem;
    margin-bottom:8px;
}

.certificate-info p{
    color:#cbd5e1;
    margin-bottom:5px;
}

.certificate-info span{
    color:#94a3b8;
    font-size:.9rem;
}

/* ===========================
   FEATURED PROJECTS
=========================== */

.projects-section{

    width:min(1400px,92%);
    margin:0 auto;
    padding:80px 0;

}

.section-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;

}

.section-header h2{

    font-size:2rem;
    margin-bottom:8px;

}

.section-header p{

    color:#9ca3af;

}

/* ===========================
   BUTTONS
=========================== */

.slider-controls{

    display:flex;
    gap:15px;

}

.slider-btn{

    width:52px;
    height:52px;

    border:none;
    border-radius:50%;

    background:#1f2937;
    color:white;

    cursor:pointer;

    font-size:22px;

    transition:.25s;

}

.slider-btn:hover{

    background:#d4a373;
    transform:scale(1.08);

}

/* ===========================
   SCROLLER
=========================== */

.project-slider{

    display:flex;

    gap:28px;

    overflow-x:auto;

    scroll-behavior:smooth;

    scroll-snap-type:x mandatory;

    scrollbar-width:none;

    -ms-overflow-style:none;

    padding-bottom:10px;

}

.project-slider::-webkit-scrollbar{

    display:none;

}

/* ===========================
   CARD
=========================== */

.project-card{

    flex:0 0 390px;

    background:#1f1f1f;

    border-radius:22px;

    overflow:hidden;

    scroll-snap-align:start;

    transition:.35s;

    border:1px solid rgba(255,255,255,.06);

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 45px rgba(0,0,0,.35);

}

.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

}

/* Video preview (used by capstone cards, e.g. Excel capstone) */
.project-card video{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

    background:#000;

}

/* Placeholder block for capstone projects with no media yet */
.project-placeholder{

    width:100%;

    height:220px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:46px;

    background:#161b28;

    color:#475569;

}

/* ===========================
   CONTENT
=========================== */

.project-body{

    padding:28px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* Row that holds the industry + status badges side by side */
.badges{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.industry{

    width:max-content;

    padding:6px 14px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:600;

    color:white;

}

/* badge colors */

.hospitality{background:#d4a373;}
.banking{background:#6f42c1;}
.healthcare{background:#0d6efd;}
.hr{background:#198754;}
.manufacturing{background:#fd7e14;}
.food{background:#dc3545;}
.finance{background:#20c997;}
.ecommerce{background:#e11d48;}

/* status badges for capstone project progress */

.status{

    width:max-content;

    padding:6px 14px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:600;

}

.status.completed{background:#198754;color:white;}
.status.ongoing{background:#eab308;color:#111827;}
.status.not-started{background:#374151;color:#cbd5e1;}

.project-body h3{

    font-size:1.45rem;

    margin:0;

}

.project-body p{

    color:#b8b8b8;

    line-height:1.7;

    min-height:90px;

}

.tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.tags span{

    background:#2d2d2d;

    padding:7px 14px;

    border-radius:999px;

    font-size:.82rem;

}

.project-body a{

    margin-top:auto;

    font-weight:700;

    color:#d4a373;

    text-decoration:none;

    transition:.3s;

}

.project-body a:hover{

    transform:translateX(8px);

}

/* Disabled link style for capstone projects not started yet */
.project-body a.disabled{

    color:#6b7280;

    cursor:not-allowed;

    pointer-events:none;

}

.project-body a.disabled:hover{

    transform:none;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1200px){

    .project-card{

        flex:0 0 340px;

    }

}

@media(max-width:768px){

    .section-header{

        flex-direction:column;
        align-items:flex-start;
        gap:20px;

    }

    .project-card{

        flex:0 0 90%;

    }

}

/* ==========================================
SKILLS
========================================== */

#skills h2{

    font-size:42px;

    margin-bottom:45px;

}

.skills{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

}

.skills span{

    background:#1e293b;

    padding:16px 28px;

    border-radius:40px;

    border:1px solid rgba(255,255,255,.08);

    transition:.30s;

}

.skills span:hover{

    background:#c08457;

    transform:translateY(-4px);

}

/* ==========================================
CONTACT
========================================== */

#contact{

    padding-bottom:120px;

}

#contact h2{

    font-size:42px;

    margin-bottom:30px;

}

#contact p{

    font-size:20px;

    margin-bottom:18px;

}

#contact a{

    color:#c08457;

    text-decoration:none;

}

#contact a:hover{

    text-decoration:underline;

}

/* ==========================================
FOOTER
========================================== */

footer{

    text-align:center;

    padding:50px;

    color:#94a3b8;

    border-top:1px solid rgba(255,255,255,.08);

}

/* ==========================================
RESPONSIVE
========================================== */

@media(max-width:900px){

.sidebar{

    position:relative;

    width:100%;

    height:auto;

}

main{

    margin-left:0;

    width:100%;

}

.hero-text h1{

    font-size:50px;

}

.hero-text h2{

    font-size:30px;

}

.projects-grid{

    grid-template-columns:1fr;

}

.skills{

    justify-content:center;

}

}

/* ==========================================
   ABOUT & CERTIFICATIONS RESPONSIVE
========================================== */

@media(max-width:900px){

    .about-content{

        width:100%;

        padding:40px 35px 45px;

    }

    .about-content p{

        width:100%;

        max-width:none;

        font-size:17px;

        line-height:1.8;

    }

    .about-content .about-intro{

        font-size:19px;

    }

    .certifications-grid{

        grid-template-columns:1fr;

    }

}
