:root {
    --primary: #0f0f0f;
    --secondary: #171717;
    --accent: #242322;
    --accent-rose: #c7bda8;
    --accent-pink: #d8d0bf;
    --highlight: #e2d6c4;
    --text-light: #f2ede4;
    --text-muted: #bdb4a7;
    --text-dark: #1c1a17;
    --border: #3a3631;
    --card-bg: rgba(20, 18, 16, 0.86);
    --overlay: rgba(12, 10, 9, 0.92);
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    background: linear-gradient(135deg, var(--primary) 0%, #141312 45%, var(--secondary) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(18, 17, 16, 0.88);
    border-bottom: 1px solid rgba(226, 214, 196, 0.25);
    backdrop-filter: blur(18px);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.nav-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--highlight);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 2px;
    animation: floatGlow 3s ease-in-out infinite;
    font-family: var(--font-body);
}

@keyframes floatGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(226, 214, 196, 0.2));
        transform: translateY(0);
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(226, 214, 196, 0.3));
        transform: translateY(-3px);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--highlight), var(--accent-rose));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--highlight);
    text-shadow: 0 0 6px rgba(226, 214, 196, 0.25);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--highlight);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Header Social Links */
.nav-right .social-links {
    display: flex;
    gap: 1rem;
}

.nav-right .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.12) 0%, rgba(195, 185, 170, 0.08) 100%);
    color: var(--highlight);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(226, 214, 196, 0.35);
    font-size: 1rem;
}

.nav-right .social-link:hover {
    background: rgba(226, 214, 196, 0.2);
    border-color: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: var(--highlight);
}

/* Main Content */
main {
    padding-top: 80px;
}

.home-hero {
    overflow: visible;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 980px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
}

.hero-portrait {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    isolation: isolate;
    border-radius: 28px;
    background: radial-gradient(circle at 30% 20%, rgba(226, 214, 196, 0.16), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(195, 185, 170, 0.12), transparent 60%);
    border: 1px solid rgba(226, 214, 196, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

#portrait-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 2;
}

.portrait-glow {
    position: absolute;
    inset: -20%;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(226, 214, 196, 0.16), transparent 60%);
    filter: blur(16px);
    opacity: 0.7;
}

.section {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 8rem 0;
position: relative;
overflow: hidden;
}

/* Photography page: allow the gallery to extend past the viewport and scroll normally */
.photography-page .section {
    overflow: visible;
    align-items: flex-start;
    min-height: auto;
}

.section::before {
    content: '';
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.header-underline {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--highlight) 0%, var(--accent-rose) 100%);
    margin: 0 auto;
    border-radius: 1px;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 3rem 0 2rem 0;
    display: flex;
    align-items: center;
    font-family: var(--font-body);
}

.subsection-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(226, 214, 196, 0.6), transparent);
    margin-left: 1.5rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0 2rem 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.section-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-rose) 55%, #b7ada0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: slideInDown 0.8s ease-out;
    font-family: var(--font-body);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* Hero Section */
#home {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero-text {
    text-align: left;
    max-width: 900px;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-family: var(--font-display);
    font-style: normal;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-text h1 span {
    background: linear-gradient(90deg, var(--highlight) 0%, var(--accent-rose) 55%, #b7ada0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: 1.3rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.description {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    letter-spacing: -0.005em;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn {
    padding: 1.2rem 2.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 214, 196, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-rose) 100%);
    color: #1c1a17;
    border-color: var(--highlight);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.8px;
}

.btn-secondary {
    background: transparent;
    color: var(--highlight);
    border-color: var(--highlight);
    box-shadow: inset 0 0 20px rgba(226, 214, 196, 0.12);
}

.btn-secondary:hover {
    background: rgba(226, 214, 196, 0.18);
    transform: translateY(-2px);
    box-shadow: inset 0 0 20px rgba(226, 214, 196, 0.18), 0 0 24px rgba(0, 0, 0, 0.25);
}

/* About Section */
#about {
    background: var(--primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.3) 0%, rgba(45, 45, 45, 0.2) 100%);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out;
}

.about-content p:first-child {
    animation-delay: 0.1s;
}

