/* Brittany Chiang Inspired Portfolio */

/* CSS Custom Properties */
:root {
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --green: #64ffda;
    --green-tint: rgba(100, 255, 218, 0.1);

    --font-sans: 'Inter', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

    --fz-xxs: 12px;
    --fz-xs: 13px;
    --fz-sm: 14px;
    --fz-md: 16px;
    --fz-lg: 18px;
    --fz-xl: 20px;
    --fz-xxl: 22px;
    --fz-heading: 32px;

    --border-radius: 4px;
    --nav-height: 100px;
    --nav-scroll-height: 70px;

    --tab-height: 42px;
    --tab-width: 120px;

    --easing: cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);

    --hamburger-width: 30px;

    --ham-before: top 0.1s ease-in 0.25s, opacity 0.1s ease-in;
    --ham-before-active: top 0.1s ease-out, opacity 0.1s ease-out 0.12s;
    --ham-after: bottom 0.1s ease-in 0.25s, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    --ham-after-active: bottom 0.1s ease-out, transform 0.22s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    width: 100%;
    scroll-behavior: smooth;
}

/* Modern Animations & Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Hero Section Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes codeFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
}

@keyframes gisFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-25px) rotate(10deg);
        opacity: 1;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(1) scaleY(1);
    }
    50% {
        opacity: 0.7;
        transform: scaleX(1.02) scaleY(1.02);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: var(--green);
    }
    51%, 100% {
        border-color: transparent;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--green), 0 0 10px var(--green), 0 0 15px var(--green);
    }
    50% {
        box-shadow: 0 0 10px var(--green), 0 0 20px var(--green), 0 0 30px var(--green);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0a1428 50%, var(--navy) 100%);
    color: var(--slate);
    font-family: var(--font-sans);
    font-size: var(--fz-lg);
    line-height: 1.5;
    font-weight: 400;
    position: relative;
}

/* Modern Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(100, 255, 218, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 255, 218, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(100, 255, 218, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Portfolio Container */
.portfolio-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    z-index: 11;
    padding: 0 50px;
    width: 100%;
    height: var(--nav-height);
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(17, 34, 64, 0.95) 100%);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    filter: none !important;
    pointer-events: auto !important;
    user-select: auto !important;
    border-bottom: 1px solid rgba(100, 255, 218, 0.15);
    box-shadow: 0 4px 20px rgba(2, 12, 27, 0.7);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0.5;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    color: var(--lightest-slate);
    font-family: var(--font-mono);
    counter-reset: item 0;
    z-index: 12;
    height: 100%;
}

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-link {
    color: var(--green);
    width: 62px;
    height: 62px;
    transition: var(--transition);
    text-decoration: none;
}

.logo-link:hover {
    color: var(--green);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links ol {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-links li {
    margin: 0 8px;
    position: relative;
    counter-increment: item 1;
    font-size: var(--fz-xs);
}

.nav-link {
    padding: 12px 8px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    font-weight: 400;
}

.nav-link:hover {
    color: var(--green);
}

.nav-number {
    margin-right: 5px;
    color: var(--green);
    font-size: var(--fz-xxs);
    text-align: right;
}

.admin-link {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--lightest-navy);
}

.resume-button {
    margin-left: 15px;
}

.btn-outline {
    color: var(--green);
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: var(--fz-xs);
    font-family: var(--font-mono);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--green-tint);
    outline: none;
    box-shadow: 3px 3px 0 0 var(--green);
    transform: translate(-4px, -4px);
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-right: -15px;
    padding: 15px;
    border: 0;
    background-color: transparent;
    color: inherit;
    text-transform: none;
    transition-timing-function: linear;
    transition-duration: 0.15s;
    transition-property: opacity, filter;
    cursor: pointer;
}

.hamburger {
    display: inline-block;
    position: relative;
    width: var(--hamburger-width);
    height: 24px;
}

.hamburger span {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    width: var(--hamburger-width);
    height: 2px;
    background-color: var(--green);
    border-radius: var(--border-radius);
    transform: rotate(0deg);
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 20%;
    transition: var(--ham-before);
}

.hamburger span:nth-child(2) {
    opacity: 1;
}

.hamburger span:nth-child(3) {
    top: 80%;
    transition: var(--ham-after);
}

.hamburger.open span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
    transition: var(--ham-before-active);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
    transition: var(--ham-after-active);
}

.mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9;
    outline: 0;
    background-color: var(--light-navy);
    transform: translateX(50vw);
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.open {
    transform: translateX(0vw);
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    position: relative;
}

.mobile-nav ol {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.mobile-nav li {
    position: relative;
    margin: 0 auto 20px;
    text-align: center;
    counter-increment: item 1;
}

.mobile-nav-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: clamp(var(--fz-sm), 4vw, var(--fz-lg));
    padding: 3px 20px 20px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--green);
}

.mobile-resume {
    margin-top: 25px;
}

/* Main Content */
.main-content {
    padding: 0 150px;
    flex: 1;
}

/* Sections */
.section {
    margin: 0 auto;
    padding: 120px 0;
    max-width: 1000px;
}

.section-content {
    display: flex;
    flex-direction: column;
}

.section-header {
    display: flex;
    align-items: center;
    position: relative;
    margin: 10px 0 40px;
    width: 100%;
    white-space: nowrap;
}

.section-title {
    position: relative;
    margin: 0 0 10px 0;
    color: var(--lightest-slate);
    font-size: clamp(24px, 5vw, var(--fz-heading));
    font-weight: 600;
    line-height: 1.1;
    font-family: var(--font-mono);
}

