/* 
 * Dark Minimalist Modern Portfolio Stylesheet
 * Optimized for visual excellence and high performance
 */

:root {
    --bg-color: #000000;
    --navbar-bg: rgba(0, 0, 0, 0.85);
    --card-bg: #070709;
    --card-bg-hover: #0b0b0e;

    --text-color: #ffffff;
    --text-muted: #888899;
    --text-dimmed: #555566;

    --accent-blue: #00f3ff;
    --accent-blue-rgb: 0, 243, 255;
    --accent-green: #00ff66;
    --accent-green-rgb: 0, 255, 102;
    --accent-green-dim: rgba(0, 255, 102, 0.25);

    --border-glow: rgba(0, 243, 255, 0.15);
    --border-glow-hover: rgba(0, 255, 102, 0.4);

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

body.theme-red {
    --accent-blue: #ff3366;
    --accent-blue-rgb: 255, 51, 102;
    --accent-green: #ffa07a;
    --accent-green-rgb: 255, 160, 122;
    --accent-green-dim: rgba(255, 160, 122, 0.25);

    --border-glow: rgba(255, 51, 102, 0.15);
    --border-glow-hover: rgba(255, 160, 122, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

html {
    scroll-behavior: smooth;
    background-color: #000000;
}

body {
    background-color: #000000;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Animated Moving Gradient Lines Background System */
.bg-lines-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-color: #000000;
    background-image: 
        radial-gradient(ellipse 1200px 300px at 20% 15%, rgba(0, 243, 255, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 1200px 300px at 80% 35%, rgba(255, 51, 102, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 1200px 300px at 50% 55%, rgba(180, 70, 255, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 1200px 300px at 20% 75%, rgba(0, 255, 102, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 1200px 300px at 80% 90%, rgba(0, 243, 255, 0.3) 0%, transparent 70%);
    background-size: 200% 100%, 200% 100%, 200% 100%, 200% 100%, 200% 100%;
    background-position: 0% 0%, 25% 0%, 50% 0%, 75% 0%, 100% 0%;
    animation: gradientShift 15s ease-in-out infinite;
}

/* Grid Background */
.bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0;
    opacity: 0.3;
    display: none;
}

/* Animated Gradient Lines - Hidden (using background-image in container) */
.bg-line {
    display: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%, 25% 0%, 50% 0%, 75% 0%, 100% 0%;
    }
    50% {
        background-position: 100% 0%, 125% 0%, 150% 0%, 175% 0%, 200% 0%;
    }
}

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

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #111115;
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 20px 20px;
    position: relative;
    z-index: 1;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-logo {
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4em;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-sans);
    box-shadow: none;
}

.nav-btn:hover {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.user-icon:hover {
    transform: scale(1.08);
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.user-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#navToggleBtn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.3em;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
}

/* Dropdown Menu */
.dropdown-menu {
    position: fixed;
    top: 80px;
    right: 40px;
    background: rgba(8, 8, 10, 0.96);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    width: 280px;
    display: none;
    z-index: 1001;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(0, 243, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: slideDownMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu h3 {
    font-family: var(--font-heading);
    font-size: 1.1em;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-menu .contact-item {
    margin: 12px 0;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dropdown-menu .contact-item:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 243, 255, 0.03);
    transform: translateX(5px);
}

.dropdown-menu .contact-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88em;
    gap: 12px;
}

.dropdown-menu .contact-item:hover a {
    color: white;
}

.dropdown-menu .contact-item i {
    color: var(--accent-blue);
    font-size: 1.1em;
}

.theme-selector {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-selector h4 {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dimmed);
    margin-bottom: 12px;
}

.theme-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-label {
    font-size: 0.85em;
    color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #222225;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--card-bg-hover);
    border-color: var(--accent-blue);
}

input:checked+.slider:before {
    transform: translateX(24px);
    background-color: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
}

/* Sections Configuration */
section {
    margin: 60px 0;
    padding: 60px;
    background: rgba(7, 7, 9, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid var(--border-glow);
    box-shadow: inset 0 0 25px rgba(0, 243, 255, 0.03), 0 20px 40px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

section:hover {
    background: rgba(11, 11, 14, 0.8);
    border-color: var(--border-glow-hover);
    box-shadow: inset 0 0 25px rgba(0, 255, 102, 0.04), 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 243, 255, 0.08);
}

section:not(#home) {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

section>h2,
.about-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2em;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
    position: relative;
    padding-bottom: 16px;
}

section>h2::after,
.about-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border-radius: 2px;
    transform: translateX(-50%);
}

p.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95em;
    margin-bottom: 40px;
    margin-top: 15px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

/* Scroll Reveal Animation */
section {
    opacity: 0;
    transform: translateY(30px);
    animation: revealSection 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

section:nth-child(1) {
    animation-delay: 0s;
}

section:nth-child(2) {
    animation-delay: 0.1s;
}

section:nth-child(3) {
    animation-delay: 0.15s;
}

section:nth-child(4) {
    animation-delay: 0.2s;
}

section:nth-child(5) {
    animation-delay: 0.25s;
}

section:nth-child(6) {
    animation-delay: 0.3s;
}

section:nth-child(7) {
    animation-delay: 0.35s;
}

@keyframes revealSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
#home {
    background: radial-gradient(circle at 80% 20%, rgba(0, 243, 255, 0.05) 0%, transparent 60%), rgba(7, 7, 9, 0.75);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.home-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    width: 100%;
    align-items: center;
}

.home-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-blue);
    margin-bottom: 12px;
    background: rgba(0, 243, 255, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(0, 243, 255, 0.15);
}

.hero-role {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.2em;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.2em;
    color: var(--accent-green);
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05em;
    max-width: 520px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95em;
    padding: 14px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #00a2ff 100%);
    color: #000000;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 243, 255, 0.5);
}

.action-btn.secondary {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.action-btn.secondary:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 102, 0.15);
}

/* Hanging ID Card */
.home-hero-right {
    display: flex;
    justify-content: center;
    position: relative;
    height: 420px;
}

.id-card-wrapper {
    position: absolute;
    top: -60px;
    /* Connects strap to the top fold of section */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.id-card-strap {
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, #111115 0%, var(--accent-blue) 100%);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.id-card-clip {
    width: 16px;
    height: 16px;
    background: #222228;
    border: 2px solid var(--accent-blue);
    border-radius: 4px;
    margin-top: -2px;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
    z-index: 2;
}

.id-card {
    width: 220px;
    background: rgba(7, 7, 9, 0.95);
    border: 1.5px solid var(--accent-blue);
    border-radius: 16px;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.08), 0 15px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
    animation: swingCard 5s ease-in-out infinite alternate;
    margin-top: -2px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes swingCard {
    0% {
        transform: rotate(1.5deg) translateY(0);
    }

    100% {
        transform: rotate(-1.5deg) translateY(-2px);
    }
}

.id-card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.65em;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.card-chip {
    width: 24px;
    height: 18px;
    background: linear-gradient(135deg, #e5c060 0%, #b38f2d 100%);
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.id-card-photo {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    border: 2px solid var(--accent-blue);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.id-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-card-info {
    text-align: center;
    width: 100%;
}

.id-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.05em;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.card-role {
    font-size: 0.75em;
    color: var(--accent-green);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.card-dept {
    font-size: 0.7em;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.id-card-barcode {
    height: 20px;
    display: flex;
    justify-content: center;
    gap: 2px;
    width: 100%;
    opacity: 0.7;
    margin-top: 10px;
}

.barcode-line {
    width: 2px;
    height: 100%;
    background: var(--text-muted);
}

.barcode-line:nth-child(2n) {
    width: 3px;
}

.barcode-line:nth-child(3n) {
    width: 1px;
}

.barcode-line:nth-child(4n) {
    width: 4px;
}

/* Biography */
.about-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.about-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 76px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.01);
}

.about-item:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 243, 255, 0.02);
    transform: translateX(10px);
    box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.04);
}

.about-item.expanded {
    max-height: 200px;
    border-color: var(--accent-green);
    background: rgba(0, 255, 102, 0.02);
    box-shadow: inset 0 0 15px rgba(0, 255, 102, 0.04);
}

.item-indicator {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: var(--accent-blue);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.about-item:hover .item-indicator {
    color: white;
    background: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transform: rotate(90deg);
}

.about-item.expanded .item-indicator {
    color: #000;
    background: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
    transform: rotate(-90deg);
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-content strong {
    font-family: var(--font-heading);
    font-size: 1em;
    color: white;
    letter-spacing: 0.5px;
}

.item-content span {
    font-size: 0.9em;
    color: var(--text-muted);
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}

.about-item.expanded .item-content span {
    opacity: 1;
    max-height: 100px;
}

/* Achievement */
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.achievement-item:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 243, 255, 0.02);
    transform: translateX(10px);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.04), 0 0 20px rgba(0, 243, 255, 0.05);
}

.achievement-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: var(--accent-blue);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.achievement-item:hover .achievement-icon {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 15px var(--accent-blue);
    transform: rotate(15deg) scale(1.1);
}

.achievement-content {
    flex: 1;
}

.achievement-content strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05em;
    color: white;
    margin-bottom: 4px;
}

.achievement-desc {
    font-size: 0.88em;
    color: var(--text-muted);
}

.achievement-badge {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9em;
    color: var(--accent-green);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.achievement-item:hover .achievement-badge {
    opacity: 1;
    text-shadow: 0 0 10px var(--accent-green);
}

/* Documentation */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.doc-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.doc-card:hover {
    border-color: var(--accent-green);
    background: rgba(0, 255, 102, 0.02);
    transform: translateY(-10px);
    box-shadow: inset 0 0 20px rgba(0, 255, 102, 0.05), 0 15px 35px rgba(0, 0, 0, 0.7);
}

.doc-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.doc-icon i {
    font-size: 1.8em;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.doc-card:hover .doc-icon {
    background: var(--accent-green-dim);
    transform: scale(1.1);
}

.doc-card:hover .doc-icon i {
    color: var(--accent-green);
    transform: scale(1.1) rotate(15deg);
}

.doc-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.doc-card p {
    font-size: 0.88em;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.doc-card:hover .doc-link {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(0, 255, 102, 0.05);
}

.doc-link:hover {
    background: var(--accent-green) !important;
    color: black !important;
    box-shadow: 0 0 15px var(--accent-green);
}

.doc-links-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: auto;
}

.doc-links-group .doc-link {
    flex: 1;
    justify-content: center;
    padding: 8px 12px;
}

/* Hobbies */
.hobby-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.hobby-icon {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.hobby-icon:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 243, 255, 0.02);
    transform: translateY(-8px);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.04), 0 0 20px rgba(0, 243, 255, 0.1);
}

.hobby-icon i {
    font-size: 2.5em;
    color: var(--accent-blue);
    margin-bottom: 12px;
    display: block;
    transition: all 0.3s ease;
}

.hobby-icon:hover i {
    transform: rotate(15deg) scale(1.15);
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
}

.hobby-icon p {
    font-weight: 600;
    font-size: 0.95em;
    color: white;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.skill-card:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 243, 255, 0.02);
    transform: translateY(-8px);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05), 0 0 20px rgba(0, 243, 255, 0.1);
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25em;
    color: white;
    margin-bottom: 16px;
}

.skill-info {
    margin-bottom: 12px;
}

.skill-info label {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dimmed);
}

