@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

/* section glass */
/* সেকশন এ গ্লাস হোভার */
:root {
  --bg-color: radial-gradient(circle at top right, #ffffff, #ffffff, #b4d4e2, #9fa7f0);
  --text-main: #1f2937;
  --text-para: #3d4550;
}

.dark {
  /* ডার্ক মোডের ব্যাকগ্রাউন্ড - এখানে নীলচে ভাব রাখা হয়েছে */
  --bg-color: radial-gradient(circle at top right, #0f172a, #020617, #041354);

  /* ডার্ক মোডে টেক্সট কালার - একটু উজ্জ্বল রাখা ভালো যেন পড়া যায় */
  --text-main: #f1f5f9;
  --text-para: #94a3b8;
  --nav-bg: rgba(15, 23, 42, 0.9);
  --navbar-bg: rgba(0, 239, 219, 0.8);
}

/* ৩. গ্লোবাল সেটিংস */
body {
  background: var(--bg-color) !important;
  /* ব্যাকগ্রাউন্ড যেন পরিবর্তন হয় */
  min-height: 100vh;
  margin: 0;
  transition: background 0.5s ease;
  /* শুধু ব্যাকগ্রাউন্ড স্মুথলি চেঞ্জ হবে */
}




/* শিরোনামের জন্য */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  transition: color 0.5s ease;
}

/* প্যারাগ্রাফের জন্য */
p {
  color: var(--text-para);
  transition: color 0.5s ease;
}

/* নেভিগেশন বার - ডার্ক মোড এবং লাইট মোড নির্বিশেষে একটি সলিড কালার */
nav {
  background-color: #0d00ff !important;
  /* ইন্ডিগো বা নীল কালার */
  backdrop-filter: blur(10px);
  /* ঝাপসা ইফেক্ট দিবে যদি ট্রান্সপারেন্ট হয় */
  transition: background-color 0.5s ease;
}




/* লাইট মোডে কালার */
#pranta {
  background: linear-gradient(to right, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  /* একটু মোটা দেখাবে */
}

h1 {
  color: var(--text-main) !important;
}

#about {
  padding-top: 80px;
  /* আপনার নববারের হাইট অনুযায়ী এটি বাড়িয়ে বা কমিয়ে দেখুন */
  min-height: 100vh;
}


/* footer.glass-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  transition: all 0.3s ease;
}

footer a {
  color: var(--footer-link);
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--footer-link-hover);
}

footer p,
footer span {
  color: var(--footer-text-secondary);
}

footer .icon-bg {
  background: var(--footer-icon-bg);
} */



.round-icon {
  width: 100px;
  /* প্রয়োজন অনুযায়ী */
  height: 100px;
  /* width এবং height সমান হতে হবে */
  border-radius: 50%;
  object-fit: cover;
  /* ইমেজ সুন্দরভাবে ফিট করার জন্য */
}

/* ১. বডি থেকে এই অংশগুলো সরিয়ে ফেলুন */
body {
  font-family: 'Noto Serif', 'Serif';
  /* background: var(--bg-gradient); */
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  transition: background 0.4s ease, color 0.4s ease;
  color: #00bfff;

}

/* ২. স্ক্রল স্ন্যাপ কন্টেইনার (এটি পুরো পেজের জন্য) */
html {
  scroll-snap-type: y mandatory;
}

/* ৩. আপনার প্রতিটি সেকশন (যেমন: Home, About) এভাবে লিখুন */
.home.about {

  /* প্রতিটি সেকশন পুরো স্ক্রিন জুড়ে থাকবে */
  width: 100%;
  scroll-snap-align: start;
  /* স্ক্রল করলে ঠিক এখান থেকে শুরু হবে */
  position: relative;
  overflow: hidden;
  /* যাতে নিচের সেকশন উঁকি না দেয় */
  background: inherit;
  /* বডির ব্যাকগ্রাউন্ড পাবে */
}



section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* এটি নিশ্চিত করবে যেন এক স্ক্রিন জায়গা নেয় */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* কন্টেন্ট মাঝখানে রাখবে */
  overflow: hidden;
  /* যাতে ভেতরের কিছু বাইরে উঁকি না দেয় */
  box-sizing: border-box;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  /* বাটন এবং মেনুর মাঝে গ্যাপ */
}

.mode-btn {
  background: none;
  border: 1px solid #fff;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 16px;
}

/* মোবাইল ভার্সনের জন্য পরিবর্তন */
@media (max-width: 768px) {
  .nav-links {
    /* আগের কোড ঠিক থাকবে, শুধু পজিশন নিশ্চিত করুন */
    top: 60px;
  }

  .mode-btn {
    margin-right: 10px;
    /* হ্যামবার্গার মেনু থেকে একটু দূরে থাকবে */
  }
}


/* এটি ডিফল্ট অবস্থা - যখন একদম উপরে থাকবেন */
#navbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.4s ease;
  /* এটি পরিবর্তনকে স্মুথ করবে */
}

/* এটি স্ক্রল করার পরের অবস্থা */
.nav-scrolled {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
  padding: 10px 20px !important;
  /* স্ক্রল করলে নববার একটু ছোট হয়ে আসবে */
  border-radius: 20px;
}




