:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --accent-gold: #fbbf24;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border-color: rgba(251, 191, 36, 0.15);
}

/* ========================
   GLOBAL RESET & BASE
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}
a, button, .clickable, .project-card, .skill-box {
    cursor: pointer;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* ========================
   LOGO
======================== */
.logo {
    font-family: 'Space Grotesk';
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}
.logo span {
    display: inline-block;
    transition: transform 0.3s ease;
}
.logo:hover span {
    transform: scale(1.4) rotate(10deg);
    color: var(--accent-gold);
    text-shadow: 0 0 10px var(--accent-gold);
}
.logo-dot {
    animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* ========================
   NAVBAR
======================== */
.navbar {
    padding: 14px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(2, 6, 23, 0.92) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    padding: 8px 0;
}

.navbar .nav-link {
    position: relative;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    transition: color 0.3s ease;
}
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transition: width 0.35s ease;
    transform: translateX(-50%);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(251,191,36,0.5);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 70%;
}
.navbar .nav-link.active::after {
    width: 80%;
}

/* Navbar Buttons */
.navbar .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.navbar .btn-warning {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
}
.navbar .btn-warning:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(251,191,36,0.45);
}
.navbar .btn-outline-warning {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.navbar .btn-outline-warning:hover {
    background: var(--accent-gold);
    color: #020617;
    transform: translateY(-3px);
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.dropdown-item {
    color: var(--text-dim);
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    transition: 0.3s;
}
.dropdown-item:hover {
    background: rgba(251,191,36,0.12);
    color: var(--accent-gold);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(2, 6, 23, 0.98);
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 12px;
    }
}

/* ========================
   HERO SECTION
======================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, var(--bg-dark) 30%, rgba(2, 6, 23, 0.7) 100%);
    z-index: 1;
}
.hero-content {
    z-index: 2;
    padding: 0 5%;
    position: relative;
}
.hero-name {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    color: var(--accent-gold);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 4px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

/* ========================
   GENERAL SECTIONS
======================== */
section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    position: relative;
    z-index: 2;
}
.section-tag {
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 50px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.4s ease;
    margin: 10px auto 0;
}
.section-title:hover::after {
    width: 100%;
}

/* About */
.about-img {
    width: 520px;
    height: 520px;
    object-fit: cover;

    border-radius: 50%;
    border: 3px solid var(--border-color);

    box-shadow: 
        0 10px 30px rgba(0,0,0,0.4),
        0 0 25px rgba(0, 255, 180, 0.15);

    transition: 0.4s ease;
}

.about-img:hover {
    transform: scale(1.05);
}
.about-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

/* Experience (Classic) */
.exp-card {
    border-left: 2px solid var(--border-color);
    padding-left: 30px;
    margin-bottom: 50px;
    position: relative;
}
.exp-card::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-gold);
}
.exp-date {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}
.exp-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.exp-company {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}
.exp-list {
    list-style: none;
    padding: 0;
}
.exp-list li {
    margin-bottom: 10px;
    color: var(--text-dim);
    position: relative;
    padding-left: 20px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}
.exp-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}
.skill-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 15px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.skill-box:hover {
    border-color: var(--accent-gold);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0,0,0,0.5), 0 0 15px rgba(251, 191, 36, 0.1);
}
.skill-box i {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
    color: var(--accent-gold);
    transition: 0.4s;
}
.skill-box:hover i {
    transform: rotate(360deg) scale(1.1);
}

/* ========================
   PROJECTS SECTION (Updated with larger image & View Live button)
======================== */
#work {
    background: radial-gradient(circle at top, #020617, #020617 70%);
}

.project-card {
    background: linear-gradient(145deg, #0f172a, #020617);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.12);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(251,191,36,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover::before {
    opacity: 1;
}
.project-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 25px 60px rgba(251,191,36,0.15);
    border-color: rgba(251, 191, 36, 0.35);
}

/* Larger Project Image */
.project-img-box {
    height: 320px; /* Increased size */
    overflow: hidden;
    position: relative;
}
.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover .project-img-box img {
    transform: scale(1.12);
}
.project-img-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(2,6,23,0.85));
}

.project-body {
    padding: 1.6rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.project-tech {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.project-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.6rem;
}
.project-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.live-view-btn {
    margin-top: auto;
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #020617;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(251,191,36,0.35);
}

.live-view-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(251,191,36,0.55);
}

/* Bottom button */
.explore-all-btn {
    display: inline-block;
    padding: 14px 42px;
    border-radius: 40px;
    background: #020617;
    color: #fbbf24;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #fbbf24;
    transition: all 0.3s ease;
}

