/* ==========================================================
   PORTFOLIO V1.1
   Joshua David Gawat
   SEO Specialist & WordPress Developer
========================================================== */

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
    transition:background .35s ease,color .35s ease;

}

img{

    display:block;
    max-width:100%;

}

a{

    text-decoration:none;
    color:inherit;

}

button{

    border:none;
    background:none;
    cursor:pointer;
    font:inherit;

}

ul{

    list-style:none;

}

/* ==========================================================
   VARIABLES
========================================================== */

:root{

    --bg:#FAFAFA;
    --surface:#FFFFFF;

    --text:#111111;
    --text-light:#6B7280;

    --border:#E5E7EB;

    --accent:#10B981;
    --accent-dark:#059669;
    --accent-light:#D1FAE5;

    /* Consolidated soft-accent token: used everywhere a translucent
       emerald wash is needed (tags, pills, icon backgrounds).
       One source of truth instead of repeating the same rgba()
       across 6+ selectors. */
    --accent-soft:rgba(16,185,129,.08);

    --primary:#111111;
    --secondary:#FFFFFF;

    --shadow:
    0 15px 40px rgba(0,0,0,.06);

    --radius:20px;

    --transition:.35s ease;

    --container:1200px;

}

/* ==========================================================
   DARK MODE
========================================================== */

body.dark{

    --bg:#0B0B0B;

    --surface:#121212;

    --text:#F5F5F5;

    --text-light:#A3A3A3;

    --border:#262626;

    --primary:#FFFFFF;

    --secondary:#111111;

    --accent-soft:rgba(16,185,129,.12);

}

/* ==========================================================
   GLOBAL
========================================================== */

body{

    position:relative;

}

.container{

    width:min(92%,var(--container));

    margin:auto;

}

.section{

    padding:110px 0;

    position:relative;

    z-index:2;

}

/* Anchor targets land below the fixed header instead of
   tucking underneath it. */
section[id]{

    scroll-margin-top:96px;

}

.text-center{

    text-align:center;

}

.section-heading{

    max-width:760px;

    margin:0 auto 70px;

}

.section-heading span{

    display:inline-block;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:18px;

}

.section-heading h2{

    font-size:clamp(2rem,4vw,3rem);

    line-height:1.15;

    margin-bottom:22px;

}

.section-heading p{

    color:var(--text-light);

    font-size:1.05rem;

}

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5{

    line-height:1.2;
    font-weight:700;

}

p{

    color:var(--text-light);

}

strong{

    color:var(--text);

}

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

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:15px 28px;

    border-radius:999px;

    transition:var(--transition);

    font-weight:600;

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

body.dark .btn-primary{

    color:#111;

}

.btn-primary:hover{

    transform:translateY(-4px);

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

}

.btn-secondary{

    border:1px solid var(--border);

    background:var(--surface);

}

.btn-secondary:hover{

    border-color:var(--accent);

    color:var(--accent);

}

/* ==========================================================
   LOGO
========================================================== */

.logo{

    font-size:1.7rem;

    font-weight:800;

    letter-spacing:-1px;

}

.logo span{

    color:var(--accent);

}

/* ==========================================================
   SELECTION
========================================================== */

::selection{

    background:var(--accent);

    color:#fff;

}

/* ==========================================================
   HEADER
========================================================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(250,250,250,.75);

    border-bottom:1px solid transparent;

    transition:var(--transition);

}

body.dark header{

    background:rgba(11,11,11,.75);

}

header.scrolled{

    border-color:var(--border);

    box-shadow:0 12px 35px rgba(0,0,0,.05);

}

nav{

    height:80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/* ==========================================================
   NAVIGATION
========================================================== */

.nav-links{

    display:flex;

    align-items:center;

    gap:36px;

}

.nav-links a{

    position:relative;

    color:var(--text-light);

    font-weight:500;

    transition:var(--transition);

}

.nav-links a:hover{

    color:var(--text);

}

.nav-links a.active{

    color:var(--accent);

    font-weight:600;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:2px;

    border-radius:999px;

    background:var(--accent);

    transition:var(--transition);

}

