/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #0b1220; /* fallback behind fixed layers */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background-color: #0b1220; /* fallback behind fixed layers */
}

/* Global Animated Background */
/* .global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
    overflow: hidden;
    background-image: url('photo/Gemini_Generated_Image_1mw9yb1mw9yb1mw9.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
    will-change: transform;
    transform: scale(1.12);
    pointer-events: none;
    filter: brightness(1.2);
}

.global-background-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* render within root, below content via content rule */
    /* overflow: hidden;
    background-image: url('photo/Gemini_Generated_Image_1mw9yb1mw9yb1mw9.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
    will-change: transform;
    transform: scale(1.10);
    pointer-events: none;
    filter: brightness(1)
}*/ 

/* Bottom safety layer to avoid any white gap at the end */
.global-background-bottom {
    position: fixed;
    left: 0;
    bottom: 0; /* pin to bottom */
    width: 100%;
    height: 100%;
    z-index: 0; /* same layer as others */
    background-image: url('photo/Gemini_Generated_Image_1mw9yb1mw9yb1mw9.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    will-change: transform;
    transform: scale(1.20);
    pointer-events: none;
} */

/* Ensure all normal content sits above background layers */
body > *:not(.global-background):not(.global-background-2):not(.global-background-bottom) {
    position: relative;
    z-index: 1;
}

.global-blob { display: none; }

.global-blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7));
    top: -200px;
    left: -200px;
    transform: translateZ(0);
}

.global-blob-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.5), rgba(245, 158, 11, 0.5));
    bottom: -200px;
    right: -200px;
    transform: translateZ(0);
}

.global-blob-3 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(29, 78, 216, 0.6));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
}

.global-blob-4 {
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(124, 58, 237, 0.5));
    top: 20%;
    right: 10%;
    transform: translateZ(0);
}

.global-blob-5 {
    width: 480px;
    height: 480px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.5), rgba(219, 39, 119, 0.5));
    bottom: 30%;
    left: 15%;
    transform: translateZ(0);
}

.global-blob-6 {
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(37, 99, 235, 0.6));
    top: 70%;
    right: 30%;
    transform: translateZ(0);
}

.global-blob-7 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(5, 150, 105, 0.5));
    top: 10%;
    left: 20%;
    transform: translateZ(0);
}

.global-blob-8 {
    width: 520px;
    height: 520px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(147, 51, 234, 0.5));
    bottom: 20%;
    right: 20%;
    transform: translateZ(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;

    display: flex;
    align-items: center;

    background: rgba(11, 18, 32, 0.75); /* REQUIRED for blur */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    z-index: 1000;

    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);

    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background: rgba(11, 18, 32, 0.85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}



.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    padding: 0 1.5rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* .nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fbbf24;
} */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #fbbf24;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active link styling for scroll spy */
.nav-link.active {
    color: #fbbf24;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background-color: #fbbf24;
    height: 3px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    background-size: cover;
    z-index: -1;
    will-change: transform;
    overflow: hidden;
    filter: blur(50px);
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* 3D Blob Shapes */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.1s ease-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    transform: translateZ(0);
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(245, 158, 11, 0.6));
    bottom: -150px;
    right: -150px;
    animation-delay: 2s;
    transform: translateZ(0);
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7), rgba(29, 78, 216, 0.7));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    animation-delay: 4s;
}

.blob-4 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(124, 58, 237, 0.6));
    top: 20%;
    right: 10%;
    animation-delay: 1s;
    transform: translateZ(0);
}

.blob-5 {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.6), rgba(219, 39, 119, 0.6));
    bottom: 30%;
    left: 15%;
    animation-delay: 3s;
    transform: translateZ(0);
}

.blob-6 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7), rgba(37, 99, 235, 0.7));
    top: 70%;
    right: 30%;
    animation-delay: 5s;
    transform: translateZ(0);
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}


.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #d1d5db;
    line-height: 1.8;
}

.hero-buttons .btn-glass {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: nowrap;
}



.btn {
    padding: 14px 30px;   /* ↓ less vertical padding */
    font-size: 15.5px;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
}
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    color: white;
}



.btn-secondary.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
}