.section-number {
    margin-right: 10px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-md), 3vw, var(--fz-xl));
    font-weight: 400;
}

.section-title::after {
    content: '';
    display: block;
    position: relative;
    top: -5px;
    width: 300px;
    height: 1px;
    margin-left: 20px;
    background-color: var(--lightest-navy);
}

/* Intro Section */
.intro-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    min-height: 25vh;
    padding: 0;
    margin-top: 10px !important;
}

.intro-greeting {
    margin: 0 0 30px 4px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
    font-weight: 400;
}

.intro-name {
    margin: 0;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 600;
    color: var(--lightest-slate);
    line-height: 0.9;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.intro-title {
    margin: 0;
    margin-top: 5px;
    color: var(--slate);
    line-height: 0.9;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 600;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.intro-title::after {
    content: '|';
    color: var(--green);
    animation: blink 1s infinite;
    margin-left: 5px;
}

.intro-description {
    margin: 20px 0 0;
    max-width: 540px;
    color: var(--slate);
    font-size: var(--fz-xl);
    line-height: 1.6;
}

.intro-actions {
    margin-top: 50px;
}

.btn-primary {
    color: var(--green);
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.75rem;
    font-size: var(--fz-sm);
    font-family: var(--font-mono);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--green-tint);
    outline: none;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3), 4px 4px 0 0 var(--green);
    transform: translate(-5px, -5px);
    color: var(--lightest-slate);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.about-text p {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 0 10px;
    padding: 0;
    margin: 20px 0 0 0;
    overflow: hidden;
    list-style: none;
}

.skills-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
}

.skills-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: var(--fz-sm);
    line-height: 12px;
}

.about-image {
    position: relative;
    max-width: 300px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    background-color: var(--green);
}

.profile-image {
    position: relative;
    border-radius: var(--border-radius);
    
    width: 100%;
    height: auto;
}

.image-wrapper:hover .profile-image {
    filter: none;
    mix-blend-mode: normal;
}

/* Experience Section */
.experience-content {
    display: flex;
}

