/* ==============================================
   NIMFA L. BALIMBIN — PERSONAL PORTFOLIO
   Color Palette:
   #4A3267 — Primary Deep Purple
   #DE638A — Secondary Pink/Magenta
   #F7B9C4 — Soft Pink (cards/bars)
   #F3D9E5 — Light Pink (section backgrounds)
   #C6BADE — Lavender (borders, light text)
   ============================================== */

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple:   #4A3267;
    --pink:     #DE638A;
    --softpink: #F7B9C4;
    --lightpink:#F3D9E5;
    --lavender: #C6BADE;
    --white:    #FFFFFF;
    --text-dark:#2E1E3A;
    --text-mid: #5B4E6A;
    --text-soft:#8A7B9A;
    --card-bg:  #FFFFFF;
    --nav-h:    70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fdf4f8;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== TOP NAVIGATION ========== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1.5px solid var(--lightpink);
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.top-nav.scrolled {
    box-shadow: 0 4px 20px rgba(74,50,103,0.12);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--pink);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-link {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 0.8rem;
}

.nav-link:hover {
    color: var(--pink);
    background: var(--lightpink);
}

.nav-link.active {
    background: var(--purple);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--purple);
    cursor: pointer;
    padding: 4px 8px;
}

/* ========== MAIN LAYOUT ========== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 2rem) 2rem 0;
}

.section {
    padding: 5rem 0;
    scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.section.bg-alt {
    background: var(--lightpink);
    border-radius: 32px;
    padding: 4rem 3rem;
    margin: 0 -1rem;
}

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

.section-tag {
    display: inline-block;
    background: var(--lightpink);
    color: var(--pink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--softpink);
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--purple);
}

.header-line {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border-radius: 4px;
    margin: 0.8rem auto 0;
}

.section-sub {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(222,99,138,0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--purple);
    padding: 12px 28px;
    border-radius: 40px;
    border: 2px solid var(--purple);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--lightpink);
    border-color: var(--pink);
    color: var(--pink);
    transform: translateY(-2px);
}

.btn-icon {
    background: var(--lightpink);
    border: none;
    color: var(--purple);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.btn-icon:hover {
    background: var(--pink);
    color: white;
}

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

/* ========== HERO SECTION ========== */
.hero-section {
    padding-top: 3rem;
}

.hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero-profile-wrap {
    position: relative;
    flex-shrink: 0;
    overflow: visible;
}

.hero-photo {
    position: relative;
    z-index: 1;
}

.hero-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 4px var(--softpink), 0 20px 40px rgba(74,50,103,0.15);
}

.hero-badge-ring {
    position: absolute;
    width: 520px;
    height: 520px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247,185,196,0.45) 0%, rgba(198,186,222,0.25) 50%, transparent 75%);
    filter: blur(48px);
    z-index: 0;
    pointer-events: none;
    animation: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lightpink);
    color: var(--pink);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid var(--softpink);
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.highlight {
    color: var(--purple);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-soft);
    max-width: 520px;
    margin-bottom: 1rem;
}

.hero-desc strong {
    color: var(--purple);
}

.hero-quote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--pink);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-quote i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-socials {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--lightpink);
    border: 1.5px solid var(--softpink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
    transform: translateY(-3px);
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-photo-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid var(--lightpink);
    box-shadow: 0 8px 32px rgba(74,50,103,0.08);
}

.about-photo-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.photo-card-bottom {
    padding: 1.25rem;
    text-align: center;
    background: linear-gradient(135deg, var(--lightpink), var(--softpink));
}

.photo-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple);
}

.photo-role {
    font-size: 0.8rem;
    color: var(--text-mid);
    margin-top: 2px;
    margin-bottom: 0.8rem;
}

.photo-socials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.photo-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.photo-socials a:hover {
    background: var(--purple);
    color: white;
}

.about-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 1rem;
}

.about-details p {
    color: var(--text-mid);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.about-details strong {
    color: var(--purple);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: var(--white);
    border: 1.5px solid var(--lightpink);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-card i {
    color: var(--pink);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
}

.info-card strong {
    display: block;
    font-size: 0.75rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-card span {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.pet-photos {
    margin-bottom: 1.25rem;
}

.pet-photos-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pet-photos-row {
    display: flex;
    gap: 1rem;
}

.pet-photo-card {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--softpink);
    background: var(--white);
    transition: all 0.3s;
    text-align: center;
}

.pet-photo-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(222,99,138,0.18);
}

.pet-photo-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.pet-photo-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--purple);
    background: var(--lightpink);
}

.dream-card {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--purple), #6b4d8f);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    color: white;
    box-shadow: 0 6px 20px rgba(74,50,103,0.2);
}

.dream-card i {
    font-size: 1.5rem;
    margin-top: 4px;
    flex-shrink: 0;
    color: var(--softpink);
}

