/* Cyberpunk Theme Overrides */

:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    /* Pure white */
    --primary-color: #00f3ff;
    /* Cyan */
    --secondary-color: #ff00ff;
    /* Magenta */
    --accent-color: #39ff14;
    /* Lime Green */
    --card-bg: #0a0a14;
    /* Opaque for better contrast */
    --border-color: #00f3ff;
    --font-main: 'Muli', sans-serif;
    /* Readable font */
    --font-code: 'Fira Code', monospace;
    --font-headers: 'Orbitron', sans-serif;
    /* Header font */
}

/* Text Selection - Neon Yellow Marker Effect */
::selection {
    background-color: #39ff14;
    /* Neon lime/yellow */
    color: #000000;
    /* Black text for contrast */
    text-shadow: none;
}

::-moz-selection {
    background-color: #39ff14;
    color: #000000;
    text-shadow: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headers);
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: rgba(5, 5, 16, 0.95) !important;
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link {
    color: var(--text-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 5px var(--primary-color);
}

/* Cards */
.card,
.section-holder {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    border-color: var(--secondary-color);
}

/* Buttons */
.btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Glitch Effect Class */
.glitch {
    position: relative;
    color: var(--primary-color);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--secondary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(35px, 9999px, 16px, 0);
    }

    5% {
        clip: rect(88px, 9999px, 96px, 0);
    }

    10% {
        clip: rect(11px, 9999px, 76px, 0);
    }

    15% {
        clip: rect(68px, 9999px, 5px, 0);
    }

    20% {
        clip: rect(25px, 9999px, 66px, 0);
    }

    25% {
        clip: rect(9px, 9999px, 26px, 0);
    }

    30% {
        clip: rect(78px, 9999px, 35px, 0);
    }

    35% {
        clip: rect(45px, 9999px, 86px, 0);
    }

    40% {
        clip: rect(18px, 9999px, 5px, 0);
    }

    45% {
        clip: rect(59px, 9999px, 96px, 0);
    }

    50% {
        clip: rect(3px, 9999px, 46px, 0);
    }

    55% {
        clip: rect(82px, 9999px, 15px, 0);
    }

    60% {
        clip: rect(29px, 9999px, 76px, 0);
    }

    65% {
        clip: rect(55px, 9999px, 3px, 0);
    }

    70% {
        clip: rect(98px, 9999px, 26px, 0);
    }

    75% {
        clip: rect(15px, 9999px, 65px, 0);
    }

    80% {
        clip: rect(62px, 9999px, 86px, 0);
    }

    85% {
        clip: rect(33px, 9999px, 5px, 0);
    }

    90% {
        clip: rect(75px, 9999px, 36px, 0);
    }

    95% {
        clip: rect(12px, 9999px, 95px, 0);
    }

    100% {
        clip: rect(48px, 9999px, 25px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(15px, 9999px, 86px, 0);
    }

    5% {
        clip: rect(58px, 9999px, 16px, 0);
    }

    10% {
        clip: rect(91px, 9999px, 56px, 0);
    }

    15% {
        clip: rect(28px, 9999px, 35px, 0);
    }

    20% {
        clip: rect(65px, 9999px, 86px, 0);
    }

    25% {
        clip: rect(19px, 9999px, 46px, 0);
    }

    30% {
        clip: rect(48px, 9999px, 15px, 0);
    }

    35% {
        clip: rect(85px, 9999px, 66px, 0);
    }

    40% {
        clip: rect(38px, 9999px, 25px, 0);
    }

    45% {
        clip: rect(79px, 9999px, 96px, 0);
    }

    50% {
        clip: rect(13px, 9999px, 56px, 0);
    }

    55% {
        clip: rect(52px, 9999px, 35px, 0);
    }

    60% {
        clip: rect(99px, 9999px, 76px, 0);
    }

    65% {
        clip: rect(25px, 9999px, 13px, 0);
    }

    70% {
        clip: rect(68px, 9999px, 46px, 0);
    }

    75% {
        clip: rect(45px, 9999px, 85px, 0);
    }

    80% {
        clip: rect(92px, 9999px, 26px, 0);
    }

    85% {
        clip: rect(13px, 9999px, 65px, 0);
    }

    90% {
        clip: rect(55px, 9999px, 96px, 0);
    }

    95% {
        clip: rect(82px, 9999px, 35px, 0);
    }

    100% {
        clip: rect(28px, 9999px, 75px, 0);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Skills Section Overrides */
.skills-section .card .card-head {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid var(--primary-color);
}

.skills-section .card .card-body {
    background-color: transparent !important;
}

.skills-section .card:hover .card-head {
    background-color: rgba(0, 243, 255, 0.1) !important;
}

.skills-section .card-title {
    color: var(--primary-color) !important;
}

.skills-section .card-text {
    color: var(--text-color) !important;
}

/* Experience Section Overrides */
.experiences-section .card {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--primary-color);
}

.experiences-section .card:hover {
    background-color: rgba(0, 243, 255, 0.1) !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.experiences-section .card-title {
    color: var(--primary-color) !important;
}

.experiences-section .card-text,
.experiences-section ul>li,
.experiences-section .designation {
    color: var(--text-color) !important;
}

.experiences-section .text-muted {
    color: #ccc !important;
    /* Make muted text readable */
}

/* Home Section Overrides */
.home .greeting {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px var(--primary-color);
    font-family: var(--font-headers);
}

.home .typing-carousel {
    color: var(--text-color) !important;
    font-weight: bold;
    text-shadow: 0 0 2px black;
}

.home .background {
    display: none !important;
    /* Remove static background image */
}

.home {
    background: transparent !important;
    /* Ensure container is transparent */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.home .content {
    top: 0 !important;
    position: static !important;
    /* Allow children to position relative to .home */
    height: auto !important;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home .content>a {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    z-index: 10;
}

/* Achievements Section - Cyberpunk Logo Styling */
.achievements-section .card img {
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.achievements-section .card:hover img {
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.6)) drop-shadow(0 0 30px rgba(255, 0, 255, 0.3));
    transform: scale(1.05);
}

/* Achievements Badge Layout */
.achievement-badge {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    height: 100%;
}

.achievement-badge:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4),
        0 0 35px rgba(255, 0, 255, 0.2);
}

.achievement-badge .badge-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-badge .badge-icon img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.achievement-badge:hover .badge-icon img {
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.6)) drop-shadow(0 0 30px rgba(255, 0, 255, 0.3));
    transform: scale(1.1);
}