.skill-info span {
    display: block;
    font-weight: 500;
    font-size: 0.9em;
    color: var(--text-muted);
}

.skill-level {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    color: var(--accent-blue);
    font-size: 0.8em;
    font-weight: 700;
}

.skill-card:hover .skill-level {
    background: var(--accent-blue);
    color: black;
    box-shadow: 0 0 10px var(--accent-blue);
}

/* Contact Section */
.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-list .contact-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.contact-list .contact-item:hover {
    border-color: var(--accent-green);
    background: rgba(0, 255, 102, 0.02);
    transform: translateY(-5px);
    box-shadow: inset 0 0 20px rgba(0, 255, 102, 0.04), 0 0 20px rgba(0, 255, 102, 0.1);
}

.contact-list .contact-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-muted);
}

.contact-list .contact-item:hover a {
    color: white;
}

.contact-list .contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.contact-list .contact-item:hover i {
    background: var(--accent-green);
    color: black;
    box-shadow: 0 0 15px var(--accent-green);
    transform: scale(1.1);
}

.contact-list .contact-item span {
    font-size: 0.9em;
    font-weight: 500;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    background: #08080a;
    border: 1px solid var(--accent-blue);
    margin: 15% auto;
    padding: 35px;
    width: 85%;
    max-width: 480px;
    border-radius: 20px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.9);
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent-blue);
}

