/* === ELEGANT CUTE THEME VARIABLES === */
:root {
    --primary: #f48fb1; /* Soft Pink */
    --primary-dark: #c2185b; /* Deeper Pink for text */
    --accent: #ce93d8;  /* Soft Lavender */
    --gradient: linear-gradient(135deg, #f8bbd0 0%, #e1bee7 100%);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-dark: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-color: #fff9fc; /* Very light pink/white */
    --shadow: 0 10px 40px 0 rgba(244, 143, 177, 0.15);
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, hsla(340, 100%, 95%, 1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(280, 100%, 95%, 1) 0, transparent 50%), 
        radial-gradient(at 100% 100%, hsla(340, 100%, 95%, 1) 0, transparent 50%);
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23f48fb1" stroke="%23c2185b" stroke-width="1" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 12 12, auto;
}

/* Custom Pointer Cursor for Interactive Elements */
a, button, .btn-grad, .menu-toggle, input, textarea, select {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23c2185b" stroke="%23fff" stroke-width="1.5" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 12 12, pointer !important;
}

main {
    flex-grow: 1;
}

/* === FLOATING BACKGROUND SHAPES === */
.shape {
    position: absolute;
    filter: blur(60px);
    z-index: -1;
    animation: float 12s infinite ease-in-out;
    pointer-events: none;
}
.shape-1 {
    top: -10%; left: -10%; width: 500px; height: 500px;
    background: #f8bbd0; opacity: 0.5; border-radius: 50%;
}
.shape-2 {
    bottom: 10%; right: -5%; width: 400px; height: 400px;
    background: #e1bee7; opacity: 0.5; border-radius: 50%;
    animation-delay: 2s;
}

/* === NAVIGATION === */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem clamp(1rem, 5vw, 5%);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 248, 252, 0.18));
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
    box-shadow: 0 12px 40px rgba(244, 143, 177, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.68);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: 0.3s;
    font-size: 1.05rem;
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--primary-dark); 
}

.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 3px;
    background: var(--primary); bottom: -5px; left: 0; transition: 0.3s;
    border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 8px 20px rgba(244, 143, 177, 0.12);
    font-size: 1.25rem;
    color: var(--primary-dark);
    cursor: pointer !important;
    padding: 0;
}

/* === BUTTONS === */
.btn-grad {
    background-image: var(--gradient);
    padding: 12px 35px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 8px 20px rgba(244, 143, 177, 0.4);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-grad:hover {
    background-position: right center;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(244, 143, 177, 0.6);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px;
}

.hero-text { flex: 1; }

.greeting {
    background: rgba(248, 187, 208, 0.3);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(248, 187, 208, 0.5);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
h1 span { color: var(--primary-dark); }

.typing-text {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    height: 30px;
}

/* === HERO IMAGE (Blob) === */
.hero-img-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.blob-frame {
    width: 420px; height: 420px;
    background: linear-gradient(135deg, #f8bbd0 0%, #e1bee7 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: var(--shadow);
    z-index: 10;
}
.blob-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    background-color: #fff; 
}

/* === SECTION STYLES === */
.page-section { 
    padding: 8rem 10% 5rem; 
    min-height: 80vh;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.section-title::after {
    content: '♥';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--primary);
}

/* === ABOUT SECTION === */
.about-content {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 4rem;
    border-radius: 40px;
    border: 2px solid white;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
        
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-tag {
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(244, 143, 177, 0.15);
    border: 1px solid rgba(244, 143, 177, 0.3);
    transition: 0.3s;
}
.skill-tag:hover {
    transform: translateY(-5px);
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* === EDUCATION CARDS === */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.edu-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.edu-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(244, 143, 177, 0.25);
}
.edu-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%;
    background: var(--gradient);
}
.edu-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--primary-dark); font-family: 'Playfair Display', serif;}
.edu-card .place {
    color: var(--accent); font-weight: 600; font-size: 1rem; margin-bottom: 1rem; display: block; text-decoration: none; transition: 0.3s;
}
.edu-card .place:hover {
    color: var(--primary-dark);
}
.edu-card p { font-size: 1rem; color: var(--text-light); line-height: 1.6; }

/* === PROJECTS SECTION === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}
.project-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    border-radius: 30px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: 0.4s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(244, 143, 177, 0.25);
}
.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.5s;
}
.project-card:hover .project-img {
    transform: scale(1.03);
}
.project-img-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1.5rem;
}
.project-img-wrapper .project-img {
    width: calc(50% - 7.5px);
    margin-bottom: 0;
}
        
.project-card h3 {
    font-size: 1.6rem; margin-bottom: 1rem; color: var(--primary-dark); font-family: 'Playfair Display', serif;
}
.project-card p {
    font-size: 1.05rem; color: var(--text-light); line-height: 1.7; flex-grow: 1;
}

/* === VIDEO SECTION === */
.video-container {
    max-width: 900px;
    margin: 4rem auto 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 40px;
    border: 2px solid white;
    box-shadow: var(--shadow);
    position: relative;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 6px solid white;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}
