/* ==========================================================================
   DESIGN TOKENS & RESET
   ========================================================================== */
:root {
    /* Color Palette (HSL Tailored) */
    --bg-primary: hsl(222, 47%, 6%);
    --bg-secondary: hsl(222, 47%, 9%);
    --bg-card: hsla(223, 47%, 12%, 0.5);
    --bg-nav: hsla(222, 47%, 6%, 0.7);
    
    --primary: hsl(217, 91%, 60%);
    --primary-glow: hsla(217, 91%, 60%, 0.35);
    --secondary: hsl(263, 90%, 65%);
    --secondary-glow: hsla(263, 90%, 65%, 0.3);
    --accent: hsl(327, 90%, 60%);
    
    --text-main: hsl(210, 38%, 95%);
    --text-muted: hsl(215, 20%, 65%);
    --text-inverse: hsl(222, 47%, 6%);
    
    --border-color: hsla(217, 30%, 30%, 0.25);
    --border-hover: hsla(217, 40%, 50%, 0.4);
    
    /* Layout Tokens */
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-secondary);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ==========================================================================
   UTILITY STYLES
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-alt {
    background-color: var(--bg-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary) 50%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-medium);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px 0 rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-medium);
}

.nav-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

#nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.contact-btn {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 8px 20px !important;
    color: #fff;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15);
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: scale(1.05);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 30px;
    margin-bottom: 25px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-frame {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    transition: var(--transition-medium);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    border-radius: var(--radius-md);
}

.profile-frame:hover {
    transform: translateY(-8px) rotate(1deg);
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(59, 130, 246, 0.25);
}

.floating-badge {
    position: absolute;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.badge-1 {
    top: 20px;
    left: -40px;
    border-left: 3px solid var(--accent);
}

.badge-2 {
    bottom: 20px;
    right: -40px;
    border-left: 3px solid var(--primary);
}

.floating-badge i {
    color: var(--primary);
}

.badge-1 i {
    color: var(--accent);
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 10px;
    position: relative;
}

.header-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text, .about-skills {
    padding: 40px;
}

.about-text h3, .about-skills h3 {
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hobbies-box {
    margin-top: 30px;
    padding: 20px;
    background: hsla(222, 47%, 4%, 0.4);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hobbies-box h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.hobbies-box p {
    font-size: 14px;
    margin-bottom: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.skill-tag {
    background: hsla(217, 91%, 60%, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: hsla(222, 47%, 4%, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.highlight-icon {
    font-size: 24px;
    color: var(--secondary);
}

.highlight-item h5 {
    font-size: 16px;
    margin-bottom: 3px;
}

.highlight-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   EDUCATION TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 40px;
}

.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 4px solid var(--bg-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 16px;
    top: 0;
    z-index: 1;
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-content {
    padding: 30px;
}

.timeline-date {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.timeline-sub {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 15px;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.timeline-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* ==========================================================================
   EXPERIENCE SECTION
   ========================================================================== */
.experience-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 30px;
}

.exp-logo-container {
    width: 80px;
    height: 80px;
    background: hsla(222, 47%, 4%, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.exp-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.exp-details h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.exp-org {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.exp-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.exp-bullets {
    padding-left: 18px;
    list-style-type: square;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exp-bullets li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   FEATURED PROJECT SHOWCASE
   ========================================================================== */
.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    padding: 40px;
    overflow: hidden;
}

.project-showcase:hover {
    transform: none; /* prevent global card hover translate */
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-project-img {
    width: 100%;
    height: 330px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    background: #000;
}

.main-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.project-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumb {
    width: 100%;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.thumb:hover, .thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-label {
    align-self: flex-start;
    padding: 4px 12px;
    background: hsla(327, 90%, 60%, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 15px;
}

.project-info h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.project-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.project-meta strong {
    color: var(--text-main);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.proj-tag {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.proj-tag i {
    margin-right: 5px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 15px;
}

.project-desc.font-italic {
    font-style: italic;
    color: var(--text-main);
    border-left: 3px solid var(--secondary);
    padding-left: 15px;
    margin: 15px 0;
}

.project-team h5 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.project-team ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.project-team li {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    padding-left: 12px;
}

.project-team li::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    left: 0;
    top: 8px;
}

/* ==========================================================================
   SWAG & EXPERIENCE GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-card {
    cursor: pointer;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition-medium);
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 28px;
    color: #fff;
    transform: scale(0.8);
    transition: transform var(--transition-medium);
}

.gallery-card:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-caption {
    padding: 15px 20px;
}

.gallery-caption h5 {
    font-size: 16px;
    margin-bottom: 2px;
}

.gallery-caption p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info, .contact-form-wrapper {
    padding: 40px;
}

.contact-info h3, .contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-sm);
    background: hsla(222, 47%, 4%, 0.3);
    border: 1px solid var(--border-color);
}

.info-link-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.info-link-item h5 {
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-muted);
}

.info-link-item p {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: hsla(222, 47%, 4%, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    background: hsla(222, 47%, 4%, 0.6);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 30px 0;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   LIGHTBOX / GALLERY MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 30, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid var(--border-color);
}

#lightbox-caption {
    margin-top: 15px;
    color: var(--text-main);
    font-size: 15px;
    text-align: center;
    max-width: 600px;
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 44px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* ==========================================================================
   ANIMATIONS & ENTRANCE EFFECTS
   ========================================================================== */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes reverseRotate {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(236, 72, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

/* Intersection Observer Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .project-showcase {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .menu-btn {
        display: block;
    }
    
    #nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: var(--transition-medium);
        border-top: 1px solid var(--border-color);
    }
    
    #nav-menu.open {
        left: 0;
    }
    
    #nav-menu ul {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
        align-items: stretch;
    }
    
    #nav-menu ul li {
        text-align: center;
    }
    
    .contact-btn {
        display: inline-block;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 55px;
    }
    
    .timeline-dot {
        left: -4px;
        width: 44px;
        height: 44px;
    }
    
    .main-project-img {
        height: 240px;
    }
    
    .about-text, .about-skills, .contact-info, .contact-form-wrapper {
        padding: 25px;
    }
    
    .experience-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }
    
    .exp-logo-container {
        margin: 0 auto;
    }
    
    .exp-bullets {
        padding-left: 0;
        list-style-type: none;
    }
    
    .floating-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .badge-1 {
        left: -10px;
        top: 10px;
    }
    
    .badge-2 {
        right: -10px;
        bottom: 10px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