#modalTitle {
    font-family: var(--font-heading);
    font-size: 1.4em;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-align: center;
}

#modalTitle::after {
    display: none;
}

#modalMessage {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.contact-btn {
    font-family: var(--font-sans);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 20px;
    font-size: 0.9em;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.contact-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.footer-menu {
    display: none;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.footer-menu.show {
    display: flex;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.85em;
    font-weight: 500;
}

.footer-menu a:hover {
    border-color: var(--accent-blue);
    color: white;
    background: rgba(0, 243, 255, 0.03);
    transform: translateY(-2px);
}

/* Animations */
@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .home-hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .home-hero-left {
        align-items: center;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-right {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 6, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        display: none;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-btn {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .nav-btn:hover {
        background: rgba(255, 255, 255, 0.02);
    }

    #navToggleBtn {
        display: block;
    }

    section {
        padding: 30px 20px;
    }

    .hero-role {
        font-size: 2.4em;
    }

    .hero-name {
        font-size: 1.8em;
    }

    .dropdown-menu {
        right: 20px;
        width: calc(100% - 40px);
        max-width: 320px;
    }

    .docs-grid,
    .skills-grid,
    .contact-list {
        grid-template-columns: 1fr;
    }

    .doc-card {
        min-height: auto;
    }
}

/* Scroll Reveal Animations */
section.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

section.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