.experience-tabs {
    position: relative;
    z-index: 3;
    width: max-content;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.tab-button {
    text-decoration: none;
    text-decoration-skip-ink: auto;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--tab-height);
    padding: 0 20px 2px;
    border: none;
    border-left: 2px solid var(--lightest-navy);
    background-color: transparent;
    color: var(--slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.tab-button:hover,
.tab-button:focus,
.tab-button.active {
    color: var(--green);
    background-color: var(--light-navy);
    border-left-color: var(--green);
}

.experience-panel {
    position: relative;
    width: 100%;
    margin-left: 20px;
    padding-left: 30px;
}

.job-title {
    color: var(--lightest-slate);
    font-size: var(--fz-xxl);
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 5px;
}

.job-period {
    color: var(--light-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    margin: 0 0 30px;
}

.job-details {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: var(--fz-lg);
}

.job-details li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.job-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: var(--fz-sm);
    line-height: 18px;
}

/* Projects Section */
.projects-grid {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-card {
    position: relative;
    display: grid;
    gap: 20px;
    padding: 20px;
    grid-template-columns: 1fr;
    align-items: center;
    margin-bottom: 120px;
}

.project-card.featured {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
}

.project-content {
    position: relative;
    grid-area: 1 / 1 / -1 / 7;
}

.featured .project-content {
    grid-area: 1 / 1 / -1 / 7;
}

.project-overline {
    margin: 10px 0 5px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-title {
    color: var(--lightest-slate);
    font-size: clamp(24px, 5vw, 28px);
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.1;
}

.project-description {
    position: relative;
    z-index: 2;
    margin: 0px;
    padding: 25px;
    border-radius: var(--border-radius);
    background: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    color: var(--light-slate);
    font-size: var(--fz-lg);
    line-height: 1.6;
    box-shadow:
        0 10px 30px -15px rgba(2, 12, 27, 0.7),
        0 0 0 1px rgba(100, 255, 218, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-description:hover {
    box-shadow:
        0 20px 40px -15px rgba(2, 12, 27, 0.9),
        0 0 0 1px rgba(100, 255, 218, 0.2),
        0 0 20px rgba(100, 255, 218, 0.1);
    transform: translateY(-5px);
    background: rgba(17, 34, 64, 0.9);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin: 25px 0px 10px;
    padding: 0;
    list-style: none;
}

.project-tech li {
    margin: 0 20px 5px 0;
    color: var(--light-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 3px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.project-tech li:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
    color: var(--green);
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 10px;
    margin-left: -10px;
    color: var(--lightest-slate);
}

.project-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--green);
}

.project-image {
    position: relative;
    grid-area: 1 / 6 / -1 / -1;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    transition: var(--transition);
}

.featured .project-image {
    grid-area: 1 / 6 / -1 / -1;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    filter: grayscale(100%) contrast(1) brightness(90%);
    transition: var(--transition);
}

.project-image:hover img {
    filter: none;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    margin: 0 0 20px;
    color: var(--lightest-slate);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;
}

.contact-description {
    color: var(--slate);
    margin: 0 0 50px;
}

.blog-carousel {
    height: 600px;
    min-width: 500px;
}
.blog-carousel-item {
    min-width: 400px;
    padding: 20px;
}
.blog-carousel-card {
    min-width: 400px;
    max-width: 500px;
}

/* Side Navigation */
.side-nav {
    width: 40px;
    position: fixed;
    bottom: 0;
    left: 40px;
    right: auto;
    z-index: 10;
    color: var(--light-slate);
}

.side-nav.right {
    left: auto;
    right: 40px;
    text-orientation: mixed;
    writing-mode: vertical-rl;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links li {
    margin: 0 0 20px;
}

.social-links a {
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.social-links::after {
    content: '';
    display: block;
    width: 1px;
    height: 90px;
    margin: 0 auto;
    background-color: var(--light-slate);
}

.email-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.email-link a {
    margin: 20px auto;
    padding: 10px;
    font-family: var(--font-mono);
    font-size: var(--fz-xxs);
    line-height: var(--fz-lg);
    letter-spacing: 0.1em;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.email-link a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.email-link::after {
    content: '';
    display: block;
    width: 1px;
    height: 90px;
    margin: 0 auto;
    background-color: var(--light-slate);
}

@media (max-width: 360px) {

    .main-content {
        width: 360px;
        padding: 0;

    }
    .particles {
        width: 360px;
    }
    .portfolio-layout {
        width: 360px;
    }
    .grid-1 {
        width: 360px;
    }
    .grid-3 {
        width: 360px;
    }
    .grid-5 {
        width: 360px;
    }
    .floating-elements {
        width: 360px;
    }
    .navbar {
        width: 360px;
    }
    .nav-container {
        width: 360px;
    }
    .global-animated-background {
        max-width: 360px;
        width: 360px;
    }
    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .side-nav {
        left: 20px;
        right: 20px;
    }

    .side-nav.right {
        left: auto;
        right: 20px;
    }

    .section {
        margin-left: 5px;
        margin-right: 5px;
        width: 85%;
        min-width: 80%;
        max-width: 360px;
    }
    .cv-header-section {
        margin-left: 5px;
        margin-right: 5px;
        width: 85%;
        min-width: 80%;
        max-width: 360px;
    }
    .cv-section {
        margin-left: 5px;
        margin-right: 5px;
        width: 85%;
        min-width: 80%;
        max-width: 360px;
    }
    .section-title {
        width: 80%;
    }
    .mud-carousel {
        width: 100%;
        min-width: 80% !important;
    }
    .mud-carousel-item {
        width: 100%;
    }
    .blog-carousel {
        width: 100%;
        max-width: unset;
        min-width: unset;
    }

    .blog-carousel-item {
        width: 100%;
        max-width: unset;
        min-width: unset;
    }

    .blog-carousel-card {
        width: 100%;
        max-width: unset;
        min-width: unset;
    }
    .experience-tabs {
        flex-direction: column;
        overflow-y: auto;
    }

    .contact-content {
        width: 100%;
    }
    .about-text {
        width: 100%;
    }
    .about-image {
        width: 90%;
    }

    .section-title::after {
        width: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experience-content {
        flex-direction: column;
    }

    .experience-tabs {
        flex-direction: column;
        width: 100%;
        padding-left: 0;
        overflow-x: auto;
        margin-bottom: 30px;
    }

    .tab-button {
        border-left: 0;
        border-bottom: 2px solid var(--lightest-navy);
        min-width: var(--tab-width);
        padding: 0 15px 2px;
        height: var(--tab-height);
    }

    .tab-button:hover,
    .tab-button:focus,
    .tab-button.active {
        border-left: 0;
        border-bottom-color: var(--green);
    }

    .experience-panel {
        margin-left: 0;
        padding-left: 0;
    }

    .project-card {
        margin-bottom: 80px;
    }

    .project-card.featured {
        grid-template-columns: 1fr;
    }

    .project-content {
        grid-area: 1 / 1 / -1 / -1;
        padding: 30px;
        z-index: 5;
    }

    .project-image {
        grid-area: 1 / 1 / -1 / -1;
        opacity: 0.25;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
    }

    .side-nav {
        display: none;
    }

    .intro-actions {
        margin-top: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title::after {
        margin-left: 10px;
        width: 100px;
    }

    .experience-tabs {
        margin-bottom: 20px;
    }

    .project-content {
        padding: 25px 20px;
    }

    .project-card {
        margin-bottom: 60px;
    }

    .intro-description {
        font-size: var(--fz-lg);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px dashed var(--green);
    outline-offset: 3px;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(2px);
}

.custom-cursor.cursor-hover {
    width: 40px;
    height: 40px;
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--green);
}

/* Navbar scroll effect */
.navbar.scrolled {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

/* Text reveal animation */
.char-reveal {
    display: inline-block;
    opacity: 0;
    animation: charReveal 0.5s ease forwards;
}

@keyframes charReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

/* Skill progress bars */
.skill-progress {
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--green), rgba(100, 255, 218, 0.5));
    border-radius: 2px;
    transition: width 1.5s ease-in-out;
    margin-top: 5px;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--green), rgba(100, 255, 218, 0.5));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

/* CV Styles */
.cv-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* CV Header Section */
.cv-header-section {
    margin: 0 auto;
    padding: 150px 0 80px;
    max-width: 1000px;
    min-width: 50%;
}

.cv-header-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.cv-name {
    margin: 0;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 600;
    color: var(--lightest-slate);
    line-height: 1.1;
}

.cv-title {
    margin: 10px 0 20px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-lg), 3vw, var(--fz-xxl));
    font-weight: 400;
}

.cv-summary {
    margin: 20px 0 30px;
    color: var(--slate);
    font-size: var(--fz-lg);
    line-height: 1.6;
    max-width: 600px;
}

.cv-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-slate);
    font-size: var(--fz-sm);
}

.contact-item a {
    color: var(--light-slate);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--green);
}

.cv-header-image {
    position: relative;
    max-width: 250px;
    margin: 0 auto;
}

.cv-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    background-color: var(--green);
}

.cv-profile-image {
    position: relative;
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1) brightness(80%);
    mix-blend-mode: multiply;
    transition: var(--transition);
}

.cv-image-wrapper:hover .cv-profile-image {
    filter: none;
    mix-blend-mode: normal;
}

/* Index Section Styles */
.section {
    margin: 0 auto;
    padding: 80px 0;
    max-width: 1000px;
    min-width: 50%;
}
/* CV Section Styles */
.cv-section {
    margin: 0 auto;
    padding: 80px 0;
    max-width: 1000px;
    min-width: 50%;
}

.cv-section-content {
    display: flex;
    flex-direction: column;
}

/* Global Animated Background */
.global-animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-text {
    margin-bottom: 3rem;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.code-element {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--green);
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    padding: 8px 12px;
    backdrop-filter: blur(10px);
    animation: codeFloat 6s ease-in-out infinite;
}

.code-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.code-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.code-3 {
    top: 60%;
    left: 8%;
    animation-delay: 2s;
}

.code-4 {
    top: 70%;
    right: 20%;
    animation-delay: 3s;
}

.code-5 {
    top: 40%;
    right: 8%;
    animation-delay: 4s;
}

.code-6 {
    top: 85%;
    left: 12%;
    animation-delay: 5s;
}

.code-7 {
    top: 45%;
    left: 5%;
    animation-delay: 6s;
}

.code-8 {
    top: 30%;
    right: 25%;
    animation-delay: 7s;
}
.code-9 {
    top: 55%;
    right: 15%;
    animation-delay: 7s;
}
.code-10 {
    top: 45%;
    left: 15%;
    animation-delay: 7s;
}

.gis-element {
    position: absolute;
    width: 40px;
    height: 40px;
    color: var(--light-slate);
    animation: gisFloat 8s ease-in-out infinite;
}

.gis-element svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.3));
}

