/* ============================================
   RESET & DASAR
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg,
        #e3f2fd 0%,
        #bbdefb 25%,
        #c5e4f3 50%,
        #b3e5fc 75%,
        #e1f5fe 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    color: #1a3a5c;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   ✨ LATAR BELAKANG ANIMASI BULATAN
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.9),
        rgba(144, 202, 249, 0.4),
        transparent);
    box-shadow:
        0 0 40px rgba(100, 181, 246, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.6);
    animation: floatBubble linear infinite;
}

.bubble:nth-child(1) { width: 80px; height: 80px; left: 5%; animation-duration: 18s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 120px; height: 120px; left: 20%; animation-duration: 22s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 60px; height: 60px; left: 35%; animation-duration: 16s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 100px; height: 100px; left: 55%; animation-duration: 20s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 90px; height: 90px; left: 70%; animation-duration: 24s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 70px; height: 70px; left: 85%; animation-duration: 19s; animation-delay: 5s; }
.bubble:nth-child(7) { width: 110px; height: 110px; left: 45%; animation-duration: 26s; animation-delay: 6s; }
.bubble:nth-child(8) { width: 50px; height: 50px; left: 15%; animation-duration: 21s; animation-delay: 7s; }

@keyframes floatBubble {
    0% {
        transform: translateY(110vh) translateX(0) scale(0.8);
        opacity: 0;
    }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% {
        transform: translateY(-20vh) translateX(60px) scale(1.2);
        opacity: 0;
    }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(100, 150, 200, 0.15);
    z-index: 1000;
    border-bottom: 3px solid #bbdefb;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #0d47a1;
}

.logo-snoopy {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e3f2fd;
    padding: 3px;
    animation: float 3s ease-in-out infinite;
    object-fit: cover;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.dot { color: #42a5f5; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    text-decoration: none;
    color: #1a3a5c;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-link:hover {
    background: #e3f2fd;
    color: #1976d2;
}

.nav-link.active-glow {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0d47a1;
    box-shadow:
        0 0 12px rgba(100, 181, 246, 0.7),
        inset 0 0 10px rgba(255, 255, 255, 0.7);
    animation: sidebarGlow 2s ease-in-out infinite;
}

@keyframes sidebarGlow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(100, 181, 246, 0.7), inset 0 0 10px rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(100, 181, 246, 1), inset 0 0 15px rgba(255, 255, 255, 1);
    }
}

.nav-user {
    padding: 10px 14px;
    background: #e3f2fd;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.nav-user:hover {
    background: #bbdefb;
    transform: scale(1.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(100, 181, 246, 0.6),
        rgba(179, 229, 252, 0.3),
        transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.nav-link:hover::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   KONTEN UTAMA
   ============================================ */
.content {
    padding: 40px 60px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section {
    padding: 60px 0;
    min-height: auto;
}

.section-title {
    font-size: 32px;
    color: #0d47a1;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 800;
}

.section-title span { color: #42a5f5; }

.section-subtitle {
    text-align: center;
    color: #64b5f6;
    margin-bottom: 40px;
    font-size: 15px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 50px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(100, 150, 200, 0.15);
    margin-bottom: 30px;
    margin-top: 30px;
}

.greeting {
    color: #42a5f5;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 46px;
    color: #1a3a5c;
    margin-bottom: 12px;
    font-weight: 800;
}

.hero-text h1 span { color: #42a5f5; }

.subtitle-role {
    font-size: 18px;
    color: #345d8a;
    font-weight: 600;
    margin-bottom: 18px;
}

.description {
    font-size: 15px;
    color: #345d8a;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: white;
    box-shadow: 0 5px 15px rgba(100, 150, 200, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(100, 150, 200, 0.6);
}

.btn-outline {
    background: white;
    color: #42a5f5;
    border: 2px solid #90caf9;
    box-shadow: 0 5px 15px rgba(100, 150, 200, 0.15);
}

.btn-outline:hover {
    background: #e3f2fd;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(100, 150, 200, 0.3);
}

/* FOTO HOME */
.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 260px;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
}

.hero-photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(100, 181, 246, 0.6) 0%,
        rgba(144, 202, 249, 0.3) 40%,
        transparent 70%);
    filter: blur(25px);
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

.hero-img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 15px 40px rgba(100, 150, 200, 0.4);
    position: relative;
    z-index: 2;
    transition: 0.4s;
    animation: heroFloat 4s ease-in-out infinite;
}

.hero-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(100, 150, 200, 0.6);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.snoopy-mini {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    padding: 5px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(100, 150, 200, 0.4);
    animation: bounce 2s infinite;
    object-fit: cover;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* ============================================
   ABOUT ME
   ============================================ */
.about-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(100, 150, 200, 0.15);
}

.about-photo {
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 30px rgba(100, 150, 200, 0.4);
    position: relative;
    z-index: 2;
    transition: 0.4s;
}

.profile-img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 25px;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.5), transparent 70%);
    filter: blur(20px);
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.about-text h3 {
    font-size: 26px;
    color: #0d47a1;
    margin-bottom: 15px;
    font-weight: 800;
}