.video-description {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
}

/* === RESUME SECTION === */
.resume-container {
    background: var(--glass);
    border-radius: 40px;
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid white;
}
.resume-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: float 4s infinite ease-in-out;
}
.resume-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.resume-preview {
    margin-top: 3rem;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.resume-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.resume-details {
    margin-top: 4rem;
    text-align: left;
    padding-top: 2rem;
    border-top: 2px dashed rgba(244, 143, 177, 0.4);
}
.resume-block {
    margin-bottom: 2.5rem;
}
.resume-block h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}
.resume-item {
    margin-bottom: 1.5rem;
}
.resume-item h5 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}
.resume-item .date-location {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.resume-item ul {
    list-style-type: none;
    padding-left: 0;
}
.resume-item ul li {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
}
.resume-item ul li::before {
    content: '✿';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9rem;
}

/* === SKILLS PAGE SECTION === */
.skills-page-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.skill-category {
    background: var(--glass);
    border-radius: 40px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 2px solid white;
    backdrop-filter: blur(10px);
}
.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(244, 143, 177, 0.3);
    padding-bottom: 10px;
}
.category-title i {
    color: var(--primary);
}
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.skill-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}
.skill-percent {
    color: var(--primary-dark);
    font-weight: 600;
}
.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(244, 143, 177, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(244, 143, 177, 0.5);
    animation: fillProgress 1.5s ease-in-out forwards;
    transform-origin: left;
}
@keyframes fillProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.soft-skill-tag {
    background: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(244, 143, 177, 0.15);
    border: 1px solid rgba(244, 143, 177, 0.3);
    transition: 0.3s;
    cursor: default;
}
.soft-skill-tag:hover {
    transform: translateY(-5px);
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(244, 143, 177, 0.4);
}

/* === CONTACT SECTION === */
.contact-container {
    background: var(--glass); 
    border-radius: 40px; 
    padding: 4rem; 
    text-align: center;
    box-shadow: var(--shadow); 
    max-width: 800px; 
    margin: 0 auto;
    border: 2px solid white;
}
.social-icons {
    margin-top: 3rem; display: flex; justify-content: center; gap: 2rem;
}
.social-link {
    width: 60px; height: 60px; border-radius: 50%; background: white;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-dark); text-decoration: none; font-size: 1.5rem; transition: 0.4s;
    box-shadow: 0 5px 15px rgba(244, 143, 177, 0.2);
}
.social-link:hover {
    background: var(--gradient); color: white; transform: rotate(360deg) scale(1.1);
}

footer {
    text-align: center; 
    padding: 3.25rem 1rem; 
    color: #fff8fd;
    font-size: 1.15rem; 
    font-weight: 600;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 35%),
        linear-gradient(135deg, #d81b60 0%, #ab47bc 55%, #7e57c2 100%);
    border-top: none;
    margin-top: auto;
    box-shadow: 0 -16px 40px rgba(129, 46, 123, 0.22);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewY(-2deg);
    pointer-events: none;
}

/* === ANIMATIONS === */
@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero { flex-direction: column-reverse; text-align: center; justify-content: center; gap: 3rem; padding-top: 120px;}
    h1 { font-size: 3rem; }
    .blob-frame { width: 320px; height: 320px; }
    
    .menu-toggle { display: inline-flex; z-index: 1002; }
    .nav-links {
        position: fixed;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        width: auto;
        background: rgba(255, 255, 255, 0.96);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1rem;
        gap: 1.25rem;
        display: none;
        box-shadow: 0 20px 40px rgba(244, 143, 177, 0.18);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        z-index: 1001;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1rem; }
    body.menu-open { overflow: hidden; }
    .resume-preview { display: none; }
}

@media (max-width: 480px) {
    nav {
        padding: 0.9rem 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .page-section { padding: 6rem 5% 4rem; }
    h1 { font-size: 2.5rem; }
    .blob-frame { width: 260px; height: 260px; }
    .edu-grid, .projects-grid { grid-template-columns: 1fr; }
    
    .project-img-wrapper { flex-direction: column; }
    .project-img-wrapper .project-img { width: 100%; margin-bottom: 10px; }

    .video-container, .about-content, .contact-container, .resume-container, .skill-category { 
        padding: 2rem 1.5rem; 
        border-radius: 30px; 
    }
    
    .resume-preview { height: 400px; }
}