.gis-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0.5s;
}

.gis-2 {
    top: 35%;
    left: 5%;
    animation-delay: 2.5s;
}

.gis-3 {
    top: 55%;
    right: 10%;
    animation-delay: 4.5s;
}

.gis-4 {
    top: 80%;
    left: 15%;
    animation-delay: 6.5s;
}

.gis-5 {
    top: 45%;
    right: 30%;
    animation-delay: 8.5s;
}

/* Grid Lines */
.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-1 {
    top: 30%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 0s;
}

.grid-2 {
    top: 0;
    left: 25%;
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent, var(--green), transparent);
    animation-delay: 1s;
}

.grid-3 {
    top: 70%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 2s;
}

.grid-4 {
    top: 0;
    right: 25%;
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent, var(--green), transparent);
    animation-delay: 3s;
}

.grid-5 {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 4s;
}

.grid-6 {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent, var(--green), transparent);
    animation-delay: 5s;
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--green);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

/* Individual particle positions and timing */
.particle-0 { left: 10%; animation-duration: 15s; animation-delay: 0s; }
.particle-1 { left: 20%; animation-duration: 18s; animation-delay: 2s; }
.particle-2 { left: 30%; animation-duration: 20s; animation-delay: 4s; }
.particle-3 { left: 40%; animation-duration: 16s; animation-delay: 6s; }
.particle-4 { left: 50%; animation-duration: 22s; animation-delay: 8s; }
.particle-5 { left: 60%; animation-duration: 19s; animation-delay: 10s; }
.particle-6 { left: 70%; animation-duration: 17s; animation-delay: 12s; }
.particle-7 { left: 80%; animation-duration: 21s; animation-delay: 14s; }
.particle-8 { left: 90%; animation-duration: 18s; animation-delay: 16s; }
.particle-9 { left: 15%; animation-duration: 24s; animation-delay: 18s; }
.particle-10 { left: 25%; animation-duration: 16s; animation-delay: 20s; }
.particle-11 { left: 35%; animation-duration: 20s; animation-delay: 22s; }
.particle-12 { left: 45%; animation-duration: 18s; animation-delay: 24s; }
.particle-13 { left: 55%; animation-duration: 22s; animation-delay: 26s; }
.particle-14 { left: 75%; animation-duration: 19s; animation-delay: 28s; }
.particle-15 { left: 85%; animation-duration: 20s; animation-delay: 30s; }
.particle-16 { left: 5%; animation-duration: 23s; animation-delay: 32s; }
.particle-17 { left: 95%; animation-duration: 17s; animation-delay: 34s; }
.particle-18 { left: 65%; animation-duration: 21s; animation-delay: 36s; }
.particle-19 { left: 35%; animation-duration: 19s; animation-delay: 38s; }
.particle-20 { left: 55%; animation-duration: 24s; animation-delay: 40s; }
.particle-21 { left: 25%; animation-duration: 18s; animation-delay: 42s; }
.particle-22 { left: 85%; animation-duration: 22s; animation-delay: 44s; }
.particle-23 { left: 15%; animation-duration: 20s; animation-delay: 46s; }
.particle-24 { left: 95%; animation-duration: 16s; animation-delay: 48s; }

/* Material Button */
.material-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: var(--fz-md);
    font-weight: 600;
    text-decoration: none;
    color: var(--green);
    background: transparent;
    border: 2px solid var(--green);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