.dream-card strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--softpink);
    margin-bottom: 4px;
}

.dream-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* ========== SKILLS ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.skill-card {
    background: var(--white);
    border: 1.5px solid var(--lightpink);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(222,99,138,0.15);
}

.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--lightpink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.skill-icon i {
    font-size: 1.4rem;
    color: var(--pink);
}

.skill-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.skill-bar {
    background: var(--softpink);
    height: 7px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.skill-progress {
    background: linear-gradient(90deg, var(--purple), var(--pink));
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

.skill-pct {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pink);
}

.soft-skills-wrap {
    margin-top: 1rem;
}

.soft-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 1rem;
    text-align: center;
}

.soft-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.soft-tag {
    background: var(--white);
    border: 1.5px solid var(--softpink);
    color: var(--purple);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s;
}

.soft-tag:hover {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
}

.soft-tag i {
    color: var(--pink);
    font-size: 0.8rem;
}

.soft-tag:hover i {
    color: var(--softpink);
}

/* ========== PROJECTS ========== */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.project-card {
    background: var(--white);
    border: 1.5px solid var(--lightpink);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--pink);
    box-shadow: 0 16px 40px rgba(222,99,138,0.15);
}

.featured-project {
    border-color: var(--purple);
    background: linear-gradient(135deg, #fdf4f8, var(--lightpink));
}

.project-badge-top {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--lightpink);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.project-icon-wrap i {
    font-size: 1.4rem;
    color: var(--purple);
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}

.project-tags span {
    background: var(--lightpink);
    color: var(--purple);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge.complete {
    background: rgba(74,50,103,0.1);
    color: var(--purple);
}

.badge.progress {
    background: rgba(222,99,138,0.12);
    color: var(--pink);
}

.table-wrap {
    background: var(--white);
    border-radius: 24px;
    border: 1.5px solid var(--lightpink);
    overflow: hidden;
}

.table-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple);
    padding: 1.25rem 1.5rem;
    border-bottom: 1.5px solid var(--lightpink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-responsive {
    overflow-x: auto;
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
}

.projects-table th {
    background: var(--lightpink);
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projects-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lightpink);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.projects-table tr:last-child td {
    border-bottom: none;
}

.projects-table tr:hover td {
    background: #fdf4f8;
}

/* ========== ACTIVITIES / FILE MANAGER ========== */
.file-manager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.upload-zone {
    background: var(--white);
    border: 2px dashed var(--lavender);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-zone.drag-over {
    border-color: var(--pink);
    background: #fdf4f8;
}

.upload-icon {
    width: 70px;
    height: 70px;
    background: var(--lightpink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.upload-icon i {
    font-size: 1.8rem;
    color: var(--purple);
}

.upload-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.upload-or {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 1.25rem;
}

.upload-label {
    cursor: pointer;
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-top: 1rem;
    line-height: 1.5;
}

.file-list-wrap {
    background: var(--white);
    border-radius: 24px;
    border: 1.5px solid var(--lightpink);
    overflow: hidden;
}

.file-list-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--purple);
    padding: 1.25rem 1.5rem;
    border-bottom: 1.5px solid var(--lightpink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-list {
    list-style: none;
    max-height: 380px;
    overflow-y: auto;
    padding: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.2s;
}

.file-item:hover {
    background: var(--lightpink);
}

.clickable-file {
    cursor: pointer;
}

.clickable-file:hover .file-name {
    color: var(--purple);
    text-decoration: underline;
}

.file-type-icon {
    font-size: 1.2rem;
    color: var(--pink);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.file-name {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    word-break: break-word;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-soft);
    flex-shrink: 0;
}

.file-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.delete-btn {
    background: none;
    border: none;
    color: #c0392b;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.delete-btn:hover {
    background: #fde8e8;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-soft);
    font-size: 0.875rem;
}

.empty-state i {
    font-size: 2rem;
    color: var(--lavender);
    display: block;
    margin-bottom: 0.75rem;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info-card,
.contact-form-card {
    background: var(--white);
    border: 1.5px solid var(--lightpink);
    border-radius: 24px;
    padding: 2rem;
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--lightpink);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.78rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--pink);
}

.contact-quote {
    background: var(--lightpink);
    border-left: 4px solid var(--pink);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-quote i {
    color: var(--pink);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-quote em {
    font-size: 0.9rem;
    color: var(--purple);
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--lightpink);
    border: 1.5px solid var(--softpink);
    border-radius: 12px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(74,50,103,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--lavender);
}

.form-message {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    min-height: 24px;
}

/* ========== SUBSCRIBE ========== */
.subscribe-card {
    background: var(--white);
    border: 1.5px solid var(--lightpink);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(74,50,103,0.06);
}

.subscribe-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.subscribe-icon i {
    font-size: 1.6rem;
    color: white;
}

.subscribe-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.subscribe-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    margin-bottom: 1.75rem;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.subscribe-form input {
    flex: 1;
    min-width: 220px;
    padding: 12px 18px;
    background: var(--lightpink);
    border: 1.5px solid var(--softpink);
    border-radius: 40px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--purple);
    background: var(--white);
}

.subscribe-form input::placeholder {
    color: var(--lavender);
}

.subscribe-card small {
    font-size: 0.75rem;
    color: var(--text-soft);
}

/* ========== FOOTER ========== */
.page-footer {
    background: var(--purple);
    margin: 5rem -2rem 0;
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255,255,255,0.85);
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    color: var(--softpink);
    font-size: 1.4rem;
}

.footer-brand .logo-text {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-text {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-quote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--softpink);
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--pink);
    transform: translateY(-2px);
}

/* ========== FILE PREVIEW MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(74, 50, 103, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-box {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(74, 50, 103, 0.3);
    animation: slideUp 0.25s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1.5px solid var(--lightpink);
    background: var(--lightpink);
    gap: 1rem;
    flex-shrink: 0;
}

.modal-filename {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple);
    word-break: break-word;
    flex: 1;
}

.modal-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.modal-body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdf4f8;
    min-height: 500px;
}

.modal-body img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.modal-body iframe {
    width: 100%;
    height: 75vh;
    border: none;
    display: block;
}

.modal-body .preview-text {
    width: 100%;
    height: 75vh;
    padding: 1.5rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-dark);
    white-space: pre-wrap;
    word-break: break-word;
    overflow: auto;
    background: white;
    border: none;
    outline: none;
    resize: none;
}

.modal-no-preview {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-mid);
}

.modal-no-preview i {
    font-size: 3.5rem;
    color: var(--lavender);
    display: block;
    margin-bottom: 1rem;
}

.modal-no-preview p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--lightpink); }
::-webkit-scrollbar-thumb { background: var(--lavender); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* ========== ANIMATIONS ========== */
.section-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 260px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        border-bottom: 1.5px solid var(--lightpink);
        box-shadow: 0 8px 24px rgba(74,50,103,0.1);
    }

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

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        border-radius: 10px;
        padding: 10px 16px;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-profile-wrap {
        margin: 0 auto;
    }

    .hero-buttons, .hero-socials, .hero-quote {
        justify-content: center;
    }

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

    .hero-title {
        font-size: 2.4rem;
    }

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

    .about-photo-card {
        max-width: 320px;
        margin: 0 auto;
    }

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

    .file-manager {
        grid-template-columns: 1fr;
    }

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

    .section.bg-alt {
        margin: 0 -1rem;
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .main-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-inner {
        padding: 0 1rem;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .subscribe-card {
        padding: 2.5rem 1.5rem;
    }

    .page-footer {
        margin: 3rem -1rem 0;
    }
}

/* ============================================================
   HOME PAGE — TWO-COLUMN LAYOUT + EXTRAS
   ============================================================ */

/* Remove side padding on hero so it fills width */
.hero-section {
    padding-top: 2rem;
    overflow: visible;
    position: relative;
}

/* Two-column grid */
.hero-two-col {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 1.5rem;
    align-items: start;
    min-height: 80vh;
    padding: 2rem 0;
}

/* ---- LEFT SIDE ---- */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hero-left .hero-profile-wrap {
    margin-bottom: 0.25rem;
}

/* Typing animation */
.typing-wrap {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 1.8rem;
}

.typing-prefix {
    color: var(--text-mid);
}

.typing-text {
    color: var(--pink);
    font-weight: 700;
}

.typing-cursor {
    color: var(--pink);
    animation: blink 0.75s step-end infinite;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Quote card */
.hero-quote-card {
    background: linear-gradient(135deg, var(--lightpink), var(--softpink));
    border-left: 4px solid var(--pink);
    border-radius: 0 14px 14px 0;
    padding: 1rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--purple);
    font-style: italic;
    font-weight: 600;
    align-self: flex-start;
}

.hero-quote-card i {
    color: var(--pink);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ---- RIGHT SIDE ---- */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1rem;
}

/* Fun Facts Card */
.fun-facts-card {
    background: var(--white);
    border: 1.5px solid var(--lightpink);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(74,50,103,0.07);
}

.fun-facts-header {
    background: linear-gradient(135deg, var(--purple), #6b4d8f);
    color: white;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.fun-facts-header i {
    font-size: 1.1rem;
    color: var(--softpink);
}

.fun-facts-list {
    list-style: none;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.fun-facts-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: background 0.2s;
}

.fun-facts-list li:hover {
    background: var(--lightpink);
}

.ff-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--lightpink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.fun-facts-list li strong {
    color: var(--purple);
}

/* Dream Board Card */
.dream-board-card {
    background: var(--white);
    border: 1.5px solid var(--softpink);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(222,99,138,0.1);
}

.dream-board-header {
    background: linear-gradient(135deg, var(--pink), #c94d72);
    color: white;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.dream-board-header i {
    font-size: 1rem;
    color: #ffe;
}

.dream-board-items {
    display: flex;
    gap: 0;
}

.db-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 1.25rem 0.75rem;
    border-right: 1.5px solid var(--lightpink);
    transition: background 0.2s;
    text-align: center;
}

.db-item:last-child {
    border-right: none;
}

.db-item:hover {
    background: var(--lightpink);
}

.db-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--softpink), var(--lightpink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1.2rem;
}

.db-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--purple);
    line-height: 1.3;
}

/* ---- FLOATING ELEMENTS ---- */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.float-el {
    position: absolute;
    color: var(--softpink);
    opacity: 0.4;
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(0)    rotate(0deg);  opacity: 0.4; }
    50%  { transform: translateY(-20px) rotate(8deg); opacity: 0.65; }
    100% { transform: translateY(0)    rotate(0deg);  opacity: 0.4; }
}

/* Give every 3rd element a different drift direction for variety */
.float-el:nth-child(3n) {
    animation-name: floatSide;
}
.float-el:nth-child(5n) {
    animation-name: floatDiag;
    animation-duration: 7s;
}

@keyframes floatSide {
    0%   { transform: translateX(0)    rotate(0deg);   opacity: 0.4; }
    50%  { transform: translateX(-14px) rotate(-6deg); opacity: 0.6; }
    100% { transform: translateX(0)    rotate(0deg);   opacity: 0.4; }
}

@keyframes floatDiag {
    0%   { transform: translate(0, 0)         rotate(0deg);  opacity: 0.4; }
    50%  { transform: translate(-10px, -16px) rotate(10deg); opacity: 0.65; }
    100% { transform: translate(0, 0)         rotate(0deg);  opacity: 0.4; }
}

/* Make hero-section relative so floats are contained */
.hero-section {
    position: relative;
}

.hero-two-col {
    position: relative;
    z-index: 1;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
    .hero-two-col {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2rem;
    }

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

    .hero-left .hero-buttons,
    .hero-left .hero-socials {
        justify-content: center;
    }

    .hero-quote-card {
        align-self: center;
    }

    .typing-wrap {
        justify-content: center;
    }

    .dream-board-items {
        flex-direction: column;
    }

    .db-item {
        border-right: none;
        border-bottom: 1.5px solid var(--lightpink);
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.85rem 1.25rem;
    }

    .db-item:last-child {
        border-bottom: none;
    }
}

/* ========== BUCKET LIST CARD ========== */
.bucket-list-card {
    background: var(--white);
    border: 1.5px solid var(--lightpink);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(74,50,103,0.07);
}

.bucket-list-header {
    background: linear-gradient(135deg, #6b4d8f, var(--purple));
    color: white;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.bucket-list-header i {
    font-size: 1rem;
    color: var(--softpink);
}

.bucket-list {
    list-style: none;
    padding: 0.6rem 0.75rem;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bucket-list::-webkit-scrollbar { width: 4px; }
.bucket-list::-webkit-scrollbar-thumb { background: var(--lavender); border-radius: 4px; }

.bucket-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 0.83rem;
    color: var(--text-dark);
    cursor: default;
    transition: background 0.2s;
}

.bucket-list li:hover {
    background: var(--lightpink);
}

.bucket-list li.done {
    opacity: 0.55;
}

.bucket-list li.done span:last-child {
    text-decoration: line-through;
    color: var(--text-soft);
}

.bl-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--lightpink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.bucket-list li:hover .bl-icon {
    background: var(--pink);
    color: white;
}

/* ========== GLOBAL FLOATING BACKGROUND (all pages) ========== */
.global-floats {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Boost z-index on all real content so it sits above the floats */
.top-nav       { z-index: 1000; }
.main-content  { position: relative; z-index: 1; }
.section       { position: relative; z-index: 1; }

/* ========== PICTURES / GALLERY ========== */

/* Tab buttons */
.gallery-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 22px;
    border-radius: 30px;
    border: 2px solid var(--softpink);
    background: var(--white);
    color: var(--text-mid);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.gallery-tab:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.gallery-tab.active {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

/* Tab panels */
.gallery-panel {
    display: none;
}

.gallery-panel.active {
    display: block;
}

/* Upload bar */
.gallery-upload-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.gallery-count {
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 500;
}

/* Photo grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.photo-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--lightpink);
    cursor: pointer;
    transition: all 0.25s;
    background: var(--lightpink);
}

.photo-thumb:hover {
    border-color: var(--pink);
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(222,99,138,0.2);
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-thumb .thumb-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: none;
    color: white;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.photo-thumb:hover .thumb-delete {
    opacity: 1;
}

.gallery-empty {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.875rem;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gallery-empty i {
    font-size: 1.4rem;
    color: var(--lavender);
}

/* ========== PHOTO LIGHTBOX ========== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 30, 0.92);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightboxImg {
    max-width: 88vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 3001;
}

.lightbox-close:hover { background: var(--pink); }

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 3001;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--purple); }

.lightbox-counter {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    background: rgba(0,0,0,0.4);
    padding: 4px 14px;
    border-radius: 20px;
}

@media (max-width: 560px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* ========== GALLERY TOOLBAR ========== */
.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gallery-toolbar .gallery-tabs {
    margin-bottom: 0;
}

.gallery-upload-global {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Space between Pictures and Skills sections */
#pictures.bg-alt {
    margin-bottom: 3rem;
}

/* Photo thumbnail name label */
.thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(74,50,103,0.85), transparent);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 18px 8px 6px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* ========== GALLERY SCROLL LAYOUT ========== */
.gallery-scroll {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    background: var(--white);
    border: 1.5px solid var(--softpink);
    border-radius: 30px;
    width: fit-content;
}

.gallery-label i {
    color: var(--pink);
}

/* ============================================================
   FLOATING BOTTOM DOCK (replaces top nav)
   ============================================================ */

/* Remove top padding that was for the old nav */
.main-content {
    padding-top: 2rem !important;
    padding-bottom: 110px; /* room for dock */
}

/* Hide old top-nav if it somehow still renders */
.top-nav { display: none !important; }

/* ---- DOCK ---- */
.dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding: 10px 18px;

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(198, 186, 222, 0.5);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(74, 50, 103, 0.18),
                0 2px 8px rgba(74, 50, 103, 0.08);
}

/* ---- DOCK ITEM ---- */
.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text-mid);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.2s ease,
                color 0.2s ease;
    cursor: pointer;
    min-width: 52px;
}

.dock-item:hover {
    background: var(--softpink);
    color: var(--purple);
    transform: translateY(-8px) scale(1.18);
}

.dock-item.active {
    background: var(--purple);
    color: white;
    transform: translateY(-6px);
}

.dock-item.active .dock-icon i {
    color: white;
}

/* ---- ICON ---- */
.dock-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--purple);
    transition: color 0.2s;
}