/* টোগল বাটনের বাড়তি স্টাইল */
#theme-toggle {
  cursor: pointer;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--text-color);
  justify-content: space-between;
  /* padding: 5px 10% */

}

#theme-toggle {
  position: right;
  z-index: 999;
  align-items: center;
  display: flex;
  /* gap: 10px; */
  /* বাটনটিকে সবার উপরে রাখবে */
}


#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  /* গ্লাস ইফেক্ট নিশ্চিত করতে */
  background-color: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);

  /* বর্ডার এবং শ্যাডো */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  z-index: 999;
  transition: all 0.3s ease;
  /* স্মুথ ট্রানজিশন */
}

/* কন্টেইনার এবং প্যাডিং পরিবর্তন */
#navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  justify-content: space-between;
  align-items: center;

  /* প্যাডিং একটু বড় করা হলো */
  padding: 20px 30px;
}

/* লিঙ্কের স্টাইল */
#navbar .nav-links a {
  text-decoration: none;
  color: #4b5563;
  /* gray-700 এর কাছাকাছি স্পষ্ট কালার */
  font-weight: 500;
  transition: color 0.3s ease;
}

#navbar .nav-links a:hover {
  color: #3b82f6 !important;
}

/* ছবি তে এনিমেশন অ্যাড */

/* RGB Frame with glowing background */
.rgb-frame {
  position: relative;
  width: 350px;
  /* Image size */
  height: 350px;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(270deg, #ff0000, #ff9900, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  background-size: 400% 400%;
  animation: rgbGlow 20s ease infinite;
  transition: transform 0.4s ease;
  cursor: pointer;
  scroll-behavior: smooth;
}

/* Glowing blurred ring behind the frame */
.rgb-frame::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: linear-gradient(270deg, #ff0000, #ff9900, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  background-size: 200% 200%;
  animation: rgbGlow 20s ease-in-out infinite;
  filter: blur(30px);
  z-index: -1;
  opacity: 0.3;
}

/* Circular profile image */
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: white;
  z-index: 1;
  scroll-behavior: smooth;
  position: relative;
}

/* Hover effect for image zoom + subtle shadow */
.rgb-frame:hover .profile-img {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* RGB animation */
@keyframes rgbGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* এত টুকু অবধি প্রোফাইলের এডিট বার */

/* Typing effect */

.typing-colorful {
  background: linear-gradient(90deg, #ff0080, #7928ca, #2afadf, #00ff88);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s ease infinite;
  font-weight: bold;
}

@keyframes gradientMove {
  0% {
    background-position: 0%
  }

  50% {
    background-position: 100%
  }

  100% {
    background-position: 0%
  }
}

.typing-colorful {
  font-size: 2rem;
}

/*  About me ইনফরমেশন এর হোভার আর কার্ড  শুরু */
/* card */
.info-card {
  --shadow-color: rgb(157, 163, 28);
  /* এখান থেকে শ্যাডো কালার পরিবর্তন করুন */

  background: rgb(255, 255, 255);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(145, 124, 124, 0.05);
  padding: 15px;

  border-radius: 12px;
  /* বর্ডার যাতে মুছে না যায় তাই এখানে ফিক্সড করা হয়েছে */
  border-left: 2px solid #3b82f6;
  margin-left: -2px;

  /* সাধারণ অবস্থায় হালকা শ্যাডো */
  transition: transform 0.3s, box-shadow 0.3s;
  /* মসৃণ পরিবর্তনের জন্য */
  cursor: pointer;
}

/* মাউস নিলে যা ঘটবে */
.info-card:hover {
  transform: translateY(-5px);
  /* মাউস নিলে কার্ডটি সামান্য উপরে উঠবে */
  box-shadow: 0 8px 25px var(--shadow-color);
  /* আপনার দেওয়া কালার শ্যাডো এখানে কাজ করবে */
}


/* মেইন কার্ড স্টাইল */
.cp-card {
  border-radius: 15px;
  display: block;
  transition: all 0.3s ease;
  /* অ্যানিমেশনটি স্মুথ করার জন্য */
  position: relative;
  text-decoration: none;


}

/* মাউস কার্সার নিলে যা ঘটবে */
.cp-card:hover {
  transform: translateY(-8px);
  /* কার্ডটি উপরে ভেসে উঠবে */
  opacity: 1;
  /* যদি আগে অপাসিটি কম থাকে তবে এটি ফুল দেখাবে */

  /* নিচের কালারটি পরিবর্তন করে আপনার পছন্দের রঙ দিন */
  --shadow-color: rgb(60, 145, 231);

  /* গ্লোয়িং কালার শ্যাডো */
  box-shadow: 0 15px 30px var(--shadow-color);

}


/* ভার্সিটি আইটেম স্টাইল */
.timeline-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* একটু বাউন্সি ইফেক্ট এর জন্য */
  cursor: pointer;
  position: relative;
  padding: 15px;
  border-radius: 12px;
}

/* মেইন টাইমলাইন আইটেম */
.timeline-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  padding: 15px;
  border-radius: 12px;
  /* বর্ডার যাতে মুছে না যায় তাই এখানে ফিক্সড করা হয়েছে */
  border-left: 2px solid #3586ff;
  margin-left: -2px;
}