.material-button:hover {
    color: var(--navy);
    background: var(--green);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
    transform: translateY(-2px);
}

.material-button .button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.material-button:active .button-ripple {
    animation: ripple 0.6s ease-out;
}


@media (prefers-reduced-motion: reduce) {
    .code-element,
    .gis-element,
    .particle,
    .grid-line {
        animation: none;
    }
}

/* Section Background Overlays for Contrast */
.section:not(.hero-section):not(.intro-section) {
    position: relative;
    z-index: 2;
}

/* About Section */
.about-section {
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2rem;
    right: -2rem;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(10, 25, 47, 0.25) 0%,
        rgba(17, 34, 64, 0.25) 50%,
        rgba(10, 25, 47, 0.25) 100%);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Experience Section */
.experience-section {
    position: relative;
}

    .experience-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: -2rem;
        right: -2rem;
        bottom: 0;
        background: linear-gradient(135deg, rgba(10, 25, 47, 0.25) 0%, rgba(17, 34, 64, 0.25) 50%, rgba(10, 25, 47, 0.25) 100%);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(100, 255, 218, 0.1);
        border-radius: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

/* Projects Section */
.projects-section {
    position: relative;
}

    .projects-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: -2rem;
        right: -2rem;
        bottom: 0;
        background: linear-gradient(135deg, rgba(10, 25, 47, 0.25) 0%, rgba(17, 34, 64, 0.25) 50%, rgba(10, 25, 47, 0.25) 100%);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(100, 255, 218, 0.15);
        border-radius: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        z-index: -1;
    }

/* Blog Section */
.blog-section {
    position: relative;
}

    .blog-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: -2rem;
        right: -2rem;
        bottom: 0;
        background: linear-gradient(135deg, rgba(10, 25, 47, 0.25) 0%, rgba(17, 34, 64, 0.25) 50%, rgba(10, 25, 47, 0.25) 100%);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(100, 255, 218, 0.1);
        border-radius: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

/* Contact Section */
.contact-section {
    position: relative;
}

    .contact-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: -2rem;
        right: -2rem;
        bottom: 0;
        background: linear-gradient(135deg, rgba(10, 25, 47, 0.25) 0%, rgba(17, 34, 64, 0.25) 50%, rgba(10, 25, 47, 0.25) 100%);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(100, 255, 218, 0.1);
        border-radius: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

/* Section Content Styling */
.section-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
}

/* Override existing section-content padding for sections with backgrounds */
.about-section .section-content,
.experience-section .section-content,
.projects-section .section-content,
.blog-section .section-content,
.contact-section .section-content {
    padding: 3rem 2rem;
}

/* Enhanced Section Headers */
.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--green), transparent);
    border-radius: 1px;
}

/* Glassmorphism Cards Enhancement */
.project-card,
.experience-panel,
.blog-post-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover,
.blog-post-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(100, 255, 218, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(100, 255, 218, 0.1);
}

/* Hero Section - Keep Transparent */
.hero-section,
.intro-section {
    margin-top: 10px;
    background: transparent;
    position: relative;
    z-index: 5;
}
.index-last-section {
    margin-bottom: 10px;
}
/* Admin Pages Background */
.admin-page {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    min-height: 100vh;
}

.admin-section {
    background: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    margin: 1rem 0;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Blog Page Background */
.blog-detail,
.blog-overview {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    margin: 1rem 0;
    padding: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-section::before,
    .experience-section::before,
    .projects-section::before,
    .blog-section::before,
    .contact-section::before {
        left: -1rem;
        right: -1rem;
        border-radius: 4px;
    }


    .admin-section {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }

    .blog-detail,
    .blog-overview {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
}

.cv-section-header {
    display: flex;
    align-items: center;
    position: relative;
    margin: 10px 0 40px;
    width: 100%;
    white-space: nowrap;
}

.cv-section-title {
    position: relative;
    margin: 0 0 10px 0;
    color: var(--lightest-slate);
    font-size: clamp(20px, 4vw, var(--fz-xxl));
    font-weight: 600;
    line-height: 1.1;
    font-family: var(--font-mono);
}

.cv-section-number {
    margin-right: 10px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-md), 3vw, var(--fz-lg));
    font-weight: 400;
}

.cv-section-title::after {
    content: '';
    display: block;
    position: relative;
    top: -5px;
    width: 300px;
    height: 1px;
    margin-left: 20px;
    background-color: var(--lightest-navy);
}

/* Timeline Styles */
.cv-timeline {
    position: relative;
}

.cv-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--lightest-navy);
}

.cv-timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cv-timeline-date {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    font-weight: 400;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.cv-timeline-content {
    min-width: 0;
}

.cv-timeline-header {
    margin-bottom: 15px;
}

.cv-position,
.cv-degree {
    margin: 0 0 5px 0;
    color: var(--lightest-slate);
    font-size: var(--fz-xl);
    font-weight: 600;
    line-height: 1.2;
}

.cv-company,
.cv-institution {
    margin: 0 0 5px 0;
    color: var(--green);
    font-size: var(--fz-lg);
    font-weight: 500;
}

.cv-location,
.cv-grade {
    display: inline-block;
    margin-top: 5px;
    color: var(--light-slate);
    font-size: var(--fz-sm);
    font-style: italic;
}

.cv-description {
    margin: 15px 0;
    color: var(--slate);
    line-height: 1.6;
}

.cv-list {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

.cv-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px;
    color: var(--slate);
    line-height: 1.5;
}

.cv-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: var(--fz-sm);
    line-height: 16px;
}