.nav-links a:hover::after,
.nav-links a.active::after{

    width:100%;

}

/* ==========================================================
   NAV ACTIONS
========================================================== */

.nav-actions{

    display:flex;

    align-items:center;

    gap:14px;

}

.theme-toggle,
.mobile-menu-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    display:grid;

    place-items:center;

    background:var(--surface);

    border:1px solid var(--border);

    transition:var(--transition);

}

.theme-toggle:hover,
.mobile-menu-btn:hover{

    border-color:var(--accent);

    color:var(--accent);

}

.mobile-menu-btn{

    display:none;

}

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

.hero{

    padding-top:170px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    align-items:center;

    gap:70px;

}

.hero-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:999px;

    background:var(--accent-soft);

    color:var(--accent-dark);

    font-size:.85rem;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:28px;

}

body.dark .hero-tag{

    color:#34D399;

}

.hero h1{

    font-size:clamp(3rem,6vw,4.8rem);

    line-height:1.05;

    margin-bottom:28px;

    letter-spacing:-2px;

}

.hero h1 span{

    color:var(--accent);

}

.hero-description{

    max-width:620px;

    font-size:1.1rem;

    margin-bottom:38px;

}

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

}

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

.hero-image{

    position:relative;

}

.hero-image img{

    width:100%;

    border-radius:28px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

}

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

.stats-grid{

    margin-top:90px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

}

.stat-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:24px;

    padding:30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-number{

    font-size:2.8rem;

    color:var(--accent);

    margin-bottom:10px;

    font-weight:800;

}

.stat-card h3{

    font-size:2.3rem;

    margin-bottom:10px;

}

.stat-card p{

    font-size:.95rem;

    color:var(--text-light);

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--bg);

}

::-webkit-scrollbar-thumb{

    background:var(--accent);

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--accent-dark);

}

/* ==========================================================
   RESULTS
========================================================== */

.results{

    position:relative;

}

.results-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:28px;

}

.result-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:24px;

    padding:32px;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.result-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

}

.result-card.featured{

    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent-dark)
    );

    color:#fff;

}

.result-card.featured h3,
.result-card.featured p,
.result-card.featured .result-label{

    color:#fff;

}

.result-card.award{

    border:2px solid var(--accent);

}

.result-label{

    display:inline-block;

    font-size:.8rem;

    text-transform:uppercase;

    letter-spacing:1px;

    color:var(--accent);

    font-weight:700;

    margin-bottom:18px;

}

.result-card h3{

    font-size:2rem;

    margin-bottom:16px;

}

.result-card p{

    font-size:.95rem;

}

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

.about-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:60px;

    align-items:start;

}

.about-content h3{

    font-size:2rem;

    margin-bottom:20px;

}

.about-content p{

    margin-bottom:20px;

    font-size:1rem;

}

/* ==========================================================
   ABOUT HIGHLIGHTS
========================================================== */

.about-highlights{

    margin-top:40px;

    display:grid;

    gap:24px;

}

.highlight-card{

    display:flex;

    gap:20px;

    align-items:flex-start;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:20px;

    padding:24px;

    transition:var(--transition);

}

.highlight-card:hover{

    transform:translateY(-6px);

    border-color:var(--accent);

}

.highlight-card i{

    width:56px;

    height:56px;

    border-radius:16px;

    display:grid;

    place-items:center;

    font-size:1.35rem;

    background:var(--accent-soft);

    color:var(--accent-dark);

    flex-shrink:0;

}

body.dark .highlight-card i{

    color:#34D399;

}

.highlight-card h4{

    margin-bottom:10px;

    font-size:1.15rem;

}

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

.info-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:24px;

    padding:34px;

    position:sticky;

    top:120px;

    box-shadow:var(--shadow);

}

.info-card h3{

    margin-bottom:28px;

}