.dock-item:hover .dock-icon {
    color: var(--purple);
}

/* ---- LABEL ---- */
.dock-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    color: inherit;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
    .dock {
        gap: 1px;
        padding: 8px 10px;
        bottom: 10px;
        border-radius: 40px;
        max-width: 98vw;
    }

    .dock-item {
        padding: 6px 6px;
        min-width: 38px;
        border-radius: 12px;
    }

    .dock-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .dock-label {
        font-size: 0.55rem;
    }
}

@media (max-width: 420px) {
    .dock-label {
        display: none;
    }

    .dock-item {
        padding: 8px 7px;
    }

    .dock-icon {
        font-size: 1rem;
        width: 30px;
        height: 30px;
    }
}

/* ========== CERTIFICATE GRID ========== */
.cert-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.cert-thumb {
    aspect-ratio: unset !important;  /* override square crop */
    height: auto !important;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--lightpink);
    cursor: pointer;
    transition: all 0.25s;
    background: var(--white);
}

.cert-thumb:hover {
    border-color: var(--pink);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(222,99,138,0.2);
}

.cert-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ============================================================
   MINI CALENDAR WIDGET
   ============================================================ */

.hero-photo-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.mini-calendar {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid var(--lightpink);
    border-radius: 20px;
    padding: 1rem 0.85rem 0.85rem;
    box-shadow: 0 8px 28px rgba(74,50,103,0.10);
}