.achievement-badge .badge-content {
    flex: 1;
}

.achievement-badge .badge-title {
    color: var(--primary-color);
    font-family: var(--font-headers);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievement-badge .badge-summary {
    color: var(--text-color);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tech Stack Section */
.tech-stack-section {
    position: relative;
}

.tech-stack-section .category-title {
    color: var(--secondary-color);
    font-family: var(--font-headers);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--secondary-color);
}

.tech-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4),
        0 0 50px rgba(255, 0, 255, 0.2);
    animation-play-state: paused;
}

.tech-card .tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tech-card .tech-icon img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.3));
    transition: all 0.4s ease;
    animation: pulse 3s ease-in-out infinite;
}

.tech-card:hover .tech-icon img {
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.8)) drop-shadow(0 0 30px rgba(255, 0, 255, 0.5));
    transform: rotate(360deg) scale(1.2);
    animation-play-state: paused;
}

.tech-card .tech-name {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.tech-card:hover .tech-name {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.6));
    }
}

/* Stagger animation delays for tech cards */
.tech-card:nth-child(1) {
    animation-delay: 0s;
}

.tech-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-card:nth-child(3) {
    animation-delay: 0.4s;
}

.tech-card:nth-child(4) {
    animation-delay: 0.6s;
}

.tech-card:nth-child(5) {
    animation-delay: 0.8s;
}

.tech-card:nth-child(6) {
    animation-delay: 1s;
}

.tech-card:nth-child(n+7) {
    animation-delay: 1.2s;
}

/* ============================================
   MOBILE-FIRST RESPONSIVE DESIGN
   ============================================ */

/* Base Mobile Styles (320px - 767px) */
/* These are the default styles, optimized for mobile */

/* Mobile Typography */
body {
    font-size: 14px;
    line-height: 1.6;
}

h1 {
    font-size: 1.75rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: 1px;
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.9rem;
}