.info-card ul{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.info-card li{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:16px;

    padding-bottom:16px;

    border-bottom:1px solid var(--border);

}

.info-card li:last-child{

    border-bottom:none;

    padding-bottom:0;

}

.info-card strong{

    font-weight:600;

}

.info-card span{

    color:var(--text-light);

    text-align:right;

}

/* ==========================================================
   EXPERIENCE
========================================================== */

.experience{

    position:relative;

}

.timeline{

    position:relative;

    max-width:950px;

    margin:0 auto;

    padding-left:50px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:16px;

    top:0;

    width:3px;

    height:100%;

    background:linear-gradient(
        to bottom,
        var(--accent),
        rgba(16,185,129,.15)
    );

}

/* ==========================================================
   TIMELINE ITEM
========================================================== */

.timeline-item{

    position:relative;

    margin-bottom:70px;

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-dot{

    position:absolute;

    left:-44px;

    top:42px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:var(--accent);

    border:4px solid var(--surface);

    box-shadow:
        0 0 0 6px rgba(16,185,129,.12),
        0 8px 24px rgba(16,185,129,.35);

    z-index:5;

}

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

.timeline-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:28px;

    padding:36px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.timeline-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

    box-shadow:
        0 20px 50px rgba(0,0,0,.08);

}

/* ==========================================================
   HEADER
========================================================== */

.timeline-header{

    display:flex;

    align-items:center;

    gap:24px;

    margin-bottom:28px;

}

.company-logo{

    width:90px;

    height:90px;

    border-radius:22px;

    /* Hardcoded white, not var(--surface) — these logos (Data2Stats,
       Rypaci) assume a light backing and disappear against the
       near-black dark-mode surface otherwise. */
    background:#fff;

    border:1px solid var(--border);

    display:flex;

    align-items:center;

    justify-content:center;

    padding:14px;

    flex-shrink:0;

    box-shadow:
        0 10px 25px rgba(0,0,0,.05);

}

.company-logo img{

    width:100%;

    height:100%;

    object-fit:contain;

}

.timeline-date{

    display:inline-block;

    color:var(--accent);

    font-weight:700;

    font-size:.9rem;

    letter-spacing:1px;

    margin-bottom:10px;

    text-transform:uppercase;

}

.timeline-header h3{

    font-size:1.55rem;

    margin-bottom:8px;

}

.timeline-header h4{

    color:var(--text-light);

    font-weight:500;

}

/* ==========================================================
   TIMELINE DESCRIPTION
========================================================== */

.timeline-card > p{

    margin-bottom:28px;

    font-size:1rem;

}

/* ==========================================================
   TECHNOLOGY TAGS
========================================================== */

.timeline-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:30px;

}

.timeline-tags span{

    padding:10px 18px;

    border-radius:999px;

    background:var(--accent-soft);

    color:var(--accent-dark);

    font-size:.82rem;

    font-weight:600;

}

body.dark .timeline-tags span{

    color:#34D399;

}

/* ==========================================================
   ACHIEVEMENTS
========================================================== */

.timeline-achievements{

    border-top:1px solid var(--border);

    padding-top:28px;

}

.timeline-achievements h5{

    margin-bottom:18px;

    font-size:1rem;

}

.timeline-achievements ul{

    display:grid;

    gap:16px;

}

.timeline-achievements li{

    display:flex;

    align-items:flex-start;

    gap:14px;

    color:var(--text-light);

    line-height:1.7;

}

.timeline-achievements li::before{

    content:"✓";

    width:24px;

    height:24px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--accent);

    color:#fff;

    font-size:.75rem;

    font-weight:700;

    flex-shrink:0;

    margin-top:2px;

}

.timeline-achievements strong{

    color:var(--text);

}

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

.projects{

    position:relative;

}

.projects-grid{

    display:grid;

    gap:40px;

}

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

.project-card{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

    align-items:center;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:30px;

    padding:34px;

    box-shadow:var(--shadow);

    transition:var(--transition);

    overflow:hidden;

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent);

    box-shadow:
        0 25px 55px rgba(0,0,0,.08);

}

/* Alternate layout */

.project-card:nth-child(even){

    direction:rtl;

}

.project-card:nth-child(even) > *{

    direction:ltr;

}