/* Header row */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.cal-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--purple);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.cal-nav {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: var(--lightpink);
    color: var(--purple);
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.cal-nav:hover {
    background: var(--pink);
    color: white;
}

/* Weekday labels */
.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.3rem;
}

.cal-weekdays span {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 0;
}

/* Days grid */
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 50%;
    cursor: default;
    color: var(--text-dark);
    transition: background 0.15s;
    position: relative;
}

.cal-day.empty {
    background: none;
}

/* Weekend — light purple tint */
.cal-day.weekend {
    color: var(--purple);
    font-weight: 600;
}

/* Today — pink circle */
.cal-day.today {
    background: var(--pink);
    color: white;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(222,99,138,0.4);
}

/* Has event — dot indicator */
.cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--purple);
}

.cal-day.today.has-event::after {
    background: white;
}

/* Event tooltip on hover */
.cal-day.has-event {
    cursor: pointer;
}

.cal-day.has-event:hover {
    background: var(--lightpink);
    color: var(--purple);
}

.cal-day.today.has-event:hover {
    background: var(--pink);
    color: white;
}

/* Quote strip */
.cal-quote {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--lightpink);
    font-size: 0.68rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

/* Event tooltip popup */
.cal-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: white;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 5px 9px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(74,50,103,0.3);
    font-style: normal;
}