/* মাউস হোভার ইফেক্ট */
.timeline-item:hover {
  transform: translateX(10px) translateY(-2px);
  /* আপনার দেওয়া মুভমেন্ট */
  background: rgba(123, 136, 21, 0.08);
  /* হালকা নীল ব্যাকগ্রাউন্ড */
  box-shadow: 0 10px 25px rgba(88, 152, 255, 0.2);
  /* গ্লোয়িং শ্যাডো */

  /* হোভার করলে বর্ডারটি আরও উজ্জ্বল হবে */
  border-left: 2px solid #1d4ed8;

  /* এত টুকু অবধি সব About me  */



  /* পুরো ডিভটিকে সেন্টারে নেওয়া এবং গ্যাপ দেওয়া */
  .get-in-touch {
    position: fixed;
    /* এটি লেখাকে স্ক্রিনে আটকে রাখবে */
    top: 50%;
    /* উপর থেকে মাঝখানে আনবে */
    left: 50%;
    /* বাম থেকে মাঝখানে আনবে */
    transform: translate(-50%, -50%);
    /* একদম নিখুঁতভাবে সেন্টারে ফিক্স করার জন্য */
    z-index: 9999;
    /* যাতে অন্য কোনো এলিমেন্টের নিচে ঢাকা না পড়ে */
    width: 100%;
    /* পুরো চওড়া বজায় রাখার জন্য */
    pointer-events: none;
    /* যাতে এই সেকশনের নিচের বাটনে ক্লিক করা যায় (প্রয়োজন হলে) */
  }


  .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .card {
    background: #222;
    color: white;
    padding: 20px;
    border-radius: 10px;
  }




  /* Refresh code bar */
  .logo {
    cursor: pointer;
  }


  /* মেইন বক্সের স্টাইল */
  .skill-box {
    width: 100%;
    margin-bottom: 20px;
  }

  .skill-badge {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: bold;
  }




  /* প্রগ্রেস বারের ধূসর ব্যাকগ্রাউন্ড */
  .progress-bar {
    height: 10px;
    width: 100%;
    background: #8f8383;
    border-radius: 10px;
    position: relative;
  }

  /* ভেতরের কালারফুল অংশ */
  .progress-fill {
    height: 100%;
    position: absolute;
    border-radius: 10px;
  }

  /* আলাদা আলাদা কালার কোড */
  .python span {
    width: 90%;
    background-color: #00acee;
    /* নীল */
  }

  .java span {
    width: 85%;
    background-color: #98d414;
    /* সবুজ */
  }

  .javascript span {
    width: 80%;
    background-color: #f39c12;
    /* কমলা */
  }

  .html-css span {
    width: 90%;
    background-color: #8e44ad;
    /* বেগুনি */
  }


  /* ৪. কালার এবং নির্দিষ্ট পারসেন্টেজ */
  .python span {
    background: #2d2df3;
    --target-width: 90%;
    /* CSS Variable ব্যবহার করা হয়েছে */
  }

  .java span {
    background: #aed318;
    --target-width: 85%;
  }

  /* পারসেন্টেজ টেক্সট কালার */
  .python .percentage {
    color: #00acee;
  }

  .java .percentage {
    color: #2ecc71;
  }
}

/* Education */

/* কাস্টম কালার ভ্যারিয়েবল (আপনি এখান থেকে চেঞ্জ করতে পারবেন) */
:root {
  --hover-translate-y: -15px;
  /* কতটুকু উপরে ভাসবে */
  --hover-scale: 1.02;
  /* কতটুকু বড় হবে */
  --card-shadow: 0 10px 15px -3px rgba(31, 133, 249, 0.721);
  --hover-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.edu-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--card-shadow);
}

/* মাউস হোভার ইফেক্ট (ডেস্কটপের জন্য) */
@media (min-width: 768px) {
  .edu-card:hover {
    transform: translateY(var(--hover-translate-y)) scale(var(--hover-scale));
    box-shadow: var(--hover-shadow);
    background-color: #ffffff;
    /* হোভার কালার */
  }
}

/* মোবাইলের জন্য হালকা টাচ ইফেক্ট */
@media (max-width: 767px) {
  .edu-card:active {
    transform: scale(0.98);
    background-color: #f9fafb;
  }
}

/* টাইটেল আন্ডারলাইন */
.section-title-edu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  border-radius: 10px;
}

/* ইমেজ জুম ইফেক্ট */
.edu-card img:hover {
  z-index: 50;
  box-shadow: 0 10px 20px rgb(21, 161, 255);
}


#modalImage {
  animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

cursor-zoom-in {
  cursor: zoom-in;
}

#modalImage.scale-100 {
  transform: scale(1);
}

/* --- Footer Main Styles --- */
footer {
  background-color: #0b1120;
  color: #ffffff;
  padding: 40px 0 24px 0;
  /* py-10 */
  margin-top: 48px;
  /* mt-12 */
  border-top: 1px solid #1e293b;
  /* border-slate-800 */
  font-family: 'Inter', sans-serif;
  /* বা আপনার পছন্দের ফন্ট */
}

.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