/* ==========================================================
   PROJECT IMAGE
========================================================== */

.project-image{

    position:relative;

    border-radius:22px;

    overflow:hidden;

    background:#f4f4f4;

}

.project-image img{

    width:100%;

    display:block;

    transition:transform .45s ease;

}

.project-card:hover .project-image img{

    transform:scale(1.03);

}

/* ==========================================================
   PROJECT BADGE
========================================================== */

.project-badge{

    position:absolute;

    top:18px;

    right:18px;

    background:var(--accent);

    color:#fff;

    padding:10px 18px;

    border-radius:999px;

    font-size:.9rem;

    font-weight:700;

    box-shadow:
        0 12px 30px rgba(16,185,129,.35);

}

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

.project-content{

    display:flex;

    flex-direction:column;

}

.project-category{

    display:inline-flex;

    align-self:flex-start;

    padding:8px 16px;

    border-radius:999px;

    background:var(--accent-soft);

    color:var(--accent-dark);

    font-size:.8rem;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:18px;

}

body.dark .project-category{

    color:#34D399;

}

.project-content h3{

    font-size:2rem;

    margin-bottom:18px;

}

.project-content > p{

    margin-bottom:28px;

    font-size:1rem;

}

/* ==========================================================
   PROJECT INFORMATION
========================================================== */

.project-info{

    display:grid;

    gap:18px;

    margin-bottom:28px;

}

.project-info div{

    padding:20px;

    border-radius:18px;

    background:rgba(16,185,129,.05);

    border:1px solid rgba(16,185,129,.12);

}

body.dark .project-info div{

    background:rgba(16,185,129,.08);

}

.project-info strong{

    display:block;

    margin-bottom:8px;

    color:var(--accent);

}

/* ==========================================================
   TOOL CHIPS
========================================================== */

.tools{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.tools span{

    padding:10px 16px;

    border-radius:999px;

    background:var(--surface);

    border:1px solid var(--border);

    font-size:.82rem;

    font-weight:600;

    transition:var(--transition);

}

.tools span:hover{

    border-color:var(--accent);

    color:var(--accent);

}

/* ==========================================================
   PROJECT ANIMATIONS
========================================================== */

.project-card:hover .project-badge{

    transform:scale(1.05);

}

.project-card:hover .project-category{

    transform:translateX(4px);

}

/* ==========================================================
   CLIENT WEBSITES
========================================================== */

.clients-heading{

    max-width:760px;

    margin:100px auto 50px;

    text-align:center;

}

.clients-heading span{

    display:inline-block;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:14px;

}

.clients-heading h3{

    font-size:clamp(1.6rem,3vw,2.2rem);

    margin-bottom:14px;

}

.clients-heading p{

    color:var(--text-light);

}

.clients-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:32px;

}

.client-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:26px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

    display:flex;

    flex-direction:column;

}

.client-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

}

.client-image{

    aspect-ratio:16/10;

    overflow:hidden;

    background:#f4f4f4;

}

.client-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:top;

    transition:transform .45s ease;

}

.client-card:hover .client-image img{

    transform:scale(1.04);

}

