:root {
    --bg-color: #0d1117;
    --bg-alt: #161b22;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --primary: #1f6feb; /* Darker blue for better contrast */
    /* GitHub blue-ish */
    --accent: #2ea043; /* Darker green for better contrast */
    /* Success green */
    --gradient-1: #1f6feb;
    --gradient-2: #8957e5;
    --nav-glass: rgba(13, 17, 23, 0.65);
    --border-color: #30363d;
    --card-bg: #161b22;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-heading);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.5em;
}

p {
    color: var(--text-muted);
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.text-highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Background Blobs */
.blob-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient-1);
    animation: move 25s infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gradient-2);
    animation: move 20s infinite alternate-reverse;
}

@keyframes move {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 50px);
    }
}

/* Navigation - Frosted Glass */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--nav-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: 0.4s;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.nav-btn .fa-download {
    margin-right: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(47, 129, 247, 0.3);
}

.btn-primary:hover {
    background-color: #266dc9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 130px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

.hero-content h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.hero-content p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.img-wrapper {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    /* Optional: removes circle crop if not desired, but requested 'contemporary' usually implies creative shapes */
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(47, 129, 247, 0.3);
    position: relative;
    background: var(--bg-alt);
}

/* Tech Marquee */
.tech-marquee-container {
    background: var(--bg-alt);
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    margin: 4rem 0;
    /* Added spacing to center it between Hero and About */
}

.tech-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.tech-track {
    display: inline-flex;
    animation: scroll 25s linear infinite;
    /* Increased speed (reduced time) */
    gap: 3rem;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
}

.tech-item i {
    color: var(--primary);
    font-size: 1.4rem;
}

.tech-item:hover {
    color: var(--text-main);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.tech-marquee:hover .tech-track {
    animation-play-state: paused;
}

.img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Adjusted for new image to focus on face */
    filter: contrast(1.1) brightness(1.05);
    /* Enhance quality/pop */
}

.tagline {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--accent);
    background: rgba(63, 185, 80, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(63, 185, 80, 0.2);
}

/* .hero h1 removed to avoid conflict with .hero-content h1 */

.role-title {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* .hero p removed to avoid conflict with .hero-content p */

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links.big-socials {
    justify-content: center;
    /* Center the icons in contact card */
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* About Section */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-cert {
    display: flex;
    justify-content: center;
}

.cert-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: 0.3s;
    max-width: 300px;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(47, 129, 247, 0.2);
}

.cert-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.cert-card p {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    text-align: center;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.skill-category h3 i {
    color: var(--primary);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tags span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    background: rgba(47, 129, 247, 0.1);
    color: var(--primary);
    border-radius: 4px;
    border: 1px solid rgba(47, 129, 247, 0.2);
}

/* Experience Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: disc;
    margin-left: 1.2rem;
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.project-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: 0.3s;
    height: auto;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content .project-desc-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.project-desc {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.project-desc:last-of-type {
    margin-bottom: 1.5rem;
    flex-grow: 0;
}

.desc-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, var(--bg-color));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-desc-wrapper.collapsed .desc-fade {
    opacity: 1;
}

.know-more-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
}

.know-more-btn:hover {
    color: #58a6ff;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.project-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    background: var(--bg-color);
    border-color: var(--primary);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gradient-2);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Contact */
.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--primary);
}

.info-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Mobile Only Menu Item */
.mobile-only {
    display: none;
}

@media (max-width: 991px) {
    .mobile-only {
        display: block;
        margin-top: 1rem;
    }
}

/* ===========================
   Hire Me Section
   =========================== */
.hire-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('assets/hire-devops-bg.png') center center / cover no-repeat;
}

.hire-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Pulsing Red Light Effect */
.hire-red-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 60, 60, 0.25) 0%, rgba(255, 60, 60, 0) 45%);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: redFlicker 3s infinite linear;
}

@keyframes redFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 0.8;
    }
    20%, 24%, 55% {
        opacity: 0.1;
    }
}

.hire-content {
    position: relative;
    z-index: 2;
    padding: 5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Glassmorphism card */
.hire-glass-card {
    background: rgba(5, 8, 15, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem 3.5rem;
    max-width: 620px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.hire-heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hire-sub {
    font-size: 1rem;
    color: rgba(230, 237, 243, 0.85);
    margin-bottom: 1.25rem;
}

.hire-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
    text-align: left;
    display: inline-flex;
}

.hire-list li {
    font-size: 1rem;
    color: #e6edf3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hire-list li i {
    color: #3fb950;
    font-size: 1rem;
    flex-shrink: 0;
}

.hire-cta-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.75rem;
    font-style: normal;
}

.hire-btn {
    font-size: 1rem;
    padding: 0.85rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(47, 129, 247, 0.35);
}

@media (max-width: 768px) {
    .hire-section {
        background-position: center;
        padding: 4rem 1rem;
        min-height: auto;
    }
    .hire-glass-card {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .hire-heading {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .hire-sub {
        font-size: 0.95rem;
    }
    .hire-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .hire-list li {
        font-size: 0.95rem;
    }
}

/* ===========================
   Blog Section
   =========================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(47, 129, 247, 0.18);
    border-color: var(--primary);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1117 0%, #1a1f35 100%);
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1b35, #1a1040);
}

.blog-img-fallback i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.5;
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(31, 111, 235, 0.95);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-meta i {
    color: var(--primary);
}

.blog-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-tags span {
    background: rgba(31, 111, 235, 0.15);
    color: #58a6ff;
    border: 1px solid rgba(31, 111, 235, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-cta {
    margin-top: 0.5rem;
    align-self: flex-start;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    gap: 0.4rem;
    display: inline-flex;
    align-items: center;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-alt);
}

/* Mobile & Responsive */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
}

@media (max-width: 991px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        /* Below navbar */
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-alt);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    /* Force white color for CV button in mobile menu */
    .nav-links li a.btn-primary {
        color: #ffffff !important;
        display: inline-block;
        /* Ensure proper box model */
    }

    .nav-btn {
        display: none;
        /* Hide resume button on very small screens or move into menu */
    }

    /* Hero Responsive */
    .hero {
        padding-top: 140px;
        /* Increased padding to prevent navbar overlap */
        align-items: flex-start;
        height: auto;
    }

    .hero-container {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
    }

    .img-wrapper {
        width: 250px;
        height: 250px;
        max-width: 100%;
        /* Safety for very small screens */
    }

    /* .hero h1 override removed, using clamp() globally */

    .hero-btns,
    .social-links,
    .hero p {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* About Responsive */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}