/* মোবাইল বা ছোট ডিভাইসের জন্য (৭৬৮ পিক্সেলের নিচে) */
@media (max-width: 768px) {

  #navbar .nav-links,
  .mobile-menu-hide {
    display: none;
  }

  .navbar {
    flex-direction: column;
  }
}

/* বড় ডিভাইসের জন্য (৭৬৮ পিক্সেলের উপরে) */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Laptop */
@media (min-width: 901px) {
  .container {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ফটোর জন্য রেসপন্সিভ স্টাইল */
.photo-frame {
  max-width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.photo-frame img {
  max-width: 100%;
  /* ফটো যাতে ফ্রেমের বাইরে না যায় */
  height: auto;
  display: block;
  border-radius: 8px;
  /* ফ্রেমের লুক দেওয়ার জন্য */
}

/* মোবাইল রেসপন্সিভ মেনু (Media Query) */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    /* শুরুতে মেনু হাইড থাকবে */
    flex-direction: column;
    width: 100%;
    background-color: #333;
    position: absolute;
    top: 60px;
    left: 0;
  }

/*Nav gation bar */

  .nav-links.active {
    display: flex;
    /* বাটনে ক্লিক করলে মেনু দেখাবে */
  }

  .menu-toggle {
    display: block;
    /* মোবাইলে আইকন দেখাবে */
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    margin: 5px;
  }
}

/* মেনুবার ডিজাইন */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #111;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* মোবাইল মেনু বাটন (Hamburger) */
.menu-toggle {
  display: none;
  /* ল্যাপটপে লুকানো থাকবে */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
}




/* --- আপনার RGB ফ্রেমের রেসপন্সিভ ভার্সন --- */
.rgb-frame {
  position: relative;
  /* মোবাইল প্রথম এপ্রোচ: ছোট স্ক্রিনে সাইজ কম হবে */
  width: 280px;
  height: 280px;
  margin: 20px auto;
  /* মাঝখানে রাখার জন্য */
  border-radius: 50%;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(270deg, #ff0000, #ff9900, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
  background-size: 400% 400%;
  animation: rgbGlow 20s ease infinite;
  transition: transform 0.4s ease;
}

/* Section of project */
#projects h2 {
  /* লেখাটিকে তার নিজের জায়গায় লক করে রাখবে */
  display: inline-block;
  vertical-align: middle;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* যদি হোভারের কারণে পুরো সেকশন নড়ে, তবে এটি ব্যবহার করুন  >div */
#projects .grid>div {
  /* আপনার প্রজেক্ট কার্ডগুলোর ক্লাস */
  box-sizing: border-box;
}

#projects h2 {
  will-change: transform;
  transform: translateZ(0);
  /* এটি হেডিংকে তার জায়গায় স্থির করে লক করে দেয় */
}


/* .section-title {
          text-align: center;
          margin-bottom: 80px;
          font-family: sans-serif;
          font: size 80px;
} */

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* প্রজেক্ট কার্ডের মূল স্টাইল */
.project-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  border-top: 5px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* স্মুথ বাউন্স অ্যানিমেশন */
  display: flex;
  flex-direction: column;
}

/* Purple Theme */
.purple-border {
  border-top-color: #9b59b6;
}

.purple-bg {
  background: #f4ecf7;
  color: #9b59b6;
}

/* Red Theme */
.red-border {
  border-top-color: #e74c3c;
}

.red-bg {
  background: #fdedec;
  color: #e74c3c;
}

/* Tags text color balance for new cards */
.purple-border .tags span {
  color: #9b59b6;
}

.red-border .tags span {
  color: #e74c3c;
}

/* মাউস নিলে ভেসে ওঠার (Hover) ইফেক্ট */
.project-card:hover {
  transform: translateY(-12px);
  /* উপরের দিকে ভেসে উঠবে */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  /* ছায়া বাড়বে */
}

/* আইকন বক্স */
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 20px;
}

/* কার্ডের বিভিন্ন বর্ডার কালার (ছবির মতো) */
.blue-border {
  border-top-color: #3498db;
}

.green-border {
  border-top-color: #2ecc71;
}

.orange-border {
  border-top-color: #e67e22;
}

.cyan-border {
  border-top-color: #1abc9c;
}

/* আইকনের ব্যাকগ্রাউন্ড কালার */
.blue-bg {
  background: #ebf5fb;
  color: #3498db;
}

.green-bg {
  background: #eafaf1;
  color: #2ecc71;
}

.orange-bg {
  background: #fef5e7;
  color: #e67e22;
}

.cyan-bg {
  background: #e8f8f5;
  color: #1abc9c;
}

.project-card h3 {
  margin: 10px 0;
  font-size: 22px;
  color: #2c3e50;
}

