@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;600;700&display=swap');

:root {
    --bg-gradient-start: #141E30; /* ব্যাকগ্রাউন্ডের গাঢ় নীল রঙ */
    --bg-gradient-end: #243B55;   /* ব্যাকগ্রাউন্ডের হালকা নীল রঙ */
    --card-bg-color: rgba(255, 255, 255, 0.08); /* গ্লাস ইফেক্টের জন্য কার্ডের রঙ */
    --text-color: #ffffff; /* লেখার রঙ (সাদা) */
    --border-color: rgba(255, 255, 255, 0.2); /* কার্ডের বর্ডারের রঙ */
    --primary-glow: #ff00cc; /* উজ্জ্বল গোলাপী রঙ */
    --secondary-glow: #3333ff; /* উজ্জ্বল নীল রঙ */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: linear-gradient(45deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-color);
    overflow-x: hidden;
}

#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* অ্যানিমেশনকে ব্যাকগ্রাউন্ডে রাখার জন্য */
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.menu-icon i, .settings-icon i {
    font-size: 1.5rem;
    cursor: pointer;
    background: var(--card-bg-color);
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}
.menu-icon i:hover, .settings-icon i:hover {
    transform: scale(1.1);
}

.container {
    padding: 20px;
    padding-top: 100px; /* হেডার যেন লেখার উপর না আসে */
}

/* গ্লাস ইফেক্টের মূল কার্ড স্টাইল */
.card {
    background: var(--card-bg-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    max-width: 800px;
    padding: 30px;
}

.profile-header {
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--border-color);
    object-fit: cover;
    margin-bottom: 20px;
}

.profile-name {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-title {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--primary-glow);
}

.section-title {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex; flex-wrap: wrap; gap: 15px; justify-content: center;
}

.contact-btn {
    display: inline-flex; align-items: center; padding: 10px 20px;
    border-radius: 8px; text-decoration: none; font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1); color: var(--text-color);
    border: 1px solid var(--border-color); transition: background-color 0.3s;
}
.contact-btn:hover { background-color: rgba(255, 255, 255, 0.2); }
.contact-btn i { margin-right: 10px; font-size: 1.2em; }
.fa-whatsapp { color: #25D366; } .fa-telegram { color: #0088cc; }

.skills-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.skills-container span {
    background: rgba(255, 255, 255, 0.1); padding: 10px 20px;
    border-radius: 25px; font-weight: 600;
}

.project-item { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.project-item:last-child { border-bottom: none; }
.project-item h3 { margin-bottom: 10px; }

.project-btn {
    display: inline-block; text-decoration: none;
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600;
    margin-top: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); }
.project-btn i { margin-left: 8px; }

footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.6);
}

/* ফ্লোটিং অ্যাকশন বাটন (FAB) এর স্টাইল */
.fab-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; align-items: center; cursor: pointer; }
.fab-button { width: 60px; height: 60px; background-color: #e74c3c; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 24px; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease-in-out; }
.fab-text { background-color: #e74c3c; color: white; padding: 10px 20px; border-radius: 6px; margin-right: 15px; font-weight: 600; visibility: hidden; opacity: 0; transform: translateX(10px); transition: all 0.3s ease; }
.fab-container:hover .fab-text { visibility: visible; opacity: 1; transform: translateX(0); }
.fab-container:hover .fab-button { transform: scale(1.1); }


 
/* ===== Main Header স্টাইলটি আপডেট করুন ===== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-icons {
    display: flex;
    gap: 15px; /* আইকনগুলোর মধ্যে ফাঁকা জায়গা */
}

/* আইকনগুলোর জন্য সাধারণ স্টাইল */
.menu-icon i, .settings-icon i, .music-control-btn {
    font-size: 1.5rem;
    cursor: pointer;
    background: var(--card-bg-color);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-icon i:hover, .settings-icon i:hover, .music-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}


/* ===== নতুন মিউজিক বাটনের জন্য স্টাইল ===== */
.music-control-btn .icon-pause {
    display: none; /* শুরুতে 'pause' আইকন مخفي থাকবে */
}

.music-control-btn.playing .icon-play {
    display: none; /* যখন বাজবে, তখন 'play' আইকন مخفي থাকবে */
}

.music-control-btn.playing .icon-pause {
    display: inline-block; /* যখন বাজবে, তখন 'pause' আইকন দেখা যাবে */
}

/* বাজন্ত অবস্থায় আইকনে অ্যানিমেশন (ঐচ্ছিক) */
.music-control-btn.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 204, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 204, 0); }
}

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;600;700&display=swap');