.btn-glass:hover {
    transform: translateY(-3px) scale(1.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.btn-glass:hover::before {
    opacity: 1;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px dashed rgba(255, 255, 255, 0.3);
}

.profile-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.profile-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.03); /* <-- Reduced opacity */
    backdrop-filter: blur(6px); /* <-- Reduced blur */
    -webkit-backdrop-filter: blur(6px); /* <-- Reduced blur */
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Remove auto-contrast blend mode for normal text colors */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.about .section-title {
    color: white;
}

.about .section-title::after {
    background: rgba(255, 255, 255, 0.3);
    width: 100px;
    height: 5px;
}

/* Match section title style for Projects, Gallery, Contact */
.projects .section-title,
.gallery .section-title,
.contact .section-title {
    color: white;
}

.projects .section-title::after,
.gallery .section-title::after,
.contact .section-title::after {
    background: rgba(255, 255, 255, 0.3);
    width: 100px;
    height: 5px;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.stat:nth-child(1) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat:nth-child(2) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat:nth-child(3) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat:nth-child(4) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat:nth-child(5) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat p {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Skills Section */
.skills {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.skills-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skills .section-title {
    color: white;
}

.skills .section-title::after {
    background: rgba(255, 255, 255, 0.3);
    width: 100px;
    height: 5px;
}

.skill-category {
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.skill-category:nth-child(1) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-category:nth-child(2) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-category:nth-child(3) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-category:nth-child(4) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-category:nth-child(5) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-item span {
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.skill-name {
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Projects Section */
.projects {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.projects-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}

.project-image {
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: transform 0.3s ease;
}

.project-img[src]:not([src=""]) {
    display: block;
}

.project-img[src]:not([src=""]) + .project-placeholder {
    display: none;
}

.project-img:hover {
    transform: scale(1.05);
}

.project-placeholder {
    text-align: center;
    color: #9ca3af;
}

.project-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.project-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

/* Glass Effect for Project Buttons */
.btn-small {
    padding: 10px 18px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    color: white;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-small:hover {
    transform: translateY(-3px) scale(1.03);
}

.btn-small::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.btn-small:hover::before {
    opacity: 1;
}

/* Outline variant of small buttons */
.btn-small.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-small.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Glass Effect for Submit Button */
.btn-primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    color: white;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.btn-primary:hover::before {
    opacity: 1;
}

.gallery {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.contact {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}



.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.contact-info p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Animated Form Input Style - From Uiverse.io */
.form-control {
    position: relative;
    margin: 0 0 10px;
    width: 100%;
}

.form-control input,
.form-control textarea {
    background-color: transparent;
    border: 0;
    border-bottom: 2px #fff solid;
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    color: #fff;
    font-family: inherit;
    resize: vertical;
}

.form-control textarea {
    min-height: 120px;
    border-bottom: 2px #fff solid;
}

.form-control input:focus,
.form-control textarea:focus {
    outline: 0;
    border-bottom-color: lightblue;
}

.form-control label {
    position: absolute;
    top: 15px;
    left: 0;
    pointer-events: none;
}

.form-control label span {
    display: inline-block;
    font-size: 18px;
    min-width: 5px;
    color: #fff;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(0px);
}

/* Label floats up when focused */
.form-control input:focus + label span,
.form-control textarea:focus + label span {
    color: lightblue;
    transform: translateY(-30px);
}

/* Label stays floating when input has content (pure CSS) */
.form-control input:not(:placeholder-shown) + label span,
.form-control textarea:not(:placeholder-shown) + label span {
    color: lightblue;
    transform: translateY(-30px);
}

/* Photo Gallery Section */
.gallery {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.gallery-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.gallery-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gallery-image {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-placeholder {
    text-align: center;
    color: #9ca3af;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: transform 0.3s ease;
}

.gallery-img[src]:not([src=""]) {
    display: block;
}

.gallery-img[src]:not([src=""]) + .image-placeholder {
    display: none;
}

.gallery-image:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    background: transparent;
    padding: 1.5rem;
    text-align: center;
}

.gallery-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.gallery-caption p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #374151;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #2563eb;
    transform: scale(1.1);
}

.gallery-btn:active {
    transform: scale(0.95);
}

/* Gallery Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

.dot:hover {
    background: #9ca3af;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.control-btn {
    padding: 8px 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.control-btn.active {
    background: #059669;
}

.control-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.6);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-background {
        background-attachment: scroll;
        filter: blur(30px);
    }
    
    .blob {
        filter: blur(50px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-image {
        height: 300px;
    }

    .gallery-nav {
        padding: 0 0.5rem;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .gallery-image {
        height: 250px;
    }

    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .gallery-caption {
        padding: 1rem;
    }

    .gallery-caption h3 {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Animated Blur Background - About Section */
.about::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(147, 51, 234, 0.4), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.3), transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.3), transparent 50%);
    filter: blur(50px);
    animation: floatBlob1 15s infinite ease-in-out;
    z-index: -1;
    pointer-events: none;
}

/* Animated Blur Background - Skills Section */
.skills::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.4), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.3), transparent 50%),
                radial-gradient(circle at 20% 60%, rgba(251, 191, 36, 0.3), transparent 50%);
    filter: blur(50px);
    animation: floatBlob2 18s infinite ease-in-out;
    z-index: -1;
    pointer-events: none;
}

/* Animated Blur Background - Projects Section */
.projects::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.4), transparent 50%),
                radial-gradient(circle at 60% 40%, rgba(147, 51, 234, 0.3), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3), transparent 50%);
    filter: blur(50px);
    animation: floatBlob3 16s infinite ease-in-out;
    z-index: -1;
    pointer-events: none;
}

/* Animated Blur Background - Gallery Section */
.gallery::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.4), transparent 50%),
                radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.3), transparent 50%),
                radial-gradient(circle at 50% 70%, rgba(59, 130, 246, 0.3), transparent 50%);
    filter: blur(50px);
    animation: floatBlob4 17s infinite ease-in-out;
    z-index: -1;
    pointer-events: none;
}

/* Animated Blur Background - Contact Section */
.contact::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.4), transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.3), transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(236, 72, 153, 0.3), transparent 50%);
    filter: blur(50px);
    animation: floatBlob5 19s infinite ease-in-out;
    z-index: -1;
    pointer-events: none;
}

/* Keyframe Animations for Blobs */
@keyframes floatBlob1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(20px, 30px);
    }
}

@keyframes floatBlob2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-40px, 20px);
    }
    50% {
        transform: translate(30px, -30px);
    }
    75% {
        transform: translate(-20px, -20px);
    }
}

@keyframes floatBlob3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, 40px);
    }
    50% {
        transform: translate(-30px, -20px);
    }
    75% {
        transform: translate(30px, 20px);
    }
}

@keyframes floatBlob4 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-30px, -40px);
    }
    50% {
        transform: translate(40px, 20px);
    }
    75% {
        transform: translate(-20px, 30px);
    }
}

@keyframes floatBlob5 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, 20px);
    }
    50% {
        transform: translate(-40px, 30px);
    }
    75% {
        transform: translate(20px, -30px);
    }
} 