.about-content p:nth-child(2) {
    animation-delay: 0.2s;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    padding-left: 1.5rem;
    border-left: 3px solid var(--highlight);
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.expertise-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.expertise-card {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.5) 0%, rgba(45, 45, 45, 0.3) 100%);
    border: 2px solid var(--border);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.expertise-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.expertise-card:nth-child(3) {
    animation-delay: 0.3s;
}

.expertise-card:nth-child(4) {
    animation-delay: 0.4s;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(226, 214, 196, 0.12) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.expertise-card:hover::before {
    opacity: 1;
    top: -25%;
    right: -25%;
}

.expertise-card:hover {
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.16) 0%, rgba(195, 185, 170, 0.1) 100%);
    transform: translateY(-12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(226, 214, 196, 0.12);
}

.card-icon {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(141, 168, 255, 0.35));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.expertise-card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 16px rgba(226, 214, 196, 0.35));
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.expertise-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: -0.3px;
    font-family: var(--font-body);
}

.expertise-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Work Grid and Cards */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.work-card {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.6) 0%, rgba(58, 58, 58, 0.4) 100%);
    border: 2px solid var(--border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.work-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(226, 214, 196, 0.12) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.work-card:hover::before {
    opacity: 1;
    top: -25%;
    right: -25%;
}

.work-card:hover {
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.14) 0%, rgba(195, 185, 170, 0.12) 100%);
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(226, 214, 196, 0.12);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-year {
    color: var(--highlight);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.work-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.3;
    font-family: var(--font-body);
}

.work-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tags span {
    background: rgba(226, 214, 196, 0.12);
    border: 1px solid rgba(226, 214, 196, 0.3);
    color: var(--highlight);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.work-card:hover .tech-tags span {
    background: rgba(226, 214, 196, 0.2);
    border-color: var(--highlight);
}

.skills-showcase {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.5) 0%, rgba(45, 45, 45, 0.3) 100%);
    border: 2px solid var(--border);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
}

.skills-showcase h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.skills-row .skill-badge {
    flex: 0 1 auto;
}

.skill-badge {
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.12) 0%, rgba(185, 176, 164, 0.1) 100%);
    border: 1px solid rgba(226, 214, 196, 0.45);
    padding: 0.9rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    color: var(--highlight);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.skill-badge:nth-child(1) {
    animation-delay: 0.1s;
}

.skill-badge:nth-child(2) {
    animation-delay: 0.15s;
}

.skill-badge:nth-child(3) {
    animation-delay: 0.2s;
}

.skill-badge:nth-child(4) {
    animation-delay: 0.25s;
}

.skill-badge:nth-child(5) {
    animation-delay: 0.3s;
}

.skill-badge:nth-child(6) {
    animation-delay: 0.35s;
}

.skill-badge:nth-child(7) {
    animation-delay: 0.4s;
}

.skill-badge:nth-child(8) {
    animation-delay: 0.45s;
}

.skill-badge:nth-child(9) {
    animation-delay: 0.5s;
}

.skill-badge:nth-child(10) {
    animation-delay: 0.55s;
}

.skill-badge:nth-child(11) {
    animation-delay: 0.6s;
}

.skill-badge:nth-child(12) {
    animation-delay: 0.65s;
}

.skill-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 214, 196, 0.25), transparent);
    transition: left 0.5s ease;
}

.skill-badge:hover {
    border-color: var(--accent-rose);
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.22) 0%, rgba(195, 185, 170, 0.16) 100%);
    transform: translateY(-8px);
    color: var(--text-light);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.skill-badge:hover::before {
    left: 100%;
}

.skill-item {
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.18) 0%, rgba(195, 185, 170, 0.12) 100%);
    border: 2px solid var(--highlight);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    color: var(--highlight);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 214, 196, 0.25), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-rose) 100%);
    color: var(--primary);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

/* Work Section */
#work {
    background: var(--secondary);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.project-item {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.6) 0%, rgba(45, 45, 45, 0.4) 100%);
    border: 2px solid var(--border);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.1) 0%, rgba(195, 185, 170, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-item:hover {
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.12) 0%, rgba(195, 185, 170, 0.08) 100%);
    transform: translateY(-15px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.project-item:hover::after {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.project-header h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    flex: 1;
    line-height: 1.3;
}

.project-year {
    color: var(--accent-rose);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 1px;
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
    flex-grow: 1;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

#testing
#testing2

.tag {
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.12) 0%, rgba(195, 185, 170, 0.07) 100%);
    border: 1.5px solid var(--highlight);
    color: var(--highlight);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.tag:hover {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-rose) 100%);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