.about-text h3 span { color: #42a5f5; }

.about-text p {
    color: #345d8a;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.about-info {
    display: flex;
    gap: 25px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 13px;
    color: #64b5f6;
    font-weight: 600;
}

.info-value {
    font-size: 15px;
    color: #0d47a1;
    font-weight: 700;
}

/* ============================================
   EDUCATION
   ============================================ */
.timeline {
    border-left: 4px solid #90caf9;
    padding-left: 25px;
    margin-left: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 18px 22px;
    border-radius: 15px;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(100, 150, 200, 0.15);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 25px;
    width: 15px;
    height: 15px;
    background: #42a5f5;
    border-radius: 50%;
    border: 3px solid #e3f2fd;
}

.timeline-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.timeline-item h3 {
    color: #1976d2;
    font-size: 17px;
}

.timeline-item p {
    color: #64b5f6;
    font-size: 14px;
    margin-top: 5px;
}

.edu-arrow {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(100, 150, 200, 0.25);
    white-space: nowrap;
    text-decoration: none;
}

.arrow-icon {
    font-size: 20px;
    font-weight: 800;
    transition: transform 0.3s ease;
    display: inline-block;
}

.edu-arrow:hover {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(100, 150, 200, 0.5);
}

.edu-arrow:hover .arrow-icon {
    transform: translateX(6px);
}

/* ============================================
   HOBBIES
   ============================================ */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.hobby-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(100, 150, 200, 0.15);
    transition: 0.3s;
    cursor: pointer;
}

.hobby-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: #e3f2fd;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-full {
    margin-bottom: 40px;
    text-align: center;
}

.gallery-full img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(100, 150, 200, 0.3);
    display: block;
}

.gallery-caption {
    margin-top: 15px;
    color: #1976d2;
    font-weight: 700;
    font-size: 15px;
}

.gallery-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-3col img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(100, 150, 200, 0.2);
    transition: 0.3s;
    cursor: pointer;
    background: #e3f2fd;
}

.gallery-3col img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(100, 150, 200, 0.4);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    padding: 30px 0;
}

.contact-info { display: flex; flex-direction: column; gap: 15px; }

.contact-label {
    color: #42a5f5;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-title {
    font-size: 42px;
    color: #0d47a1;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-title span { color: #42a5f5; }

.contact-desc {
    color: #345d8a;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(100, 150, 200, 0.25);
    flex-shrink: 0;
}

.contact-item-label {
    color: #64b5f6;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item-value {
    color: #0d47a1;
    font-size: 16px;
    font-weight: 700;
}

.contact-form-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(100, 150, 200, 0.2);
    border: 2px solid #e3f2fd;
}

.form-title {
    color: #0d47a1;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #345d8a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: #f5faff;
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    color: #1a3a5c;
    margin-bottom: 18px;
    transition: 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: #64b5f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(100, 181, 246, 0.15);
}

.form-input::placeholder { color: #90caf9; }

.form-textarea { resize: vertical; min-height: 120px; }

.form-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #ffffff;
    border: none;
    border-radius: 40px;
    font-family: 'Quicksand', sans-serif;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(100, 150, 200, 0.4);
    margin-top: 5px;
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(100, 150, 200, 0.6);
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
}

.form-btn:active { transform: translateY(0); }

/* ============================================
   TUGAS
   ============================================ */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 26px;
    border-radius: 30px;
    border: 2px solid #bbdefb;
    background: #ffffff;
    color: #42a5f5;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Quicksand', sans-serif;
}

.filter-btn:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(100, 150, 200, 0.4);
    border-color: transparent;
}

.tugas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tugas-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(100, 150, 200, 0.15);
    transition: 0.4s;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tugas-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(100, 150, 200, 0.3);
}

.tugas-card.hidden { display: none; }

.tugas-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
}

.bg-web { background: linear-gradient(135deg, #90caf9, #64b5f6); }
.bg-design { background: linear-gradient(135deg, #b3e5fc, #81d4fa); }
.bg-lainnya { background: linear-gradient(135deg, #bbdefb, #90caf9); }

.tugas-body { padding: 22px; }

.tugas-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tag-web { background: #e3f2fd; color: #1976d2; }
.tag-design { background: #e1f5fe; color: #0277bd; }
.tag-lainnya { background: #e8eaf6; color: #3949ab; }

.tugas-body h3 {
    color: #0d47a1;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 800;
}

.tugas-body p {
    font-size: 14px;
    color: #345d8a;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tugas-footer {
    padding-top: 12px;
    border-top: 1px solid #e3f2fd;
    color: #64b5f6;
    font-size: 13px;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    padding: 30px 0 10px;
    color: #64b5f6;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* ============================================
   ✨ EFEK CAHAYA MENGIKUTI MOUSE
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(100, 181, 246, 0.35) 0%,
        rgba(144, 202, 249, 0.2) 40%,
        rgba(179, 229, 252, 0.05) 70%,
        transparent 100%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    filter: blur(10px);
    mix-blend-mode: screen;
}

.cursor-dot {
    position: fixed;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ffffff 0%, #64b5f6 100%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    box-shadow:
        0 0 10px #64b5f6,
        0 0 20px #90caf9,
        0 0 30px #bbdefb;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.4); }
}

.trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.7), transparent);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    animation: fadeTrail 0.8s ease-out forwards;
}

@keyframes fadeTrail {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}

.sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff, #64b5f6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px #64b5f6, 0 0 20px #90caf9;
    animation: sparkleFly 0.9s ease-out forwards;
}

@keyframes sparkleFly {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.2); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    .content { padding: 20px; }
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 25px;
    }
    .hero-text h1 { font-size: 32px; }
    .hero-buttons { justify-content: center; }
    .hero-photo { width: 220px; height: 220px; min-width: 220px; }
    .hero-img { width: 200px; height: 200px; }
    .snoopy-mini { width: 55px; height: 55px; }
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }
    .about-info { justify-content: center; }
    .profile-img { width: 200px; height: 200px; }
    .section-title { font-size: 24px; }
    .cursor-glow { width: 200px; height: 200px; }
    .cursor-dot, .trail { display: none; }
    .timeline-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .edu-arrow { width: 100%; justify-content: center; }
    .gallery-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gallery-3col img { height: 150px; }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-title { font-size: 32px; }
    .contact-form-box { padding: 25px; }
}

@media (max-width: 500px) {
    .gallery-3col { grid-template-columns: 1fr; }
}