:root {
    --accent: #004D40;
    --accent-2: #00695c;
    --light: #f8f9fa;
    --dark: #0f172a;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f6f8fb;
    color: #111827;
}

.navbar {
    background: linear-gradient(90deg, var(--accent), #00695c);
}

.navbar .nav-link {
    color: #e8f6f3;
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #fff;
}

#topNav.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background: var(--accent);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
}

.btn-accent:hover {
    background: var(--accent-2);
    color: #fff;
}

.btn-outline-accent {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
}

.section-header .text-accent {
    color: var(--accent);
    letter-spacing: 0.08em;
}

.text-accent {
    color: var(--accent);
}

.hero-img-wrapper {
    position: relative;
    display: inline-block;
}

.hero-img {
    max-width: 460px;
    border: 6px solid #fff;
    transition: transform 0.4s ease;
}

.hero-img-wrapper:hover .hero-img {
    transform: translateY(-6px) scale(1.01);
}

.hero-img-wrapper .glow {
    position: absolute;
    inset: 10% 10%;
    background: radial-gradient(circle, rgba(0, 77, 64, 0.35), transparent 60%);
    filter: blur(30px);
    z-index: 0;
}

.placeholder-hero {
    width: 100%;
    min-height: 320px;
    background: repeating-linear-gradient(45deg, #e0f2f1, #e0f2f1 10px, #d0e7e4 10px, #d0e7e4 20px);
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-weight: 600;
}

.card {
    border: none;
    border-radius: 14px;
}

.skill-card .icon-circle,
.project-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 77, 64, 0.12);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.project-card img {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    object-fit: cover;
    height: 200px;
}

.project-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 999px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent), #00796b);
}

#contact .card {
    border: 1px solid #e9ecef;
}

footer a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .navbar {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
    .navbar .nav-link {
        padding: 0.35rem 0;
    }
    header .display-4 {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .hero-img {
        max-width: 360px;
    }
}

@media (max-width: 767px) {
    .hero-img {
        max-width: 280px;
    }
    .project-card img {
        height: 180px;
    }
    .section-header h2 {
        font-size: 1.65rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }
    .card.skill-card,
    .card.project-card {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1rem;
    }
    header {
        padding-top: 2.5rem;
    }
    header .lead {
        font-size: 1rem;
    }
    .hero-img-wrapper {
        margin-top: 1rem;
    }
    .project-card img {
        height: 160px;
    }
    .d-flex.gap-2 .btn,
    .d-flex.gap-3 a,
    .d-flex.gap-2 a {
        width: auto;
        flex: 1 1 auto;
        text-align: center;
    }
}