.client-content{

    padding:26px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.client-logos{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:16px;

    height:32px;

}

.client-logos img{

    max-height:32px;

    width:auto;

    object-fit:contain;

    /* Brand logos assume a light background — force one so they
       stay visible in dark mode instead of blending into the
       dark card surface behind them. */
    background:#fff;

    padding:4px 8px;

    border-radius:8px;

}

.client-content h4{

    font-size:1.2rem;

    margin-bottom:12px;

}

.client-content > p{

    font-size:.92rem;

    margin-bottom:20px;

}

.client-content > p em{

    color:var(--text-light);

    font-style:italic;

}

.client-links{

    display:flex;

    flex-direction:column;

    gap:10px;

    margin-top:auto;

}

.client-links a{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    padding:12px 16px;

    border-radius:14px;

    background:var(--accent-soft);

    color:var(--accent-dark);

    font-size:.85rem;

    font-weight:600;

    transition:var(--transition);

}

body.dark .client-links a{

    color:#34D399;

}

.client-links a:hover{

    background:var(--accent);

    color:#fff;

}

.client-links a i{

    font-size:.75rem;

    opacity:.7;

}

/* ==========================================================
   LIVE DASHBOARD EMBED
========================================================== */

.project-image-embed{

    background:#f4f4f4;

}

.dashboard-embed{

    width:100%;

    height:420px;

    border:0;

    display:block;

}

/* ==========================================================
   BLOG CARD
   Compact, horizontal, capped width — NOT a full-bleed hero
   image. Falls back to stacked layout on narrow screens.
========================================================== */

.blog-card{

    display:flex;

    max-width:820px;

    margin:0 auto;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:26px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.blog-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

}

.blog-card-image{

    flex:0 0 280px;

    background:#f4f4f4;

}

.blog-card-image img{

    width:100%;

    height:100%;

    min-height:220px;

    object-fit:cover;

    display:block;

}

.blog-card-content{

    flex:1;

    padding:28px 32px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.blog-meta{

    display:inline-block;

    color:var(--accent);

    font-size:.78rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

    margin-bottom:10px;

}

.blog-card-content h4{

    font-size:1.15rem;

    margin-bottom:12px;

    line-height:1.35;

}

.blog-card-content p{

    font-size:.9rem;

    margin-bottom:18px;

}

.blog-link{

    display:inline-flex;

    align-items:center;

    gap:8px;

    align-self:flex-start;

    padding:10px 18px;

    border-radius:999px;

    background:var(--accent-soft);

    color:var(--accent-dark);

    font-size:.85rem;

    font-weight:600;

    transition:var(--transition);

}

body.dark .blog-link{

    color:#34D399;

}

.blog-link:hover{

    background:var(--accent);

    color:#fff;

}

/* ==========================================================
   VIDEO & CREATIVE WORK
   Fixed 2-column row on tablet/desktop — NOT auto-fit, so it
   can't silently collapse to a narrow single column and shrink
   to iframe default size the way it did before.
========================================================== */

.videos-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:28px;

    max-width:820px;

    margin:0 auto;

}

.video-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:22px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.video-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

}

.video-embed{

    position:relative;

    width:100%;

    aspect-ratio:16/9;

    background:#000;

}

.video-embed iframe{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    border:0;

    display:block;

}

.clients-note{

    margin-top:40px;

    text-align:center;

    font-size:.92rem;

    color:var(--text-light);

}

.clients-note a{

    color:var(--accent);

    font-weight:600;

}

.clients-note a:hover{

    text-decoration:underline;

}

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

.skills{

    position:relative;

}

.skills-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:28px;

}

.skill-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:24px;

    padding:36px 30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.skill-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent);

}

.skill-card i{

    width:72px;

    height:72px;

    margin:0 auto 24px;

    display:grid;

    place-items:center;

    border-radius:20px;

    background:var(--accent-soft);

    color:var(--accent-dark);

    font-size:1.9rem;

}

body.dark .skill-card i{

    color:#34D399;

}

.skill-card h3{

    margin-bottom:16px;

    font-size:1.3rem;

}

.skill-card p{

    font-size:.96rem;

    color:var(--text-light);

}

/* ==========================================================
   RECOGNITION
========================================================== */

.recognition{

    position:relative;

}

.recognition-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:32px;

}

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

.certificate-card{

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:28px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.certificate-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent);

}

.certificate-card img{

    width:100%;

    aspect-ratio:16/10;

    object-fit:cover;

    transition:transform .45s ease;

}

.certificate-card:hover img{

    transform:scale(1.04);

}

.certificate-content{

    padding:28px;

}

.certificate-content h3{

    font-size:1.35rem;

    margin-bottom:14px;

}

.certificate-content p{

    color:var(--text-light);

    line-height:1.7;

}

/* ==========================================================
   AWARD EMPHASIS
========================================================== */

.certificate-card:first-child{

    border:2px solid var(--accent);

}