.cv-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.cv-tech-tag {
    padding: 4px 8px;
    background-color: var(--light-navy);
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xxs);
    border-radius: 3px;
    border: 1px solid var(--green);
}

/* Skills Section */
.cv-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.cv-skill-category {
    background-color: var(--light-navy);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
}

.cv-skill-category-title {
    margin: 0 0 20px 0;
    color: var(--lightest-slate);
    font-size: var(--fz-lg);
    font-weight: 600;
}

.cv-skill-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cv-skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cv-skill-name {
    color: var(--light-slate);
    font-size: var(--fz-sm);
}

.cv-skill-level {
    display: flex;
    gap: 4px;
}

.cv-skill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--lightest-navy);
    transition: var(--transition);
}

.cv-skill-dot.active {
    background-color: var(--green);
}

/* Projects Section */
.cv-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.cv-project-card {
    background-color: var(--light-navy);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
    transition: var(--transition);
}

.cv-project-card:hover {
    transform: translateY(-5px);
    border-color: var(--green);
}

.cv-project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.cv-project-name {
    margin: 0;
    color: var(--lightest-slate);
    font-size: var(--fz-lg);
    font-weight: 600;
    flex: 1;
}

.cv-project-date {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    margin-left: 15px;
}

.cv-project-description {
    margin: 15px 0;
    color: var(--slate);
    line-height: 1.6;
}

.cv-project-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.cv-project-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--light-slate);
    text-decoration: none;
    font-size: var(--fz-sm);
    transition: var(--transition);
}

.cv-project-link:hover {
    color: var(--green);
}

/* Certifications */
.cv-certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cv-cert-item {
    background-color: var(--light-navy);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
}

.cv-cert-name {
    margin: 0 0 8px 0;
    color: var(--lightest-slate);
    font-size: var(--fz-lg);
    font-weight: 600;
}

.cv-cert-org {
    margin: 0 0 5px 0;
    color: var(--green);
    font-size: var(--fz-md);
}

.cv-cert-date {
    margin: 0 0 10px 0;
    color: var(--light-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
}

.cv-cert-link {
    color: var(--green);
    text-decoration: none;
    font-size: var(--fz-sm);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.cv-cert-link:hover {
    border-bottom-color: var(--green);
}

/* Languages */
.cv-languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cv-language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
}

.cv-language-name {
    color: var(--lightest-slate);
    font-size: var(--fz-md);
    font-weight: 500;
}

.cv-language-level {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
}

/* Loading */
.cv-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    color: var(--slate);
}

.cv-loading p {
    margin-top: 20px;
    font-size: var(--fz-lg);
}

/* Responsive CV Styles */
@media (max-width: 768px) {
    .cv-header-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .cv-header-image {
        order: -1;
        max-width: 200px;
    }

    .cv-contact-info {
        justify-content: center;
    }

    .cv-timeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cv-timeline-date {
        position: static;
        margin-bottom: 10px;
    }

    .cv-section-title::after {
        width: 150px;
    }

    .cv-skills-grid,
    .cv-projects-grid,
    .cv-certifications-grid {
        grid-template-columns: 1fr;
    }

    .cv-project-header {
        flex-direction: column;
        align-items: start;
    }

    .cv-project-date {
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .cv-header-section {
        padding: 120px 0 60px;
    }

    .cv-section {
        padding: 60px 0;
    }

    .cv-section-title::after {
        width: 100px;
    }

    .cv-project-card,
    .cv-skill-category,
    .cv-cert-item {
        padding: 20px;
    }

    .cv-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Blog Carousel Dark Theme Styling */
.blog-carousel-container {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--lightest-navy) 100%);
    border-radius: 20px;
    padding: 40px 20px;
    margin: 20px 0;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05) 0%, rgba(100, 255, 218, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.modern-carousel {
    position: relative;
    z-index: 2;
}

.modern-carousel .mud-carousel-content {
    border-radius: 16px;
    overflow: hidden;
}

.modern-carousel .mud-button.mud-button-filled.mud-carousel-button {
    background: rgba(100, 255, 218, 0.1) !important;
    border: 1px solid var(--green) !important;
    color: var(--green) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    min-width: 50px;
    transition: all 0.3s var(--easing);
}

.modern-carousel .mud-button.mud-button-filled.mud-carousel-button:hover {
    background: rgba(100, 255, 218, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
}

.blog-card-dark {
    background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%) !important;
    border: 1px solid rgba(100, 255, 218, 0.2) !important;
    color: var(--lightest-slate) !important;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s var(--easing) !important;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.blog-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.03) 0%, rgba(100, 255, 218, 0.01) 100%);
    border-radius: inherit;
    pointer-events: none;
}

.blog-card-dark:hover {
    transform: translateY(-8px) !important;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(100, 255, 218, 0.1) !important;
    border-color: rgba(100, 255, 218, 0.4) !important;
}