.project-card p {
  color: #7f8c8d;
  font-size: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

/* ট্যাগ স্টাইল */
.tags {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 5px 12px;
  background: #f0f3f4;
  border-radius: 20px;
  font-size: 12px;
  color: #5dade2;
  font-weight: bold;
}

/* লিঙ্ক স্টাইল */
.view-link {
  text-decoration: none;
  color: #a1db34;
  font-weight: bold;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.view-link:hover {
  text-decoration: underline;
}

/* মোবাইলের জন্য ছোট অ্যাডজাস্টমেন্ট */
@media screen and (max-width: 480px) {
  .project-container {
    grid-template-columns: 1fr;
  }
}


/* ল্যাপটপ বা বড় স্ক্রিনের জন্য সাইজ বাড়ানো */
@media screen and (min-width: 768px) {
  .rgb-frame {
    width: 350px;
    height: 350px;
  }

  /* ল্যাপটপে মেনু বাটন হাইড থাকবে */
  .menu-toggle {
    display: none;
  }
}

/* মোবাইল রেসপন্সিভ মেনু লজিক */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  @media (min-width: 1024px) {
    .name-title {
      font-size: 4.5rem;
      /* ডেস্কটপের জন্য */
    }
  }

  /* মোবাইল রেস্পন্সিভ */
  @media (max-width: 768px) {
    .column-title {
      font-size: 18px;
      /* মোবাইলে ফন্ট একটু ছোট হবে */
      padding: 8px 12px;
      /* মোবাইলে প্যাডিং একটু কমবে */
    }
  }

  /* মোবাইল রেস্পন্সিভ (৭৬৮ পিক্সেলের নিচে) */
  @media (max-width: 768px) {
    .column-title {
      font-size: 20px;
      /* মোবাইলে টাইটেল একটু ছোট দেখাবে */
      margin-bottom: 15px;
      text-align: center;
      /* মোবাইল স্ক্রিনে লেখাটি মাঝখানে রাখতে চাইলে এটি ব্যবহার করুন */
    }
  }

  /* মোবাইলে বাটন দেখাবে */

  .nav-links {
    display: none;
    /* শুরুতে মেনু বন্ধ থাকবে */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #222;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
    /* টোগল বাটনে ক্লিক করলে দেখাবে */
  }
}

/* আপনার বাকি কোড (Profile Image & Glow) */
.rgb-frame::before {
  content: "";
  position: absolute;
  inset: -15px;
  /* মোবাইলে ব্লায়ার একটু কম করা ভালো */
  border-radius: 50%;
  background: inherit;
  filter: blur(25px);
  z-index: -1;
  opacity: 0.4;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: white;
  z-index: 1;
}

@keyframes rgbGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}








/* প্রতিটি স্কিল কার্ডের মূল ডিজাইন */
.skill-item-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(11, 36, 222, 0.03);
  border: 1px solid #f0f4f8;
  transition: all 0.3s ease-in-out;
}

/* মাউস নিলে পুরো কার্ডটি একটু উপরে উঠবে */
.skill-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(157, 213, 25, 0.08);
}

.skill-item-card span {
  font-weight: 700;
  color: #334155;
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* প্রোগ্রেস বার কন্টেইনার */
.bar {
  width: 100%;
  height: 8px;
  background: #aaa8a5;
  border-radius: 10px;
  overflow: hidden;
}

/* প্রোগ্রেস ফিলার */
.fill {
  height: 100%;
  /* ডিফল্ট ভ্যালু অনুযায়ী আগে থেকেই ফিল থাকবে */
  width: var(--val);
  border-radius: 10px;
  transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* মাউস নিলে বারটি আরও ১০% বাড়বে */
.skill-item-card:hover .fill {
  /* calc ব্যবহার করে বর্তমান ভ্যালুর সাথে ১০% যোগ করা হয়েছে */
  width: calc(var(--val) + 10%);
  max-width: 100%;
  /* যাতে ১০০% এর বেশি না যায় */
}

.skill-item-card p {
  text-align: right;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
}

.skill-item-card:hover p {
  color: #1e293b;
  transform: scale(1.1);
  transition: all 0.3s ease;
}


/* কার্ডের সাধারণ স্টাইল এবং হোভার ইফেক্ট */
.skill-item-card {
  @apply p-4 rounded-xl border border-gray-200 transition-all duration-300;
  background: white;
}

.skill-item-card:hover {
  @apply shadow-lg transform -translate-y-1;
  border-color: rgba(59, 130, 246, 0.5);
  /* হালকা নীল বর্ডার */
}

/* প্রোগ্রেস বার এর কন্টেইনার */
.bar {
  @apply w-full h-2 bg-gray-200 rounded-full mt-3 overflow-hidden;
}

/* ফিল অ্যানিমেশন */
.fill {
  height: 100%;
  width: 0;
  /* শুরুতে ০ থাকবে */
  border-radius: inherit;
  transition: width 1.5s cubic-bezier(0.1, 0.42, 0.41, 1);
  /* স্ক্রিন লোড হলে প্রোগ্রেস বার ফিল হবে */
  width: var(--val);
}



/* কন্টাক্ট সেকশন ডিজাইন */
.contact-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  color: #0f172a;
}

/* গ্রিড লেআউট */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.column-title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 25px;
}

/* মেইন কার্ড এবং ইনফরমেশন ডিভ ডিজাইন */
.info-item-card,
.form-card-container {
  background: #ffffff;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* স্মুথ এনিমেশন */
  box-shadow: 0 4px 6px -1px #3392ebcb;
  /* ডিফল্ট হালকা শ্যাডো */
}