/* Mobile Navbar */
.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* Mobile Navbar Collapse */
.navbar-collapse,
.navbar-collapse.show,
.navbar-collapse.collapsing {
    background-color: rgba(5, 5, 16, 0.98) !important;
    /* Dark background to fix white issue */
    border-top: 1px solid var(--primary-color);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0, 243, 255, 0.1);
}

/* Ensure links are visible in mobile menu */
.navbar-collapse .nav-link,
.navbar-collapse.show .nav-link,
.navbar-collapse.collapsing .nav-link {
    color: var(--text-color) !important;
}

.navbar-collapse .nav-link:hover,
.navbar-collapse.show .nav-link:hover,
.navbar-collapse.collapsing .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border-color: var(--primary-color) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 243, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile Home Section */
.home .content img {
    max-width: 150px;
    margin-bottom: 1.5rem;
}

.home .greeting {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.home .typing-carousel {
    font-size: 1rem;
    padding: 0 1rem;
}

/* Mobile About Section */
.about-section {
    padding: 2rem 1rem;
}

.about-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-section h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 0.9rem;
    text-align: left !important;
}

.about-section .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
}

/* Mobile Circular Progress */
.circular-progress {
    width: 80px;
    height: 80px;
}

.circular-progress-value {
    font-size: 0.7rem;
}

/* Mobile Tech Stack Section */
.tech-stack-section {
    padding: 2rem 1rem;
}

.tech-stack-section h1 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.tech-stack-section .category-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.tech-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.tech-card .tech-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
}

.tech-card .tech-name {
    font-size: 0.85rem;
}

/* Reduce animations on mobile for performance */
.tech-card {
    animation: none;
}