.blog-card-dark .mud-card-media {
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.blog-card-dark .mud-typography {
    color: var(--lightest-slate) !important;
}

.blog-card-dark .mud-typography.mud-typography-h6 {
    color: var(--white) !important;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card-dark .mud-typography.mud-typography-subtitle2 {
    color: var(--slate) !important;
}

.blog-card-dark .mud-chip {
    background: rgba(100, 255, 218, 0.1) !important;
    color: var(--green) !important;
    border: 1px solid rgba(100, 255, 218, 0.3) !important;
    transition: all 0.2s ease;
}

.blog-card-dark .mud-chip:hover {
    background: rgba(100, 255, 218, 0.2) !important;
    transform: translateY(-1px);
}

.blog-card-dark .mud-button.mud-button-outlined {
    border-color: var(--green) !important;
    color: var(--green) !important;
    background: rgba(100, 255, 218, 0.05) !important;
    transition: all 0.3s var(--easing);
}

.blog-card-dark .mud-button.mud-button-outlined:hover {
    background: rgba(100, 255, 218, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.blog-card-dark .text-muted {
    color: var(--slate) !important;
}

.blog-card-dark .oi {
    color: var(--green) !important;
}

/* Enhanced blog carousel responsive design */
@media (max-width: 768px) {
    .blog-carousel-container {
        padding: 30px 15px;
        margin: 15px 0;
        border-radius: 16px;
    }

    .modern-carousel .mud-button.mud-button-filled.mud-carousel-button {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

@media (max-width: 600px) {
    .blog-carousel-container {
        padding: 20px 10px;
        border-radius: 12px;
    }
}

/* Footer Dark Theme Styling - Override MudBlazor defaults */
.portfolio-footer,
.portfolio-footer.mud-container,
.portfolio-footer .mud-container {
    background: linear-gradient(135deg, var(--navy) 0%, #0a1428 100%) !important;
    color: var(--light-slate) !important;
}

.portfolio-footer .mud-grid,
.portfolio-footer .mud-item {
    background: transparent !important;
}

.portfolio-footer .mud-text,
.portfolio-footer .mud-typography {
    color: var(--light-slate) !important;
}

.portfolio-footer .mud-button {
    color: var(--green) !important;
    border-color: var(--green) !important;
    background: transparent !important;
}

.portfolio-footer .mud-button:hover {
    background: rgba(100, 255, 218, 0.1) !important;
    color: var(--green) !important;
}

/* Ensure MudBlazor container doesn't override footer background */
.mud-main-content + .portfolio-footer,
.mud-layout .portfolio-footer {
    background: linear-gradient(135deg, var(--navy) 0%, #0a1428 100%) !important;
}

/* Impressum Page Styling */
.impressum-section {
    padding: 150px 0 100px;
    min-height: 80vh;
}

.impressum-card {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--lightest-navy) 100%);
    border-radius: 20px;
    padding: 60px 50px;
    margin: 40px 0;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
}

.impressum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05) 0%, rgba(100, 255, 218, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.impressum-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.2);
}

.impressum-content {
    position: relative;
    z-index: 2;
    color: var(--lightest-slate);
    font-size: var(--fz-lg);
    line-height: 1.8;
}

.impressum-content p {
    margin-bottom: 20px;
    color: var(--lightest-slate);
}

.impressum-content h2,
.impressum-content h3,
.impressum-content h4 {
    color: var(--white);
    margin: 30px 0 15px;
    font-weight: 600;
}

.impressum-content h2 {
    font-size: var(--fz-xxl);
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    padding-bottom: 10px;
}

.impressum-content h3 {
    font-size: var(--fz-xl);
    color: var(--green);
}

.impressum-content ul,
.impressum-content ol {
    padding-left: 30px;
    margin: 20px 0;
}

.impressum-content li {
    margin-bottom: 10px;
    color: var(--lightest-slate);
}

.impressum-content a {
    color: var(--green);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.impressum-content a:hover {
    color: var(--white);
    border-bottom-color: var(--green);
}

.impressum-image {
    margin-top: 40px;
    text-align: center;
}

.impressum-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

/* Responsive Design for Impressum */
@media (max-width: 768px) {
    .impressum-section {
        padding: 120px 0 80px;
    }

    .impressum-card {
        padding: 40px 30px;
        margin: 20px 0;
        border-radius: 16px;
    }

    .impressum-content {
        font-size: var(--fz-md);
    }
}

@media (max-width: 600px) {
    .impressum-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .impressum-content h2 {
        font-size: var(--fz-xl);
    }

    .impressum-content h3 {
        font-size: var(--fz-lg);
    }
}

/* Login Page Styling */
.login-section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.login-card {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--lightest-navy) 100%);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05) 0%, rgba(100, 255, 218, 0.02) 100%);
    border-radius: 24px;
    pointer-events: none;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.5),
        0 20px 35px rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.login-title {
    font-size: var(--fz-heading);
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.login-title .section-number {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-lg);
}

.login-subtitle {
    color: var(--light-slate);
    font-size: var(--fz-md);
    margin: 0;
    line-height: 1.5;
}

.login-form-container {
    position: relative;
    z-index: 2;
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: var(--lightest-slate);
    font-size: var(--fz-sm);
    font-weight: 500;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-size: var(--fz-md);
    transition: all 0.3s var(--easing);
    font-family: var(--font-sans);
}

.form-input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
    background: rgba(10, 25, 47, 0.9);
}

.form-input::placeholder {
    color: var(--slate);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.7;
    pointer-events: none;
}

.validation-message {
    color: #ff6b6b;
    font-size: var(--fz-xs);
    margin-top: 5px;
    font-family: var(--font-mono);
}

.login-button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--green) 0%, #4ade80 100%);
    border: none;
    border-radius: 12px;
    color: var(--navy);
    font-size: var(--fz-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.login-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
    background: linear-gradient(135deg, #4ade80 0%, var(--green) 100%);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.login-button:hover:not(:disabled) .button-icon {
    transform: translateX(5px);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--navy);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fz-sm);
}