.certificate-card:first-child .certificate-content h3{

    color:var(--accent);

}

/* ==========================================================
   IMAGE FRAME
========================================================== */

.certificate-card img{

    background:#f5f5f5;

}

body.dark .certificate-card img{

    background:#1d1d1d;

}

/* ==========================================================
   RESUME
========================================================== */

.resume{

    position:relative;

}

.resume-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

}

.resume-preview{

    overflow:hidden;

    border-radius:28px;

    border:1px solid var(--border);

    background:var(--surface);

    box-shadow:var(--shadow);

}

.resume-preview img{

    width:100%;

    display:block;

    transition:transform .4s ease;

}

.resume-preview:hover img{

    transform:scale(1.02);

}

.resume-content h3{

    font-size:2rem;

    margin-bottom:20px;

}

.resume-content>p{

    margin-bottom:28px;

}

.resume-content ul{

    display:grid;

    gap:18px;

    margin-bottom:36px;

}

.resume-content li{

    display:flex;

    align-items:center;

    gap:14px;

    color:var(--text-light);

}

.resume-content li i{

    color:var(--accent);

    font-size:1.1rem;

}

.resume-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

}

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

.contact{

    position:relative;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:start;

}

.contact-info{

    display:grid;

    gap:22px;

}

.contact-item{

    display:flex;

    align-items:flex-start;

    gap:20px;

    padding:28px;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:22px;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.contact-item:hover{

    transform:translateY(-6px);

    border-color:var(--accent);

}

.contact-item i{

    width:60px;

    height:60px;

    display:grid;

    place-items:center;

    border-radius:18px;

    background:var(--accent-soft);

    color:var(--accent-dark);

    font-size:1.35rem;

    flex-shrink:0;

}

body.dark .contact-item i{

    color:#34D399;

}

.contact-item h4{

    margin-bottom:8px;

}

.contact-item a{

    color:var(--text-light);

    transition:var(--transition);

}

.contact-item a:hover{

    color:var(--accent);

}

/* ==========================================================
   CONTACT CTA CARD
========================================================== */

.contact-card{

    padding:42px;

    border-radius:28px;

    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent-dark)
    );

    color:#fff;

    box-shadow:
        0 25px 50px rgba(16,185,129,.28);

}

.contact-card h3{

    font-size:2rem;

    margin-bottom:18px;

}

.contact-card p{

    color:rgba(255,255,255,.92);

    margin-bottom:34px;

}

.contact-card .btn{

    background:#fff;

    color:var(--accent-dark);

}

.contact-card .btn:hover{

    transform:translateY(-4px);

}

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

footer{

    padding:40px 0;

    border-top:1px solid var(--border);

    margin-top:80px;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    flex-wrap:wrap;

}

.footer-content p{

    color:var(--text-light);

}

.footer-socials{

    display:flex;

    gap:16px;

}

.footer-socials a{

    width:48px;

    height:48px;

    display:grid;

    place-items:center;

    border-radius:50%;

    border:1px solid var(--border);

    background:var(--surface);

    transition:var(--transition);

}

.footer-socials a:hover{

    transform:translateY(-5px);

    border-color:var(--accent);

    color:var(--accent);

}

/* ==========================================================
   BACK TO TOP
========================================================== */

#backToTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:54px;

    height:54px;

    display:grid;

    place-items:center;

    border-radius:50%;

    background:var(--accent);

    color:#fff;

    border:none;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:var(--transition);

    z-index:999;

    box-shadow:
        0 15px 35px rgba(16,185,129,.35);

}

#backToTop.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

#backToTop:hover{

    transform:translateY(-5px);

}

/* ==========================================================
   LOADER
========================================================== */

#loader{

    position:fixed;

    inset:0;

    background:var(--bg);

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:9999;

    transition:opacity .6s ease,
               visibility .6s ease;

}

#loader.hidden{

    opacity:0;

    visibility:hidden;

}

.loader-content{

    text-align:center;

}