.tech-card .tech-icon img {
    animation: none;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card:hover .tech-icon img {
    transform: scale(1.1);
}

/* Mobile Achievement Badges */
.achievement-badge {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 1rem;
}

.achievement-badge .badge-icon {
    width: 60px;
    height: 60px;
}

.achievement-badge .badge-title {
    font-size: 1rem;
}

.achievement-badge .badge-summary {
    font-size: 0.85rem;
}

/* Mobile Skills Section */
.skills-section {
    padding: 2rem 1rem;
}

.skills-section .card {
    margin-bottom: 1rem;
}

.skills-section .card-title {
    font-size: 1.1rem;
}

.skills-section .card-text {
    font-size: 0.9rem;
}

/* Mobile Experience Section */
.experiences-section {
    padding: 2rem 1rem;
}

.experiences-section .card {
    margin-bottom: 1.5rem;
}

.experiences-section .card-title {
    font-size: 1.1rem;
}

.experiences-section .designation {
    font-size: 0.9rem;
}

.experiences-section .card-text,
.experiences-section ul li {
    font-size: 0.85rem;
}

/* Mobile Cards and Sections */
.card {
    margin-bottom: 1rem;
}

.section-holder {
    padding: 2rem 0;
}

/* Mobile Buttons */
.btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Mobile Social Links */
.social-link {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 1rem 0;
}

.social-link li {
    margin: 0;
}

.social-link a {
    font-size: 1.5rem;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   TABLET STYLES (768px and up)
   ============================================ */
@media (min-width: 768px) {

    /* Tablet Typography */
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.25rem;
        letter-spacing: 1.5px;
    }

    h2 {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    h3 {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1.1rem;
    }

    /* Tablet Home Section */
    .home .content img {
        max-width: 200px;
    }

    .home .greeting {
        font-size: 2.25rem;
    }

    .home .typing-carousel {
        font-size: 1.25rem;
    }

    /* Tablet About Section */
    .about-section {
        padding: 3rem 2rem;
    }

    .about-section .btn {
        width: auto;
    }

    /* Tablet Circular Progress */
    .circular-progress {
        width: 100px;
        height: 100px;
    }

    .circular-progress-value {
        font-size: 0.75rem;
    }

    /* Tablet Tech Stack */
    .tech-stack-section {
        padding: 3rem 2rem;
    }

    .tech-stack-section h1 {
        font-size: 2.25rem;
    }

    .tech-stack-section .category-title {
        font-size: 1.5rem;
    }

    .tech-card {
        padding: 1.25rem;
    }

    .tech-card .tech-icon {
        width: 70px;
        height: 70px;
    }

    .tech-card .tech-name {
        font-size: 0.9rem;
    }

    /* Tablet Achievement Badges */
    .achievement-badge {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .achievement-badge .badge-icon {
        width: 70px;
        height: 70px;
    }

    .achievement-badge .badge-title {
        font-size: 1.1rem;
    }

    .achievement-badge .badge-summary {
        font-size: 0.9rem;
    }

    /* Tablet Sections */
    .section-holder {
        padding: 3rem 0;
    }

    .skills-section,
    .experiences-section {
        padding: 3rem 2rem;
    }
}

/* ============================================
   DESKTOP STYLES (1024px and up)
   ============================================ */
@media (min-width: 1024px) {

    /* Desktop Typography */
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 2.25rem;
        letter-spacing: 2px;
    }

    h3 {
        font-size: 1.75rem;
        letter-spacing: 2px;
    }

    h4 {
        font-size: 1.5rem;
    }

    h5 {
        font-size: 1.25rem;
    }

    /* Desktop Home Section */
    .home .content img {
        max-width: 250px;
    }

    .home .greeting {
        font-size: 2.5rem;
    }

    .home .typing-carousel {
        font-size: 1.5rem;
    }

    /* Desktop About Section */
    .about-section {
        padding: 4rem 3rem;
    }

    .about-section p {
        text-align: justify !important;
    }

    /* Desktop Circular Progress */
    .circular-progress {
        width: 120px;
        height: 120px;
    }

    .circular-progress-value {
        font-size: 0.8rem;
    }

    /* Desktop Tech Stack - Re-enable animations */
    .tech-card {
        animation: float 6s ease-in-out infinite;
        padding: 1.5rem;
    }

    .tech-card .tech-icon {
        width: 80px;
        height: 80px;
    }

    .tech-card .tech-icon img {
        animation: pulse 3s ease-in-out infinite;
    }

    .tech-card:hover {
        transform: translateY(-10px) scale(1.05);
        animation-play-state: paused;
    }

    .tech-card:hover .tech-icon img {
        transform: rotate(360deg) scale(1.2);
        animation-play-state: paused;
    }

    .tech-card .tech-name {
        font-size: 0.9rem;
    }

    /* Desktop Achievement Badges */
    .achievement-badge .badge-icon {
        width: 80px;
        height: 80px;
    }

    .achievement-badge .badge-title {
        font-size: 1.2rem;
    }

    .achievement-badge .badge-summary {
        font-size: 0.95rem;
    }

    /* Desktop Sections */
    .section-holder {
        padding: 4rem 0;
    }

    .tech-stack-section,
    .skills-section,
    .experiences-section {
        padding: 4rem 3rem;
    }

    .tech-stack-section h1 {
        font-size: 2.5rem;
    }

    .tech-stack-section .category-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   LARGE DESKTOP STYLES (1200px and up)
   ============================================ */
@media (min-width: 1200px) {

    /* Large Desktop Typography */
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    /* Large Desktop Home Section */
    .home .content img {
        max-width: 300px;
    }

    .home .greeting {
        font-size: 3rem;
    }

    .home .typing-carousel {
        font-size: 1.75rem;
    }

    /* Large Desktop Sections */
    .section-holder {
        padding: 5rem 0;
    }

    /* Reset Navbar Collapse for Large Desktop (when menu expands) */
    .navbar-collapse {
        background-color: transparent !important;
        border-top: none;
        padding: 0;
        margin-top: 0;
        box-shadow: none;
        border-radius: 0;
    }
}

/* ============================================
   UTILITY CLASSES FOR MOBILE
   ============================================ */

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

.container-fluid {
    overflow-x: hidden;
}

/* Touch-friendly spacing */
@media (max-width: 767px) {
    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .p-lg-5 {
        padding: 1.5rem !important;
    }

    .pt-5 {
        padding-top: 2rem !important;
    }

    .pb-5 {
        padding-bottom: 2rem !important;
    }
}

/* Footer Hugo Logo Fix */
#hugo img {
    height: 15px !important;
    width: auto !important;
    vertical-align: middle;
}

/* Stretched Link for clickable cards */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20001;
    pointer-events: auto;
    content: "";
    background-color: rgba(0, 0, 0, 0);
}