.error-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.first-user-info {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--green);
    font-weight: 600;
}

.info-icon {
    font-size: 18px;
}

.first-user-info p {
    color: var(--lightest-slate);
    margin-bottom: 20px;
    line-height: 1.6;
}

.default-credentials {
    display: grid;
    gap: 12px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(10, 25, 47, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.credential-label {
    color: var(--light-slate);
    font-weight: 500;
    min-width: 100px;
}

.credential-item code {
    background: rgba(100, 255, 218, 0.1);
    color: var(--green);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

/* Responsive Design for Login */
@media (max-width: 768px) {
    .login-section {
        padding: 80px 20px;
    }

    .login-card {
        padding: 40px 30px;
        border-radius: 20px;
    }

    .login-title {
        font-size: var(--fz-xxl);
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .login-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }

    .login-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .form-input {
        padding: 12px 45px 12px 15px;
    }

    .login-button {
        padding: 15px 25px;
    }

    .credential-item {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }

    .credential-label {
        min-width: auto;
    }
}

/* Logout Page Styling */
.logout-section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-card {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--lightest-navy) 100%);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 400px;
    width: 100%;
}

.logout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05) 0%, rgba(100, 255, 218, 0.02) 100%);
    border-radius: 24px;
    pointer-events: none;
}

.logout-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.logout-card h2 {
    color: var(--white);
    font-size: var(--fz-xxl);
    margin-bottom: 15px;
    font-weight: 600;
}

.logout-card p {
    color: var(--light-slate);
    font-size: var(--fz-lg);
    margin-bottom: 30px;
    line-height: 1.6;
}

.logout-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--green);
    border-radius: 8px;
    color: var(--green);
    font-size: var(--fz-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

/* Unauthorized Page Styling */
.unauthorized-container {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%);
}

.unauthorized-card {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--lightest-navy) 100%);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 450px;
    width: 100%;
}

.unauthorized-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 107, 107, 0.02) 100%);
    border-radius: 24px;
    pointer-events: none;
}

.unauthorized-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.unauthorized-card h2 {
    color: var(--white);
    font-size: var(--fz-xxl);
    margin-bottom: 15px;
    font-weight: 600;
}

.unauthorized-card p {
    color: var(--light-slate);
    font-size: var(--fz-lg);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Responsive Design for Auth Pages */
@media (max-width: 768px) {
    .logout-card,
    .unauthorized-card {
        padding: 40px 30px;
        border-radius: 20px;
        margin: 0 20px;
    }

    .logout-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .logout-card,
    .unauthorized-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .logout-icon,
    .unauthorized-icon {
        font-size: 3rem;
    }
}

/* Admin Settings Page Styling */
.admin-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header-section {
    margin-bottom: 40px;
    text-align: center;
}

.admin-page-title {
    color: var(--white);
    font-size: var(--fz-heading);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.admin-icon {
    font-size: 2rem;
}

.admin-page-subtitle {
    color: var(--light-slate);
    font-size: var(--fz-lg);
    margin: 0;
}

.admin-settings-container {
    max-width: 800px;
    margin: 0 auto;
}

.settings-card {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--lightest-navy) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.settings-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05) 0%, rgba(100, 255, 218, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.settings-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.section-title {
    color: var(--white);
    font-size: var(--fz-xl);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    padding-bottom: 10px;
}

.section-icon {
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: var(--lightest-slate);
    font-size: var(--fz-md);
    font-weight: 500;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s var(--easing);
}

.input-group:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.input-prefix {
    padding: 15px 20px;
    background: rgba(100, 255, 218, 0.1);
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
    border-right: 1px solid rgba(100, 255, 218, 0.2);
    white-space: nowrap;
}

.input-group .form-input {
    border: none;
    background: transparent;
    flex: 1;
    padding: 15px 20px;
    color: var(--white);
    font-size: var(--fz-md);
}

.input-group .form-input:focus {
    outline: none;
    box-shadow: none;
}

.form-help {
    display: block;
    color: var(--slate);
    font-size: var(--fz-sm);
    margin-top: 8px;
    line-height: 1.5;
}

.form-help code {
    background: rgba(100, 255, 218, 0.1);
    color: var(--green);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--lightest-slate);
    font-size: var(--fz-md);
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--green);
}

.checkbox-text {
    user-select: none;
}

.info-section {
    background: rgba(10, 25, 47, 0.3);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--light-slate);
    font-weight: 500;
}

.info-value {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
}

.info-value.status-enabled {
    color: var(--green);
}

.info-value.status-disabled {
    color: #ff6b6b;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.btn-save {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--green) 0%, #4ade80 100%);
    border: none;
    border-radius: 12px;
    color: var(--navy);
    font-size: var(--fz-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-save:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.btn-save:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.alert-success {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    color: var(--green);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fz-md);
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fz-md);
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-slate);
}

.loading-spinner.large {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(100, 255, 218, 0.2);
    border-top: 3px solid var(--green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.button-icon {
    font-size: 1.1rem;
}

/* Responsive Design for Admin Settings */
@media (max-width: 768px) {
    .admin-content-wrapper {
        padding: 15px;
    }

    .settings-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .admin-page-title {
        font-size: var(--fz-xxl);
        flex-direction: column;
        gap: 10px;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-save,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }

    .input-group {
        flex-direction: column;
    }

    .input-prefix {
        width: 100%;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    }

    .info-item {
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }
}