#contact {
    background: var(--primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    border-left: 3px solid var(--highlight);
    padding-left: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.5) 0%, rgba(45, 45, 45, 0.3) 100%);
    border: 2px solid var(--border);
    padding: 1.8rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
   
.detail-item:hover {
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.12) 0%, rgba(195, 185, 170, 0.08) 100%);
    transform: translateX(10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.detail-item strong {
    color: var(--highlight);
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.detail-item p {
    color: var(--text-light);
}

.social-section h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.15) 0%, rgba(195, 185, 170, 0.1) 100%);
    color: var(--highlight);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--highlight);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--highlight);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.5) 0%, rgba(58, 58, 58, 0.3) 100%);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.form-group.focused label,
.form-group.filled label {
    color: var(--highlight);
    font-size: 0.9rem;
    transform: translateY(-10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.12) 0%, rgba(195, 185, 170, 0.08) 100%);
    box-shadow: 0 0 0 4px rgba(226, 214, 196, 0.15), inset 0 0 20px rgba(226, 214, 196, 0.05);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    font-family: var(--font-body);
}

.form-error {
    color: #e67e7e;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.char-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    transition: color 0.3s ease;
}

.contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.contact-form button:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form button:active {
    transform: scale(0.98);
}

.form-message {
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    display: block;
    background: rgba(226, 214, 196, 0.15);
    color: var(--highlight);
    border: 2px solid var(--accent-pink);
}

.form-message.error {
    display: block;
    background: rgba(230, 126, 126, 0.15);
    color: #e67e7e;
    border: 2px solid #e67e7e;
}

/* Interests Section */
.interests-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.interest-card {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.4) 0%, rgba(58, 58, 58, 0.2) 100%);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.interest-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.interest-card:nth-child(3) {
    animation-delay: 0.3s;
}

.interest-card:nth-child(4) {
    animation-delay: 0.4s;
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.1) 0%, rgba(195, 185, 170, 0.05) 100%);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.interest-card:hover::before {
    left: 0;
}

.interest-card:hover {
    border-color: var(--highlight);
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.interest-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-pink) 100%);
    border-radius: 15px;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.interest-card:hover .interest-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.interest-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.interest-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Photography Gallery Section */
#photography {
    background: var(--secondary);
}

.gallery-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-intro p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* Photography Gallery Section */
#photography {
    background: var(--secondary);
}

.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Masonry Grid Layout - Using CSS Columns for better packing */
.gallery-grid {
    column-count: 5;
    column-gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    break-inside: avoid;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin-bottom: 12px;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    z-index: 10;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: contain;
}

.gallery-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 10, 9, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: transparent;
}

.lightbox-title {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: 1rem;
    font-family: var(--font-body);
}

.lightbox-title:empty {
    display: none;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-light);
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.close-btn:hover {
    color: var(--highlight);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(226, 214, 196, 0.75);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

.lightbox-nav:hover {
    background: var(--accent-rose);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 1400px) {
    .gallery-grid {
        column-count: 4;
        column-gap: 10px;
        max-width: 1000px;
    }
    
    .gallery-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 4;
        column-gap: 8px;
        max-width: 900px;
    }
    
    .gallery-item {
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 3;
        column-gap: 6px;
        max-width: 600px;
    }
    
    .gallery-item {
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 4px;
        max-width: 100%;
    }
    
    .gallery-item {
        margin-bottom: 4px;
    }
}

.gallery-btn:hover {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--highlight) 100%);
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.gallery-item h3 {
    padding: 1.8rem 1.8rem 0.5rem;
    color: var(--text-light);
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.photo-category {
    padding: 0 1.8rem 1.8rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.98);
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#lightbox-image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.55);
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-title {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.3rem;
    text-align: center;
    max-width: 80%;
    letter-spacing: 0.5px;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

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

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--highlight);
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
    line-height: 1;
}