:root {
    --bg-gradient-start: #141E30;
    --bg-gradient-end: #243B55;
    --card-bg-color: rgba(255, 255, 255, 0.08);
    --text-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.2);
    --primary-glow: #ff00cc;
    --secondary-glow: #3333ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: linear-gradient(45deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-color);
    overflow-x: hidden;
}

#loading-bar-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 9999; transition: opacity 0.5s ease; }
#loading-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow)); border-radius: 0 2px 2px 0; transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
#tsparticles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

.main-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; position: fixed; top: 0; left: 0; width: 100%; z-index: 100; }
.header-icons { display: flex; gap: 15px; }

.menu-icon i, .settings-icon i, .music-control-btn {
    font-size: 1.5rem; cursor: pointer; background: var(--card-bg-color);
    width: 45px; height: 45px; display: flex; justify-content: center; align-items: center;
    border-radius: 50%; backdrop-filter: blur(5px); transition: transform 0.3s, box-shadow 0.3s;
}
.menu-icon i:hover, .settings-icon i:hover, .music-control-btn:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }

/* মিউজিক বাটনের জন্য নতুন স্টাইল */
.music-control-btn .icon-pause { display: none; }
.music-control-btn.playing .icon-play { display: none; }
.music-control-btn.playing .icon-pause { display: inline-block; }
.music-control-btn.playing { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 204, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(255, 0, 204, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 204, 0); } }

.container { padding: 20px; padding-top: 100px; }
.card { background: var(--card-bg-color); border-radius: 20px; border: 1px solid var(--border-color); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); margin: 20px auto; max-width: 800px; padding: 30px; }
.profile-header { text-align: center; }
.profile-img { width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--border-color); object-fit: cover; margin-bottom: 20px; }
.profile-name { font-size: 2.5em; font-weight: 700; margin-bottom: 5px; }
.profile-title { font-size: 1.2em; color: rgba(255, 255, 255, 0.7); margin-bottom: 20px; }
.social-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; margin: 0 15px; font-weight: 600; transition: color 0.3s; }
.social-links a:hover { color: var(--primary-glow); }
.section-title { text-align: center; font-size: 1.8em; margin-bottom: 25px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.contact-btn { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; background-color: rgba(255, 255, 255, 0.1); color: var(--text-color); border: 1px solid var(--border-color); transition: background-color 0.3s; }
.contact-btn:hover { background-color: rgba(255, 255, 255, 0.2); }
.contact-btn i { margin-right: 10px; font-size: 1.2em; }
.fa-whatsapp { color: #25D366; } .fa-telegram { color: #0088cc; }
.skills-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.skills-container span { background: rgba(255, 255, 255, 0.1); padding: 10px 20px; border-radius: 25px; font-weight: 600; }
.project-item { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.project-item:last-child { border-bottom: none; }
.project-item h3 { margin-bottom: 10px; }
.project-btn { display: inline-block; text-decoration: none; background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow)); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; margin-top: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); }
.project-btn i { margin-left: 8px; }
footer { text-align: center; padding: 20px; color: rgba(255, 255, 255, 0.6); }
.fab-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; align-items: center; cursor: pointer; }
.fab-button { width: 60px; height: 60px; background-color: #e74c3c; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 24px; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease-in-out; }
.fab-text { background-color: #e74c3c; color: white; padding: 10px 20px; border-radius: 6px; margin-right: 15px; font-weight: 600; visibility: hidden; opacity: 0; transform: translateX(10px); transition: all 0.3s ease; }
.fab-container:hover .fab-text { visibility: visible; opacity: 1; transform: translateX(0); }
.fab-container:hover .fab-button { transform: scale(1.1); }