.explore-all-btn:hover {
    background: #fbbf24;
    color: #020617;
    transform: translateY(-2px);
}r 
/* Project Buttons (Source & View Live) */
.project-buttons {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}
.project-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
}
.btn-source {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}
.btn-source:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251,191,36,0.3);
}
.btn-live {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #020617;
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-live::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-live:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(251,191,36,0.45);
}
.btn-live:hover::after {
    transform: translateX(100%);
}

/* View All Projects Button */
.view-projects-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #020617 !important;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(251,191,36,0.35);
}
.view-projects-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.view-projects-btn:hover::after {
    transform: translateX(100%);
}
.view-projects-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(251,191,36,0.55);
}

/* Certificates */
.cert-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.cert-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.cert-img-box {
    height: 200px;
    overflow: hidden;
    background: #1e293b;
    position: relative;
}
.cert-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.5s;
}
.cert-card:hover .cert-img-box img {
    transform: scale(1.05);
}
.cert-body {
    padding: 20px;
    flex-grow: 1;
}
.cert-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Workflow */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.workflow-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}
.workflow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(251, 191, 36, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.workflow-card:hover::before {
    opacity: 1;
}
.workflow-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.workflow-step {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 15px;
}
.workflow-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.workflow-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Social & Footer */
.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
    margin: 5px;
}
.social-link:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.05);
    border-radius: 50%;
}

.footer-modern {
    background: linear-gradient(to top, var(--bg-dark), var(--bg-card));
    padding: 100px 0 40px;
}
.footer-cta p {
    max-width: 700px;
    margin: auto;
}
.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 60px 0;
}
.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
}
.footer-heading {
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
}
.footer-links a {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--accent-gold);
}
.footer-social .social-link {
    margin-left: 8px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* Experience Pro (Timeline) */
.experience-pro {
    padding: 120px 0;
    background: radial-gradient(circle at top, #0f172a, #020617);
}
.exp-timeline {
    max-width: 950px;
    margin: auto;
    position: relative;
}
.exp-timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
}
.exp-block {
    position: relative;
    padding-left: 80px;
    margin-bottom: 80px;
}
.exp-marker {
    position: absolute;
    left: 18px;
    top: 35px;
}
.exp-marker span {
    width: 18px;
    height: 18px;
    background: var(--accent-gold);
    display: block;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.18);
}
.exp-glass {
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}
.exp-glass:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.exp-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.exp-top h3 {
    font-size: 1.6rem;
    font-weight: 800;
}
.company {
    color: var(--text-dim);
    font-weight: 500;
}
.duration {
    background: rgba(255,215,0,0.15);
    color: var(--accent-gold);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.exp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 25px 0;
}
.exp-stats div {
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 14px;
    border-radius: 16px;
}
.exp-stats strong {
    display: block;
    font-size: 1.4rem;
    color: var(--accent-gold);
}
.exp-stats span {
    font-size: 0.75rem;
    color: var(--text-dim);
}
.exp-summary {
    color: #cbd5f5;
    margin-bottom: 18px;
}
.exp-highlights li {
    margin-bottom: 10px;
    color: var(--text-dim);
    line-height: 1.7;
}
.exp-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.exp-tech span {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: 0.3s;
}
.exp-tech span:hover {
    background: var(--accent-gold);
    color: #000;
}

/* Metrics */
.metric-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.metric-card {
    position: relative;
    width: 180px;
    height: 220px;
    background: linear-gradient(145deg, #0f172a, #020617);
    border-radius: 30px;
    border: 1px solid rgba(251,191,36,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}
.metric-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 25px 60px rgba(251,191,36,0.25);
}
.metric-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}
.metric-ring circle {
    fill: none;
    stroke-width: 8;
    cx: 70;
    cy: 70;
    r: 60;
}
.metric-ring circle:first-child {
    stroke: rgba(255,255,255,0.08);
}
.metric-ring .progress {
    stroke: var(--accent-gold);
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.8s cubic-bezier(.22,1,.36,1);
    filter: drop-shadow(0 0 10px rgba(251,191,36,0.7));
}
.metric-content {
    text-align: center;
    z-index: 2;
}
.metric-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-gold);
}
.metric-label {
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.metric-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(251,191,36,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
}
.metric-card.active::after {
    opacity: 1;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero-content {
        padding: 80px 15px;
        text-align: center;
    }
    .hero-name {
        font-size: 3rem;
        line-height: 1.1;
    }
    .hero-sub {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-text, .project-desc, .cert-desc {
        font-size: 0.95rem;
    }
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    .project-img-box, .cert-img-box {
        height: 240px;
    }
    .exp-list li {
        font-size: 0.9rem;
    }
    .workflow-card {
        padding: 30px 25px;
    }
    .project-buttons {
        flex-direction: column;
    }
    .project-btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-name {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}