.close-btn:hover {
    color: var(--accent-rose);
    transform: scale(1.15) rotate(90deg);
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.45));
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(226, 214, 196, 0.12);
    border: 1px solid var(--highlight);
    color: var(--highlight);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(226, 214, 196, 0.2);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
        height: 70px;
    }

    .nav-left {
        gap: 1.5rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--primary);
        border-bottom: 2px solid var(--border);
        gap: 0;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        display: block;
    }

    .nav-right {
        gap: 1rem;
    }

    .nav-right .social-links {
        display: none;
    }

    .nav-right .social-links.mobile-active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        justify-content: center;
        padding: 1rem 0;
        background: var(--primary);
        border-bottom: 2px solid var(--border);
    }

    .menu-toggle {
        display: flex;
    }

    .section {
        padding: 2.5rem 1.5rem;
        min-height: auto;
        padding-top: 100px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .expertise-cards {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .section {
        padding: 1.5rem;
        padding-top: 90px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .project-item {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-tags {
        gap: 0.5rem;
    }

    .tag {
        font-size: 0.7rem;
    }

    .contact-container {
        gap: 1.5rem;
    }

    .lightbox-close {
        font-size: 35px;
    }
}

/* Experience Page Styles */
.experience-section {
    margin-bottom: 4rem;
}

/* Education Card */
.education-card {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.4) 0%, rgba(45, 45, 45, 0.3) 100%);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.education-card:hover {
    border-color: var(--highlight);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.edu-info h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.edu-location {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: right;
    flex-shrink: 0;
}

.edu-period {
    text-align: right;
    flex-shrink: 0;
}

.edu-dates {
    color: var(--highlight);
    font-weight: 600;
    font-size: 0.9rem;
}

.edu-details {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.edu-degree {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Experience Accordion */
.experience-accordion {
    margin-top: 2rem;
}

.accordion-item {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.6) 0%, rgba(58, 58, 58, 0.4) 100%);
    border: 2px solid var(--border);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--highlight);
}

.accordion-item.active {
    border-color: var(--highlight);
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.12) 0%, rgba(195, 185, 170, 0.08) 100%);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(226, 214, 196, 0.06);
}

.exp-header-info h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: var(--font-body);
}

.exp-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.accordion-icon {
    color: var(--highlight);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.exp-details {
    padding: 0 2rem 2rem 2rem;
}

.exp-achievements {
    list-style: none;
    margin-bottom: 1.5rem;
}

.exp-achievements li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.exp-achievements li::before {
    content: '▸';
    color: var(--highlight);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: rgba(226, 214, 196, 0.12);
    border: 1px solid rgba(226, 214, 196, 0.3);
    color: var(--highlight);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accordion-item.active .tech-tags span {
    background: rgba(226, 214, 196, 0.2);
    border-color: var(--highlight);
}

/* Responsive Experience Styles */
@media (max-width: 768px) {
    .edu-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .edu-period {
        text-align: left;
    }
    
    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    .exp-details {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .exp-header-info h4 {
        font-size: 1rem;
    }
}

/* Work Choices Modal */
.work-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: 2px solid var(--highlight);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.work-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--highlight);
    transform: rotate(90deg);
    background: rgba(226, 214, 196, 0.1);
}

.modal-content h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.modal-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.choice-card {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.4) 0%, rgba(45, 45, 45, 0.3) 100%);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(226, 214, 196, 0.1) 0%, rgba(195, 185, 170, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.choice-card:hover {
    border-color: var(--highlight);
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    color: var(--text-light);
}

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

.choice-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-pink) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.choice-card:hover .choice-icon {
    transform: scale(1.1) rotate(5deg);
}

.choice-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.choice-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-choices {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .choice-card {
        padding: 1.5rem;
    }
    
    .modal-content h3 {
        font-size: 1.5rem;
    }
}

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


/* Contact Page Styling */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 0.35);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Ripple Effect */
.contact-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(226, 214, 196, 0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.contact-card:hover::before {
    transform: translate(-50%, -50%) scale(2.5);
}

.contact-card:hover {
    border-color: var(--highlight);
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(226, 214, 196, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-pink) 100%);
    border-radius: 12px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
}

