/* ======= Reset & Font ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 @font-face {
    font-family: 'Adorsho';
    src: url('Shadhinata.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;}
html, body {
  height: 100%;
  font-family: 'Adorsho', sans-serif !important; 
  font-weight: normal;
  display: flex;
  flex-direction: column;
}
    /* Social + Header Shared Background */
.header-wrapper {
  position: fixed;
  height: 80px;
  top: 0;
  left: 0;
  width: 100%;
  background: #006064;
  color: white;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

    /* Top Social Bar */
    .top-right-bar {
      padding: 5px 15px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .social-icons {
      display: flex;
      gap: 12px;
      margin-top: -10px;
    }

    .social-icons img {
      width: 18px;
      height: 18px;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .social-icons img:hover {
      transform: scale(1.2);
    }
    
    .logo-title {
      display: flex;
      align-items: center;
    }
    .logo-title img {
      height: 40px;
      width: 40px;
      border-radius: 50%; /* Make it round */
      margin-left: 60px;
      margin-top: -10px;
    }
/* টাইটেলের জন্য কাস্টম স্টাইল */
@font-face {
    font-family: 'Cholontika';
    src: url('Codepotro Abu Sayed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
    .logo-title h1 {
          font-family: 'Cholontika', sans-serif !important;
      margin-left: 15px;
      color: white;
      font-weight: normal;
      text-shadow: 1px 1px 2px black;
    margin-top: -5px;
    }


    /* Hamburger */
.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1101;
  position: absolute;
  top: 28px;
  left: 10px;
  transition: opacity 0.3s ease;
  outline: none;
  box-shadow: none;
    -webkit-tap-highlight-color: transparent; /* মোবাইলে হালকা গ্লো বন্ধ */
  box-shadow: none !important; /* যেকোনো shadow নিষ্ক্রিয় */
  outline: none !important; /* ক্লিক করলে outline আসে, বন্ধ */
  background: none !important;
}
.hamburger:focus,
.hamburger:focus-visible,
.hamburger:active {
  outline: none !important;
  box-shadow: none !important;
    background: none !important;
}

.hamburger.hidden {
  opacity: 0;
  pointer-events: none;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

    /* Sidebar */
    .sidebar {
      position: fixed;
      top: 0;
      left: -260px;
      width: 250px;
      height: 100%;
      background: #006064;
      box-shadow: 2px 0 6px rgba(0,0,0,0.2);
      transition: left 0.3s ease;
      z-index: 1100;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

    .sidebar.active {
      left: 0;
    }

.sidebar-header {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  background-color: white;
  border: none;
  border-radius: 0; /* কোন গোল কোণা নয় */
  color: #fff;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 25; /* যেন বাকি বাটনের উপরে থাকে */
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

    .sidebar-header img {
      height: 35px;
      width: 35px;
      border-radius: 50%;
      margin-right: 8px;
    }

      .sidebar-header h2 {
      font-weight: normal;
      font-family: 'Cholontika', sans-serif !important;
      font-size: 16px;
      color: #006064;
    }

    .sidebar a {
      padding: 12px 20px;
      text-decoration: none;
      color: white;
      border-bottom: 1px solid #eee;
      transition: background 0.3s;
    }

    .sidebar a:hover {
      background-color: #00695c;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.4);
      display: none;
      z-index: 1000;
    }

    .overlay.active {
      display: block;
    }
/*================ announcement ===============*/
/* কন্টেইনার - কোনো ফুল স্ক্রিন বা ব্লার নেই */
.modern-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  width: 100%;
  background: transparent; /* ব্যাকগ্রাউন্ড কার্ড রিমুভ করা হয়েছে */
}

/* কন্টেন্ট বক্স - কোনো সাদা ব্যাকগ্রাউন্ড বা শ্যাডো নেই */
.loader-content {
  text-align: center;
  background: transparent;
  width: 100%;
}

/* ডাবল রিং স্পিনার */
.ring-spinner {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.ring-spinner div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 56px;
  height: 56px;
  margin: 7px;
  border: 5px solid #1a73e8;
  border-radius: 50%;
  animation: ring-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #1a73e8 transparent transparent transparent;
}

/* রিং এনিমেশন স্মুথ করার জন্য */
.ring-spinner div:nth-child(1) { animation-delay: -0.45s; }
.ring-spinner div:nth-child(2) { animation-delay: -0.3s; }

@keyframes ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* টেক্সট স্টাইল */
.loading-text {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 16px;
  color: #1a73e8;
  font-weight: 600;
  margin: 10px 0;
  letter-spacing: 0.5px;
}

/* নিচের চিকন লোডিং বার */
.loading-bar-container {
  width: 120px;
  height: 3px;
  background: rgba(26, 115, 232, 0.1); /* হালকা নীল ব্যাকগ্রাউন্ড */
  border-radius: 10px;
  margin: 5px auto;
  overflow: hidden;
}

.loading-bar-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1a73e8, #34a853);
  animation: progress-move 2s infinite ease-in-out;
  transform-origin: left;
}

@keyframes progress-move {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/*================ announcement ===============*/
    .announcement-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 20px;
    }

    .announcement-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(5,2,2,5.4);
      padding: 20px;
      margin-bottom: 5px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .announcement-card:hover {
      transform: scale(1.01);
    }

    .announcement-title {
      font-weight: bold;
      font-size: 0.85rem;
      margin-bottom: 8px;
      color: darkgreen;
    }

    .announcement-date {
      font-size: 0.9rem;
      color: #888;
      margin-bottom: 12px;
    }

    .announcement-message {
      font-size: 0.80rem;
      color: #333;
      white-space: pre-wrap;
    }

    /* Modal Styles */
    .modal-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(5px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 999;
    }

    .modal {
      background: #FFF9C4;
      padding: 30px;
      border-radius: 12px;
      width: 100%;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      animation: fadeIn 0.3s ease-in-out;
    }

    .modal h2 {
      margin-top: 0;
    }

    .modal p {
      font-size: 1rem;
      line-height: 1.6;
    }

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


    /* ======= Footer ======= */
footer {
  background-color: #006064;
  color: #FFEA00;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  width: 100%;
  margin-top: auto; /* ✅ This ensures footer stays at bottom when content is short */
}
.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5px;
  line-height: 1.5;
}
footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0px;
  font-size: 14px;
  transition: color 0.3s ease;
}
footer a:hover {
  text-decoration: underline;
  color: #FFEA00;
}
.footer-links {
  margin-top: 4px;
  font-size: 12px;
}

/* ======= Scrollbar ======= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}
    @media (max-width: 600px) {
      .logo-title h1 {
        font-size: 14px;
      }
    }