/* মাউস নিলে ভেসে ওঠার ম্যাজিক (Hover Effect) */
.hover-elevate:hover {
  transform: translateY(-10px);
  /* ১০ পিক্সেল উপরে উঠে যাবে */
  background: #ffffff;
  border-color: #3b82f6;
  /* বর্ডার নীল হবে */
  /* বড় এবং প্রিমিয়াম শ্যাডো */
  box-shadow: 0 20px 30px -10px rgba(59, 130, 246, 0.2);
  cursor: pointer;
}

/* আইকন বক্স */
.icon-circle {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.email-bg {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.phone-bg {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.loc-bg {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.wa-bg {
  background: linear-gradient(135deg, #25d366, #075e54);
}

/* ফন্ট স্টাইল (অনেক বোল্ড করা হয়েছে) */
.label-text {
  display: block;
  font-weight: 900;
  /* Extra Bold */
  color: #1e293b;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-text {
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  font-size: 15px;
}

.wa-link-text {
  color: #075e54;
  font-weight: 800;
  text-decoration: underline;
}

/* ফর্ম ডিজাইন */
.form-card-container {
  flex-direction: column;
  align-items: stretch;
  padding: 40px;
}

.input-wrap label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  color: #334155;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-submit-btn {
  background: #2563eb;
  color: white;
  padding: 18px;
  border-radius: 12px;
  border: none;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.form-submit-btn:hover {
  background: #1d4ed8;
  transform: scale(1.02);
}

/* মোবাইল রেসপনসিভ */
@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* কন্টাক্ট হেডার স্টাইল */
.contact-header {
  text-align: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  /* প্যাডিং যেন উইডথ বাড়িয়ে না দেয় */
}

/* টাইটেল স্টাইল */
.section-title {
  font-size: 32px;
  margin-bottom: 8px;
}

/* সাব-টাইটেল স্টাইল */
.section-subtitle {
  font-size: 18px;
  color: #666;
}

/* --- মোবাইল রেস্পন্সিভ অংশ --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
    /* মোবাইলে টাইটেল কিছুটা ছোট হবে */
  }

  .section-subtitle {
    font-size: 16px;
    /* মোবাইলে সাব-টাইটেল কিছুটা ছোট হবে */
  }
}

/* কলাম টাইটেল স্টাইল */
.column-titles {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main, #333);
  /* ভ্যারিয়েবল না থাকলে ডিফল্ট কালার পাবে */

  /* ব্যাকগ্রাউন্ড এবং বর্ডার স্টাইল */
  background-color: #f4f7f6;
  border-left: 5px solid #007bff;

  /* স্পেসিং */
  padding: 10px 15px;
  margin-bottom: 25px;
  border-radius: 4px;

  /* এনিমেশন এবং লেআউট */
  display: inline-block;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* স্মুথ মুভমেন্টের জন্য */
  position: relative;
  top: 0;
  /* ভেসে ওঠার জন্য প্রাথমিক পজিশন */
}

/* কন্টাক্ট ইনফরমেশন বক্স */
.column-titles {
  display: block;
  /* পুরো লাইন জুড়ে থাকার জন্য */
  width: 100%;
  /* নিচের ইমেইল বক্সের সমান চওড়া হবে */
  max-width: 500px;
  /* আপনার প্রয়োজন মতো চওড়া সেট করুন */
  box-sizing: border-box;
  /* প্যাডিং নিলেও বক্স বড় হবে না */

  padding: 30px 40px;
  /* আপনি যেমন চেয়েছিলেন */
  background-color: #f8f9fa;
  /* ছবির মতো হালকা গ্রে কালার */
  color: #333;
  font-size: 22px;
  font-weight: 600;

  border-left: 6px solid #007bff;
  /* বাম পাশের নীল বর্ডার */
  border-radius: 15px;
  /* নিচের বক্সের মতো কোণাগুলো গোল করার জন্য */

  cursor: pointer;
  position: relative;
  top: 0;
  transition: all 0.3s ease;
  /* এনিমেশন স্মুথ করবে */
  margin-bottom: 20px;
  /* নিচের বক্স থেকে দূরত্ব */
}

/* মাউস নিলে ভেসে ওঠার ইফেক্ট */
.column-titles:hover {
  top: -10px;
  /* উপরে ভেসে উঠবে */
  background-color: #ffffff;
  /* হোভার করলে সাদা হবে */
  color: #007bff;
  /* টেক্সট নীল হবে */
  box-shadow: 0 15px 30px rgba(58, 187, 237, 0.896);
  /* সুন্দর শ্যাডো */
}




/* name */
.name-title {
  font-size: 2rem;
  /* মোবাইলের জন্য */
  font-weight: bold;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 2rem;
  white-space: normal;
  /* লেখা যেন পরের লাইনে আসতে পারে */
}

@media (min-width: 768px) {
  .name-title {
    font-size: 3.5rem;
    /* ট্যাবলেটের জন্য */
  }
}



@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}




.project-img {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
  /* হোভার করলে ছবি একটু জুম হবে */
}





/* ==============robo section=========== */

/* ১. কার্ড কন্টেইনার: যা দুই কার্ডকে সমান লম্বা রাখবে */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: stretch;
  /* এটিই ম্যাজিক, যা দুই কার্ডকে সমান লম্বা করে */
  justify-content: center;
}

/* ২. রোবোটিক্স কার্ড স্টাইল */
.robotics-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  color: #fff;

  /* নিচের ৩টি লাইন বাটনকে নিচে ঠেলে দেওয়ার জন্য জরুরি */
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 320px;
  /* মোবাইলের জন্য */
  max-width: 550px;
}