.contact-text,
.contact-link {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--highlight);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

.social-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 0.35);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.5s;
}

.social-section h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.social-section .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--highlight);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(226, 214, 196, 0.12);
    border: 2px solid transparent;
}

.social-link i {
    font-size: 1.6rem;
    display: block;
}

.social-link:hover {
    background: rgba(226, 214, 196, 0.2);
    border-color: var(--highlight);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.15);
    border-radius: 15px;
    padding: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

/* Responsive Contact Layout */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .social-link {
        flex-direction: row;
    }

    .contact-form-wrapper,
    .social-section {
        padding: 1.5rem;
    }
}

/* Interests Page Styling */
.interests-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.interest-block {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.4) 0%, rgba(58, 58, 58, 0.2) 100%);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interest-block:nth-child(1) {
    animation-delay: 0.1s;
}

.interest-block:nth-child(2) {
    animation-delay: 0.2s;
}

.interest-block:nth-child(3) {
    animation-delay: 0.3s;
}

.interest-block:nth-child(4) {
    animation-delay: 0.4s;
}

.block-content {
    text-align: center;
    position: absolute;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.block-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight) 0%, var(--accent-pink) 100%);
    border-radius: 15px;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.interest-block:hover .block-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.block-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.block-content h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.block-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: all 0.3s ease;
}

/* Photo Circle - Circular arrangement of images */
/* Photo Circle - Circular arrangement of images */
/* Photo Circle - Circular arrangement of images */
.photo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none !important;
    /* Critical for hover stability */
    z-index: 5;
}

.interest-block:hover .photo-circle {
    opacity: 1;
}

.circle-photo {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
    pointer-events: none !important;
    /* Critical for hover stability */
}

.interest-block:hover .circle-photo {
    opacity: 1;
}

/* Center Link Button */
.center-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--highlight);
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    pointer-events: auto !important;
    /* Enable clicks on the button */
    border: 2px solid var(--highlight);
    cursor: pointer;
}

.center-link:hover {
    background: var(--highlight);
    color: white;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.interest-block:hover .center-link {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* Position images in a circle on HOVER */
.interest-block:hover .circle-photo:nth-child(1) {
    transform: translate(0, -130px) rotate(0deg) scale(1);
    transition-delay: 0.1s;
}

.interest-block:hover .circle-photo:nth-child(2) {
    transform: translate(123px, -40px) rotate(0deg) scale(1);
    transition-delay: 0.15s;
}

.interest-block:hover .circle-photo:nth-child(3) {
    transform: translate(76px, 105px) rotate(0deg) scale(1);
    transition-delay: 0.2s;
}

.interest-block:hover .circle-photo:nth-child(4) {
    transform: translate(-76px, 105px) rotate(0deg) scale(1);
    transition-delay: 0.25s;
}

.interest-block:hover .circle-photo:nth-child(5) {
    transform: translate(-123px, -40px) rotate(0deg) scale(1);
    transition-delay: 0.3s;
}

.interest-block:hover .block-content {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* Responsive Interests */
@media (max-width: 1024px) {
    .interests-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .circle-photo {
        width: 80px;
        height: 80px;
    }

    .interest-block:hover .circle-photo:nth-child(1) {
        transform: translate(0, -110px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(2) {
        transform: translate(104px, -34px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(3) {
        transform: translate(64px, 89px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(4) {
        transform: translate(-64px, 89px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(5) {
        transform: translate(-104px, -34px) rotate(0deg) scale(1);
    }
}

@media (max-width: 768px) {
    .interests-blocks {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .circle-photo {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }

    .interest-block {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }

    .interest-block:hover .circle-photo:nth-child(1) {
        transform: translate(0, -95px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(2) {
        transform: translate(90px, -29px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(3) {
        transform: translate(55px, 77px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(4) {
        transform: translate(-55px, 77px) rotate(0deg) scale(1);
    }

    .interest-block:hover .circle-photo:nth-child(5) {
        transform: translate(-90px, -29px) rotate(0deg) scale(1);
    }
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--highlight) 0%, var(--accent-pink) 100%);
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.35);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-pink) 0%, var(--highlight) 100%);
}