.cal-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--purple);
}

/* Responsive */
@media (max-width: 560px) {
    .hero-photo-row {
        flex-direction: column;
        align-items: center;
    }

    .mini-calendar {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

/* ============================================================
   HAPPY CORNER / DAILY GOOD VIBES WIDGET — PIN BOARD STYLE
   ============================================================ */
.happy-corner {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Title — no box, just styled text with a line */
.hc-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hc-title::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, var(--softpink), transparent);
    border-radius: 2px;
}

/* Sticker board — scattered feel, no background */
.hc-stickers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.hc-sticker {
    aspect-ratio: 1/1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--purple);
    cursor: default;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(74,50,103,0.08);
}

/* Each sticker gets its own pastel background + slight rotation */
.hc-sticker:nth-child(1)  { background:#F3D9E5; transform: rotate(-2deg); }
.hc-sticker:nth-child(2)  { background:#F7B9C4; transform: rotate(1.5deg); }
.hc-sticker:nth-child(3)  { background:#E8D5F0; transform: rotate(-1deg); }
.hc-sticker:nth-child(4)  { background:#F7B9C4; transform: rotate(2deg); }
.hc-sticker:nth-child(5)  { background:#E8D5F0; transform: rotate(1deg); }
.hc-sticker:nth-child(6)  { background:#F3D9E5; transform: rotate(-2.5deg); }
.hc-sticker:nth-child(7)  { background:#F7B9C4; transform: rotate(1deg); }
.hc-sticker:nth-child(8)  { background:#E8D5F0; transform: rotate(-1.5deg); }
.hc-sticker:nth-child(9)  { background:#F3D9E5; transform: rotate(2deg); }
.hc-sticker:nth-child(10) { background:#F7B9C4; transform: rotate(-1deg); }
.hc-sticker:nth-child(11) { background:#E8D5F0; transform: rotate(1.5deg); }
.hc-sticker:nth-child(12) { background:#F3D9E5; transform: rotate(-2deg); }

.hc-sticker:hover {
    transform: rotate(0deg) scale(1.22) !important;
    background: var(--pink) !important;
    color: white;
    box-shadow: 0 6px 16px rgba(222,99,138,0.3);
}

/* Quote — sticky note style */
.hc-quote {
    background: #fffbe6;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-size: 0.7rem;
    font-style: italic;
    font-weight: 500;
    color: #5a4a1e;
    text-align: center;
    line-height: 1.55;
    box-shadow: 2px 3px 8px rgba(0,0,0,0.08),
                inset 0 -2px 0 rgba(0,0,0,0.04);
    position: relative;
}

.hc-quote::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 6px;
    background: rgba(222,99,138,0.6);
    border-radius: 3px;
}

/* Mobile */
@media (max-width: 560px) {
    .happy-corner {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE OVERRIDES
   Breakpoints:
   320–480px  : small phones (iPhone SE, etc.)
   481–768px  : phones & large phones
   769–1024px : tablets portrait
   1025–1280px: tablets landscape / small laptops
   1281px+    : desktops
   ============================================================ */

/* ── Global safety net ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Touch targets ≥ 44px */
button, a, label, input[type="file"] + label,
.dock-item, .btn-primary, .btn-outline, .gallery-tab {
    min-height: 44px;
    min-width: 44px;
}

/* Prevent long words from breaking layout */
p, span, li, td, th, h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ── 1281px+ : Wide desktops ─────────────────────────── */
@media (min-width: 1281px) {
    .main-content { max-width: 1280px; }
    .hero-title   { font-size: 3.4rem; }
}

/* ── 1025px – 1280px : Small laptops / tablets landscape ── */
@media (max-width: 1280px) and (min-width: 1025px) {
    .main-content { padding-left: 1.5rem; padding-right: 1.5rem; }
    .hero-two-col { grid-template-columns: 58% 42%; gap: 1.25rem; }
    .hero-title   { font-size: clamp(1.8rem, 3vw, 2.8rem); }
    .about-grid   { grid-template-columns: 240px 1fr; }
}

/* ── 769px – 1024px : Tablets portrait (iPad Mini / Air / Pro) ── */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 100px;
    }

    /* Hero: stack on tablets */
    .hero-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }

    .hero-left { align-items: center; text-align: center; }
    .hero-photo-row { justify-content: center; }
    .hero-buttons, .hero-socials, .typing-wrap { justify-content: center; }
    .hero-quote-card { align-self: center; }
    .hero-title { font-size: clamp(2rem, 4vw, 2.8rem); }

    /* Happy corner goes full width */
    .happy-corner { max-width: 340px; }

    /* About: stack */
    .about-grid { grid-template-columns: 1fr; }
    .about-photo-card { max-width: 300px; margin: 0 auto; }
    .info-cards { grid-template-columns: repeat(2, 1fr); }

    /* Dock: slightly smaller */
    .dock { padding: 8px 14px; gap: 3px; }
    .dock-item { padding: 7px 9px; min-width: 54px; }

    /* Contact: stack */
    .contact-grid { grid-template-columns: 1fr; }

    /* File manager: stack */
    .file-manager { grid-template-columns: 1fr; }

    /* Table: scrollable */
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .projects-table { min-width: 500px; }

    /* Hero right: full width */
    .hero-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Section bg-alt */
    .section.bg-alt { margin: 0; padding: 3rem 1.5rem; border-radius: 20px; }
}

/* ── 481px – 768px : Phones & large phones ─────────────── */
@media (max-width: 768px) and (min-width: 481px) {
    .main-content {
        padding: calc(var(--nav-h, 70px) + 1rem) 1rem 100px;
    }

    /* Fluid hero title */
    .hero-title    { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .hero-subtitle { font-size: 1rem; }

    /* Stack hero */
    .hero-two-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }
    .hero-left { align-items: center; text-align: center; }
    .hero-photo-row { justify-content: center; flex-wrap: wrap; gap: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; max-width: 320px; }
    .hero-socials, .typing-wrap { justify-content: center; }
    .hero-quote-card { align-self: center; }

    /* Happy corner */
    .happy-corner { max-width: 100%; min-width: 0; }

    /* Hero right: stack */
    .hero-right { grid-template-columns: 1fr; }

    /* Reduce floating elements */
    .global-floats { opacity: 0.25; }

    /* About */
    .about-grid   { grid-template-columns: 1fr; }
    .about-photo-card { max-width: 260px; margin: 0 auto; }
    .info-cards   { grid-template-columns: 1fr; }

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

    /* Projects */
    .project-cards { grid-template-columns: 1fr; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .projects-table   { min-width: 480px; }

    /* File manager */
    .file-manager { grid-template-columns: 1fr; }
    .upload-zone  { padding: 2rem 1rem; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .full-w       { width: 100%; }

    /* Subscribe */
    .subscribe-form { flex-direction: column; align-items: stretch; }
    .subscribe-form input  { width: 100%; }
    .subscribe-form button { width: 100%; justify-content: center; }

    /* Photo grid */
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

    /* Section bg-alt */
    .section.bg-alt { margin: 0; padding: 2.5rem 1rem; border-radius: 16px; }

    /* Dock */
    .dock { gap: 1px; padding: 7px 10px; bottom: 10px; border-radius: 40px; max-width: 98vw; }
    .dock-item { padding: 6px 7px; min-width: 42px; border-radius: 12px; }
    .dock-icon { width: 28px; height: 28px; font-size: 0.9rem; }
    .dock-label { font-size: 0.56rem; }
}

/* ── 320px – 480px : Small phones (iPhone SE, etc.) ──────── */
@media (max-width: 480px) {
    :root { --nav-h: 0px; }

    .main-content {
        padding: 1rem 0.85rem 90px;
    }

    /* Typography — clamp for fluid scaling */
    .hero-title    { font-size: clamp(1.35rem, 7vw, 1.8rem); line-height: 1.25; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-desc     { font-size: 0.85rem; }
    .section-header h2 { font-size: 1.5rem; }

    /* Hero */
    .hero-two-col {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        min-height: auto;
        padding: 1rem 0;
    }
    .hero-left { align-items: center; text-align: center; gap: 0.85rem; }
    .hero-photo-row { flex-direction: column; align-items: center; gap: 1rem; }
    .hero-photo { width: 160px; height: 160px; }
    .hero-badge-ring { width: 340px; height: 340px; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
    .hero-socials { justify-content: center; }
    .hero-quote-card { align-self: center; font-size: 0.82rem; }
    .typing-wrap { justify-content: center; font-size: 0.9rem; }

    /* Reduce / hide floating elements on very small screens */
    .global-floats { opacity: 0.15; }

    /* Happy corner */
    .happy-corner { max-width: 100%; min-width: 0; }
    .hc-stickers  { grid-template-columns: repeat(4, 1fr); gap: 4px; }
    .hc-sticker   { font-size: 0.8rem; }

    /* Hero right */
    .hero-right { grid-template-columns: 1fr; }
    .bucket-list-card, .dream-board-card { width: 100%; }

    /* Dream board: stack vertically */
    .dream-board-items { flex-direction: column; }
    .db-item {
        border-right: none;
        border-bottom: 1.5px solid var(--lightpink);
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    .db-item:last-child { border-bottom: none; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-photo-card { max-width: 220px; margin: 0 auto; }
    .info-cards { grid-template-columns: 1fr; gap: 0.5rem; }
    .dream-card { flex-direction: column; text-align: center; }

    /* Skills */
    .skills-grid  { grid-template-columns: 1fr; }
    .soft-grid    { gap: 0.5rem; }
    .soft-tag     { font-size: 0.78rem; padding: 6px 12px; }

    /* Projects */
    .project-cards { grid-template-columns: 1fr; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .projects-table   { min-width: 420px; font-size: 0.8rem; }
    .projects-table th,
    .projects-table td { padding: 0.65rem 0.75rem; }

    /* File manager */
    .file-manager { grid-template-columns: 1fr; gap: 1rem; }
    .upload-zone  { padding: 1.5rem 0.75rem; }
    .upload-label { width: 100%; justify-content: center; }
    .file-item    { flex-wrap: wrap; gap: 6px; }
    .file-name    { font-size: 0.78rem; }

    /* Gallery */
    .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .cert-grid  { grid-template-columns: 1fr; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-card, .contact-form-card { padding: 1.25rem; }
    .full-w { width: 100%; }

    /* Subscribe */
    .subscribe-card { padding: 2rem 1rem; }
    .subscribe-form { flex-direction: column; }
    .subscribe-form input  { width: 100%; border-radius: 12px; }
    .subscribe-form button { width: 100%; justify-content: center; border-radius: 12px; }

    /* Section bg-alt */
    .section.bg-alt { margin: 0; padding: 2rem 0.85rem; border-radius: 14px; }

    /* Footer */
    .page-footer { margin: 2rem -0.85rem 0; padding: 2rem 1rem; }

    /* Dock — smallest size */
    .dock       { bottom: 8px; padding: 6px 6px; gap: 0; border-radius: 36px; max-width: 99vw; }
    .dock-item  { padding: 6px 5px; min-width: 36px; border-radius: 10px; }
    .dock-icon  { width: 26px; height: 26px; font-size: 0.85rem; }
    .dock-label { display: none; }

    /* Modal */
    .modal-box  { border-radius: 14px; }
    .modal-body { min-height: 260px; }
    .modal-body iframe, .modal-body embed { height: 55vh; }

    /* Lightbox */
    #lightboxImg { max-width: 95vw; max-height: 75vh; }
    .lightbox-prev { left: 0.4rem; }
    .lightbox-next { right: 0.4rem; }
}

/* ── Samsung Galaxy Z Fold 5 outer (480px) ─────────────── */
@media (max-width: 480px) and (min-width: 430px) {
    .hero-photo { width: 180px; height: 180px; }
    .dock-label { display: block; font-size: 0.52rem; }
}

/* ── Surface Duo & narrow foldables (540px) ───────────── */
@media (max-width: 540px) and (min-width: 481px) {
    .hero-two-col { grid-template-columns: 1fr; }
    .hero-right   { grid-template-columns: 1fr 1fr; }
    .info-cards   { grid-template-columns: repeat(2, 1fr); }
}

/* ── Nest Hub (1024x600 — landscape short height) ─────── */
@media (max-width: 1024px) and (max-height: 640px) {
    .hero-section { min-height: auto; }
    .hero-two-col { min-height: auto; padding: 0.5rem 0; }
    .hero-photo   { width: 140px; height: 140px; }
    .hero-title   { font-size: 1.6rem; }
    .main-content { padding-bottom: 80px; }
}

/* ── Nest Hub Max (1280x800 — landscape short height) ───── */
@media (max-width: 1280px) and (max-height: 820px) and (min-width: 1025px) {
    .hero-two-col { min-height: 70vh; }
    .dock         { bottom: 12px; }
}

/* ── iPad Pro / Surface Pro 7 (1024px+) ─────────────────── */
@media (min-width: 1024px) and (max-width: 1368px) {
    .main-content { max-width: 960px; }
}

/* ── Asus Zenbook Fold (853px) ───────────────────────────── */
@media (max-width: 853px) and (min-width: 769px) {
    .hero-two-col { grid-template-columns: 1fr; }
    .hero-right   { grid-template-columns: 1fr 1fr; }
}

/* ── Prevent overflow everywhere ─────────────────────────── */
.hero-two-col,
.about-grid,
.skills-grid,
.project-cards,
.contact-grid,
.info-cards,
.dream-board-items,
.file-manager,
.gallery-scroll,
.photo-grid,
.hero-right {
    max-width: 100%;
}

/* ── Safe area insets for notched phones (iPhone X+) ─────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .dock {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .main-content {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
}