/* ৩. বাটনের গ্রুপ: যা সবসময় কার্ডের নিচে থাকবে */
.button-group {
  margin-top: auto;
  /* ওপরের কন্টেন্ট থেকে বাটনকে একদম নিচে পাঠিয়ে দিবে */
  padding-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  /* মোবাইলে বাটন নিচে নিচে নামার জন্য */
}

/* ৪. ইউটিউব বাটন */
.youtube-link {
  background: #FF0000;
  color: white !important;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  transition: 0.3s ease;
}

.youtube-link:hover {
  background: #cc0000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* ৫. গিটহাব বাটন */
.github-link {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s ease;
}

.github-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}


/* =============Footer=================*/
/* ===============================
   GLASS FOOTER STYLE
================================= */
body {
  background: radial-gradient(circle at top right, #1e293b, #000000 60%);
}

footer {
  position: relative;
  background: linear-gradient(135deg, #171717, #0f172a);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glass Card Effect for Sections */
footer .grid>div {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

footer .grid>div:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Logo Glow */
footer h3 {
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

/* Links Hover Effect */
footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  letter-spacing: 0.5px;
}

/* Social Icons Glass Hover */
footer .w-10 {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

footer .w-10:hover {
  transform: scale(1.15) rotate(5deg);
}

/* Bottom Section */
footer .border-t {
  border-color: rgba(255, 255, 255, 0.08) !important;
}


/* ===============================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 768px) {

  footer {
    padding: 60px 20px;
  }

  footer .grid {
    gap: 30px;
  }

  footer h3 {
    font-size: 24px;
    text-align: center;
  }

  footer h4 {
    text-align: center;
  }

  footer ul {
    text-align: center;
  }

  footer .flex-wrap {
    justify-content: center;
  }

  footer .border-t>div {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}


/* ===============================
   SMOOTH FADE IN ANIMATION
================================= */

footer {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer .fa-youtube {
  transition: 0.3s ease;
}

footer .fa-youtube:hover {
  transform: scale(1.2);
}





/* Animation sector */

/* Animation Base */
.scroll-animate {
  opacity: 0;
  transition: all 0.8s ease;
}

/* Left animation start */
.from-left {
  transform: translateX(-120px);
}

/* Right animation start */
.from-right {
  transform: translateX(120px);
}

/* When visible */
.scroll-animate.show {
  opacity: 1;
  transform: translateX(0);
}




/* skill */

.scroll-animate-skill {
  opacity: 0;
  transform: rotateY(90deg);
  transition: all 0.6s ease-out;
  transform-style: preserve-3d;
}

.show-flip {
  opacity: 1;
  transform: rotateY(0deg);
}

/* about */


.about-section.show-about {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline items fade + slide */
.about-animate {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.about-animate.show-item {
  opacity: 1;
  transform: translateX(0);
}

/* Cards scale + fade */
.about-card {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
}

.about-card.show-card {
  opacity: 1;
  transform: scale(1);
}



/* Whole section fade + rise */
.about-section {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
}






/* contact section */

/* প্রিমিয়াম কার্ড এনিমেশন */
.hover-elevate {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.hover-elevate:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* আইকন পালস এনিমেশন */
.icon-circle {
  transition: transform 0.3s ease;
}

.info-item-card:hover .icon-circle {
  transform: scale(1.2) rotate(10deg);
}

/* বাটন এনিমেশন */
.form-submit-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s;
}

.form-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.form-submit-btn:hover::before {
  left: 100%;
}

/* কন্টাক্ট সেকশনের টাইটেল বা কার্ডের জন্য ফ্লোটিং এনিমেশন */

/* সব সেকশনের হেডিংয়ের জন্য ফ্লোটিং এনিমেশন */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* আপনার সব সেকশনের h2 ট্যাগকে একসাথে সিলেক্ট করা হয়েছে */
#about h2,
#skills h2,
#education h2,
#contact h2,
#projects h2,
#education h1,
#robotics-iot h2 {
  animation: float 3s ease-in-out infinite;
  display: inline-block;
  /* এনিমেশনটি সঠিকভাবে কাজ করার জন্য এটি জরুরি */
}



/* Whole section fade + rise */
/* সব সেকশনের প্রাথমিক অবস্থা (লুকানো) */
/* শুরুতে অদৃশ্য থাকবে এবং কিছুটা নিচে থাকবে */
/* ওভারল্যাপ সমস্যা সমাধানের জন্য প্রিমিয়াম রিভিল ইফেক্ট */
/* প্রিমিয়াম লুক কিন্তু ওভারল্যাপ হবে না */
.reveal-section {
  opacity: 0;
  transform: translateY(20px);
  /* ৫০ এর বদলে ২০ দিন, যাতে বেশি উপরে না ওঠে */
  filter: blur(5px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  /* যাতে অন্য কিছুর নিচে না যায় */
}

.section-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: blur(0) !important;
}

/* আপনার নেভবার যদি ফিক্সড হয়, তবে এটি নিশ্চিত করুন */
nav {
  z-index: 1000;
  /* নেভবার সব সময় উপরে থাকবে */
  position: fixed;
  top: 0;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  /* আপনার নেভবারের উচ্চতা যদি ৮০ পিক্সেল হয়, তবে এখানে ১০০ পিক্সেল দিন */
  scroll-padding-top: 100px;
}

/* এনিমেশন যাতে টেক্সটকে কাঁপিয়ে না দেয় */
.about-section {
  display: block;
  clear: both;
}


.project-redirect-container {
  text-align: center;
  margin: 50px 0;
  padding: 0 20px;
}

.view-project-btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  /* পিল শেপ ডিজাইন, যা আধুনিক দেখায় */
  transition: all 0.3s ease;
  cursor: pointer;

  /* ডিফল্ট কালার (ডার্ক মোডের জন্য) */
  background-color: #9fa7f0;
  color: #ffffff;
  border: 2px solid transparent;
}

/* লাইট মোড অ্যাক্টিভ থাকলে কালার পরিবর্তন (আপনার লাইট মোড ক্লাসের নাম অনুযায়ী চেক করুন) */




/* মোবাইল রেস্পন্সিভনেস */
@media (max-width: 768px) {
  .view-project-btn {
    width: 90%;
    /* মোবাইলে বাটনটি চওড়া হবে */
    font-size: 16px;
    padding: 12px 20px;
  }

  .project-redirect-container {
    margin: 30px 0;
  }
}


/* Navbar Sliding Underline */
nav a {
  position: relative;
  text-decoration: none;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #2563eb;
  /* Blue-600 */
  transition: width 0.3s ease, left 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Initial Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RGB Frame Animation (Optional but cool) */
.rgb-frame {
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}









#scroll-wrapper {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99999;
  /* একদম উপরে থাকবে */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#scroll-path-new {
  width: 3px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

#scroll-fill {
  width: 100%;
  height: 0%;
  /* JS দিয়ে কন্ট্রোল হবে */
  /* এখানে ৩-৪টি কালার অ্যাড করা হয়েছে (Green, Cyan, Blue, Purple) */
  background: linear-gradient(to bottom, #00ff88, #00fbff, #0072ff, #ae00ff);
  background-size: 100% 100px;
  /* কালারগুলো যেন বারের সাইজ অনুযায়ী ঠিক থাকে */
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
  border-radius: 10px;
  transition: height 0.2s ease-out;
  /* নামার সময় স্মুথ লাগবে */
}

#mag-button-container {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#advanced-scroll-btn {
  width: 55px;
  height: 55px;
  background: #000;
  border: 2px solid #62faff;
  border-radius: 50%;
  display: flex;
  /* এটি ব্লক ছিল না বলে দেখা যাচ্ছিল না */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease-out, opacity 0.4s ease;
  opacity: 0;
  /* শুরুতে লুকানো */
  transform: scale(0.5);
  pointer-events: none;
}

#advanced-scroll-btn.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

#advanced-scroll-btn {
  /* ... আগের কোড ... */
  border: 2px solid transparent;
  background-image: linear-gradient(#000, #000),
    linear-gradient(to right, #00ff88, #ae00ff);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.btn-content {
  color: #76dfff;
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

#scroll-percent {
  font-size: 11px;
  font-weight: bold;
  font-family: monospace;
}

.up-arrow {
  font-size: 18px;
}

.pulse-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #003cff;
  border-radius: 50%;
  animation: ripple 2s infinite;
  pointer-events: none;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}



/* মোবাইল রেসপন্সিভনেস */
@media (max-width: 768px) {
  #scroll-wrapper {
    right: 15px;
    /* মোবাইল স্ক্রিনে কোণা থেকে দূরত্ব কমানো */
    bottom: 15px;
    gap: 5px;
  }

  #scroll-path-new {
    height: 60px;
    /* বারের হাইট মোবাইলে ছোট হবে */
    width: 2px;
  }

  #mag-button-container {
    width: 50px;
    /* কন্টেইনার সাইজ ছোট */
    height: 50px;
  }

  #advanced-scroll-btn {
    width: 45px;
    /* বাটনের সাইজ ছোট */
    height: 45px;
    border-width: 1px;
    /* বর্ডার কিছুটা চিকন */
  }

  #scroll-percent {
    font-size: 9px;
    /* পারসেন্টেজ লেখা ছোট */
  }

  .up-arrow {
    font-size: 14px;
    /* অ্যারো ছোট */
  }
}

#typing-text {
  display: inline-flex;
  /* এটি টেক্সটকে একটি নির্দিষ্ট ব্লকে রাখবে */
  text-align: left;
  /* বাম দিক থেকে লেখা শুরু হবে যেন সেন্টার না নড়ে */
  justify-content: flex-start;
  min-width: 200px;
  /* আপনার বড় টেক্সট অনুযায়ী এটি সেট করুন যেন বক্স ছোট-বড় না হয় */
  min-height: 1.2em;
  /* লাইনের উচ্চতা ফিক্সড রাখবে */
  white-space: nowrap;
  /* টেক্সট যেন ভেঙে নিচে না যায় */
}



/*compative progeam*/
.profile-card {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover {
  transform: translateY(-12px) scale(1.03);
}