* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  /* max-width: 900px; */
}
body {
  overflow-x: hidden;
  margin: 0;
  background: #eeedeb;
  padding: 0.5rem 1rem;
  font-family: "Segoe UI", "Tiro Bangla", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  margin-top: 150px;
}

/* ------- Header wrapper with 3D look ------- */
.page_header {
  position: fixed;
  top: 0;
  left: auto;
  right: 0;

  z-index: 1000;
  height: 150px;
  width: 100%;
  /* max-width: 1900px; */
  border-radius: 8px;
  padding: 0px 4%;
  background: #ffffff;
  box-shadow:
    0 12px 24px rgba(7, 74, 99, 0.12),
    0 8px 16px rgba(7, 74, 99, 0.08),
    0 4px 8px rgba(7, 74, 99, 0.05);
  /* background: linear-gradient(90deg, #0066ff, #00d4ff); */
  display: flex;
}

/* Nav */
nav {
  /* বাম পাশের সমস্ত জায়গা দখল করে ডান পাশে সরে আসবে */

  margin-left: auto;
  align-self: center;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
nav a {
  position: rlative;
  display: inline-block;
  padding: 0.5rem 0.25rem;

  text-decoration: none;
  color: rgb(0, 0, 0);

  font-size: 0.98rem;

  font-weight: 400;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 180ms;
  transform-style: preserve-3d;
}

/* Link hover -> lift slightly to emphasize 3D */
nav a:hover {
  transform: translateY(-6px) translateZ(6px);
  color: rgb(252, 153, 4);
}

/* Underline -- animated and 3D-ish using multiple layered pseudo elements */
nav a::after,
nav a::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 4px;
  border-radius: 9px;
  bottom: -2px;
  transform-origin: center;
  transition:
    transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 220ms;
}
nav a::after {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transform: scaleX(0.0001) translateZ(6px);
  box-shadow: 0 6px 10px rgba(7, 74, 99, 0.12);
  opacity: 0.95;
}
nav a::before {
  /* faint shadow/extrude below the colored bar */
  background: rgba(4, 43, 51, 0.08);
  height: 6px;
  bottom: -10px;
  filter: blur(6px);
  transform: scaleX(0.0001) translateZ(0);
  opacity: 0.6;
}

/* humberger nav bar */
.humberger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.humberger span {
  height: 3px;
  width: 25px;
  background: #333;
  margin-bottom: 4px;
  border-radius: 5px;
}

.logo img {
  height: 100%;
  width: auto;
  /* position: absolute;
  top: 50%;
  left: 2%;
transform: translateY(-50%); */
}
/* home page image */
#home {
  margin-top: 100px;
}
.banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* text animation */

/* গ্লোয়িং অ্যানিমেশন তৈরি */
/* @keyframes glow-animation {
  0% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #00d4ff;
  }
  100% {
    text-shadow: 0 0 10px #fff, 0 0 20px #00d4ff, 0 0 40px #00d4ff,
      0 0 60px #00d4ff;
  }
} */

/* মডাল স্টাইল */
/* Slideshow container */
.mySlides {
  display: none;
}
img {
  vertical-align: middle;
}

/* Slideshow container */

.slideshow-container {
  max-width: 95%;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

/* vedo style */
.video-container {
  text-align: center;
  margin: 20px auto;
  max-width: 100%;
}

iframe {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px;
  }
}

/* .home_img {
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 100%;
  margin-top: 10px;
  border-radius: 8px;
}

.home_img img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 8px;
} */

@media (max-width: 768px) {
  /* ছোট স্কিনে (বড় স্কিনের nav  মেনু)  ন্যাভ মেনু  হাইড হয়ে যাবে */
  main {
    margin-top: 100px;
  }
  .page_header {
    height: 100px;
  }
  nav ul {
    display: none;
    flex-direction: column;
  }
  /* স্ক্রিন ছোট হলে অটোমেটিক ডিসপ্লে নন থেকে ডিসপ্লে ফ্লেক্স হয়ে দেখা দিবে */

  .humberger {
    display: flex;
  }
  nav ul.show {
    display: flex;
    align-items: center;
    background: #ffffff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    padding: 1rem 0;
  }

  .logo img {
    height: 100%;
    width: auto;

    top: 50px;
    left: -40px;
  }

  .text-animation-con {
    text: size 25px;
    margin-top: 10px;
  }
}

/* bottom navigation styles */
:root {
  --primary-color: #2563eb;
  --nav-bg: #ffffff;
  --icon-gray: #64748b;
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--nav-bg);
  display: flex;
  justify-content: center;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom); /* iPhone notch support */
}

/* বড় স্ক্রিনে হাইড করার জন্য */
@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

.nav-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--icon-gray);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link i {
  font-size: 20px;
}

.nav-label {
  font-size: 10px;
  margin-top: 4px;
  font-weight: 600;
}

/* Active State Design */
.nav-link.active {
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Central Floating Button */
.center-nav-item {
  position: relative;
  top: -30px; /* উপরে তুলে দেওয়ার জন্য */
}

.floating-btn {
  width: 55px;
  height: 55px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  border: 5px solid #fff;
  transition: 0.4s;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1) rotate(15deg);
}

/* ৩ডি ইফেক্ট যখন বাটনে ক্লিক করবেন */
.nav-link:active {
  transform: scale(0.9);
}
