@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

/* Global Styles & Scrollbar Hide */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar { display: none; }

body {
    background-color: #0b0e14;
    color: white;
    overflow-x: hidden;
}

/* Reveal Animation Base */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: 0.8s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Navbar Section */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.highlight { color: #3b82f6; }

.nav-links { display: flex; gap: 25px; }

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active { color: #3b82f6; }

.menu-icon {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    width: 100%;
    gap: 50px;
    flex-wrap: wrap-reverse;
}

.hero-content { flex: 1; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { color: #94a3b8; line-height: 1.7; margin-bottom: 35px; font-size: 1.05rem; }

.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.img-border {
    width: 320px; height: 320px; padding: 10px;
    border: 3px dashed #3b82f6;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
    background: #1e293b;
    display: flex; justify-content: center; align-items: center; overflow: hidden;
}

.img-border img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transform: scale(1.1); }

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%; }
}

/* About Me & Animated Skills Section */
.about {
    padding: 100px 20px;
    background: #0f172a;
}

.about-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-text p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    perspective: 1000px;
}

.skill-tag {
    background: rgba(59, 130, 246, 0.08);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floating 3s ease-in-out infinite;
}

.skill-tag:nth-child(odd) { animation-duration: 3.5s; animation-delay: 0.2s; }
.skill-tag:nth-child(even) { animation-duration: 2.8s; animation-delay: 0.5s; }

.reveal.active .skill-tag {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

.skill-tag:nth-child(1) { animation-delay: 0.1s; }
.skill-tag:nth-child(2) { animation-delay: 0.2s; }
.skill-tag:nth-child(3) { animation-delay: 0.3s; }
.skill-tag:nth-child(4) { animation-delay: 0.4s; }
.skill-tag:nth-child(5) { animation-delay: 0.5s; }

.skill-tag:hover {
    background: #3b82f6;
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
    border-color: #fff;
    animation-play-state: paused;
}

.skill-tag i { color: #3b82f6; transition: 0.3s; font-size: 1.1rem; }
.skill-tag:hover i { color: #fff; transform: rotate(360deg); }
.skill-tag strong { font-weight: 700; letter-spacing: 1px; }

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.5) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Projects Section */
.projects { padding: 100px 5%; background: #0b0e14; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; text-align: center; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 50px; }

.project-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover { transform: translateY(-15px); border-color: #3b82f6; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.project-img-wrapper { position: relative; height: 220px; overflow: hidden; }
.project-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.project-card:hover .project-img-wrapper img { transform: scale(1.1); }

.project-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(59, 130, 246, 0.8);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.4s;
}

.project-card:hover .project-overlay { opacity: 1; }
.overlay-icon { background: white; color: #3b82f6; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 10px; font-size: 1.2rem; }
.project-info { padding: 25px; }
.project-tags { display: flex; gap: 10px; margin-bottom: 15px; }
.project-tags span { font-size: 0.7rem; background: rgba(59, 130, 246, 0.15); color: #3b82f6; padding: 4px 12px; border-radius: 50px; font-weight: 600; }
.project-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.btn-code { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.btn-live { background: #3b82f6; color: white; text-decoration: none; padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; }

/* Contact Section */
.contact { padding: 100px 5%; background: radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.05), transparent); }
.contact-wrapper { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.info-item { display: flex; align-items: center; margin-bottom: 25px; }
.info-icon { width: 50px; height: 50px; background: rgba(59, 130, 246, 0.1); color: #3b82f6; border-radius: 12px; display: flex; justify-content: center; align-items: center; margin-right: 20px; }
.social-links { display: flex; gap: 15px; margin-top: 30px; }
.social-links a { width: 45px; height: 45px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; transition: 0.3s; }
.social-links a:hover { background: #3b82f6; transform: translateY(-5px); }
.contact-form-container { background: rgba(30, 41, 59, 0.4); padding: 40px; border-radius: 20px; backdrop-filter: blur(10px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
input, textarea { width: 100%; padding: 15px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; margin-bottom: 20px; outline: none; }

/* Common Buttons */
.btn { background: #3b82f6; color: white; padding: 12px 25px; border-radius: 30px; border: none; cursor: pointer; transition: 0.3s; font-weight: 600; text-decoration: none; display: inline-block; }
.btn:hover { background: #2563eb; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }
.btn-secondary { background: transparent; border: 1px solid #3b82f6; color: #3b82f6; padding: 12px 25px; border-radius: 30px; text-decoration: none; transition: 0.3s; display: inline-block; }
.btn-secondary:hover { background: rgba(59, 130, 246, 0.1); transform: translateY(-3px); }
.full-width { width: 100%; }

footer { text-align: center; padding: 50px; color: #475569; border-top: 1px solid #1e293b; }

/* Responsive (MOBILE MENU FIX) */
@media (max-width: 768px) {
    .menu-icon { 
        display: block; 
    }

    .nav-links { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        height: 100vh; 
        width: 70%; 
        background: rgba(11, 14, 20, 0.98); 
        backdrop-filter: blur(20px); 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        gap: 30px; 
        transition: 0.5s ease-in-out; 
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

       .nav-links.active { 
        right: 0; 
    }

    .hero-content h1 { font-size: 2.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .nav-content { padding: 0 20px; }
}

/* SweetAlert Custom Styling */
.swal2-popup { border-radius: 20px !important; background: #1e293b !important; color: white !important; }
.swal2-confirm { background-color: #3b82f6 !important; border-radius: 10px !importaimportaFIXE