.loader-logo{

    width:90px;

    height:90px;

    margin:0 auto 24px;

    display:grid;

    place-items:center;

    border-radius:24px;

    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent-dark)
    );

    color:#fff;

    font-size:2rem;

    font-weight:800;

    box-shadow:
        0 20px 45px rgba(16,185,129,.35);

}

.loader-content h2{

    margin-bottom:10px;

}

.loader-content p{

    margin-bottom:28px;

}

.loader-line{

    width:240px;

    height:6px;

    margin:auto;

    border-radius:999px;

    overflow:hidden;

    background:var(--border);

}

.loader-line span{

    display:block;

    width:40%;

    height:100%;

    background:var(--accent);

    animation:loaderSlide 1.2s infinite ease-in-out;

}

/* ==========================================================
   PREMIUM BACKGROUND
========================================================== */

.background-grid{

    position:fixed;

    inset:0;

    pointer-events:none;

    z-index:-3;

    opacity:.25;

    background-image:

        linear-gradient(var(--border) 1px, transparent 1px),

        linear-gradient(90deg,var(--border) 1px,transparent 1px);

    background-size:40px 40px;

}

.gradient-orb{

    position:fixed;

    border-radius:50%;

    filter:blur(120px);

    pointer-events:none;

    opacity:.45;

    z-index:-2;

}

.orb-1{

    width:420px;

    height:420px;

    top:-140px;

    left:-120px;

    background:#10B981;

}

.orb-2{

    width:380px;

    height:380px;

    right:-120px;

    bottom:-120px;

    background:#3B82F6;

}

/* ==========================================================
   MOUSE GLOW
========================================================== */

.mouse-glow{

    position:fixed;

    width:260px;

    height:260px;

    border-radius:50%;

    background:radial-gradient(

        rgba(16,185,129,.18),

        transparent 70%

    );

    transform:translate(-50%,-50%);

    pointer-events:none;

    z-index:-1;

    transition:

        left .12s ease-out,

        top .12s ease-out;

}

/* ==========================================================
   REVEAL ANIMATION
========================================================== */

.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:

        opacity .8s ease,

        transform .8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

.delay-1{

    transition-delay:.15s;

}

.delay-2{

    transition-delay:.3s;

}

.delay-3{

    transition-delay:.45s;

}

/* ==========================================================
   UTILITIES
========================================================== */

.hidden{

    display:none !important;

}

.shadow{

    box-shadow:var(--shadow);

}

.rounded{

    border-radius:var(--radius);

}

.w-100{

    width:100%;

}

.mb-0{

    margin-bottom:0 !important;

}

.mt-2{

    margin-top:20px;

}

.mt-3{

    margin-top:30px;

}

.mt-4{

    margin-top:40px;

}

/* ==========================================================
   KEYFRAMES
========================================================== */

@keyframes loaderSlide{

    0%{

        transform:translateX(-120%);

    }

    100%{

        transform:translateX(350%);

    }

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.05);

    }

    100%{

        transform:scale(1);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   LIGHTBOX
   Click-to-enlarge for images that are hard to read at card
   size (certificates, screenshots, charts, resume preview).
========================================================== */

.lightbox-img{

    cursor:zoom-in;

}

#lightbox-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.88);

    display:flex;

    align-items:center;

    justify-content:center;

    padding:50px;

    z-index:10000;

    opacity:0;

    visibility:hidden;

    transition:opacity .3s ease, visibility .3s ease;

}

#lightbox-overlay.active{

    opacity:1;

    visibility:visible;

}

#lightbox-overlay img{

    max-width:90vw;

    max-height:88vh;

    border-radius:14px;

    box-shadow:0 30px 70px rgba(0,0,0,.5);

    cursor:default;

}

#lightbox-close{

    position:absolute;

    top:28px;

    right:28px;

    width:50px;

    height:50px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

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

    color:#fff;

    display:grid;

    place-items:center;

    font-size:1.3rem;

    transition:var(--transition);

}

#lightbox-close:hover{

    background:var(--accent);

    border-color:var(--accent);

}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

:focus-visible{

    outline:3px solid var(--accent);

    outline-offset:4px;

}

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}
