/* ===== Fixed header + ticker space ===== */
:root { --about-top-offset: 140px; }                 /* desktop */
@media (max-width: 768px){ :root { --about-top-offset: 160px; } }  /* mobile */

/* ===== Page background + base font ===== */
.about-page {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #ffffff;
  color: #FFA500;
  min-height: 100vh;          /* পুরো viewport কভার */
  overflow: visible !important;
}

/* ===== HERO ===== */
.about-page .hero {
  margin-top: 10px !important;   /* সবসময় শুধু 10px gap */
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
  background: transparent;
}
.about-page .hero img {
  max-width: calc(100% - 120px);
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}
@media (max-width: 992px) {
  .about-page .hero img { max-width: calc(100% - 60px); }
}
@media (max-width: 600px) {
  .about-page .hero img { max-width: 100%; }
}

/* ===== Main container & teal section ===== */
.about-page .main-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px 44px;
}
.about-page .main-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 50px rgba(255, 165, 0, 0.9);
}

/* ===== Text ===== */
.about-page .section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  color: #FFA500;
  margin: 6px 0 14px 0;
}
.about-page .section-text {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 14px 0;
  color: #FFA500;
}

/* Force all text orange */
.about-page .main-container,
.about-page .main-container h1,
.about-page .main-container h2,
.about-page .main-container h3,
.about-page .main-container p,
.about-page .main-container li { color: #FFA500 !important; }

/* ===== About panels ===== */
.about-panels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 20px 0 0;
}
.about-card {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 22px 16px;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.about-card i { font-size: 28px; color: #FFA500; }
.about-card span { font-weight: 700; color: #FFA500; text-align: center; }
.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255,165,0,.25);
  border-color: #FFA500;
}
@media (max-width: 900px) { .about-panels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .about-panels { grid-template-columns: 1fr; } }

/* ===== Tray (desktop only) ===== */
.tray-toggle-vertical{
  position: fixed;
  left: 0;
  top: 40%;
  transform: translateY(-50%) rotate(180deg);
  background: #ffffff;
  color: #FFA500;
  padding: 18px 12px;
  min-height: 140px;
  border-radius: 12px 0 0 12px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  border: 4px solid #FFA500;
  box-shadow: 0 0 28px 10px rgba(255,165,0,0.45);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, opacity .25s ease;
}
.tray-toggle-vertical:hover,
.tray-toggle-vertical:focus-visible{
  transform: translateY(-50%) rotate(180deg) translateX(2px) scale(1.03);
  box-shadow: 0 0 40px 16px rgba(255,165,0,0.65);
  filter: brightness(1.03);
  outline: none;
}
.tray-menu{
  position: fixed; top: 20%; left: -260px; width: 240px;
  background: #ffa500;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  z-index: 1200;
  transition: left .3s ease;
  overflow: hidden;
}
.tray-menu.open{ left: 0; }
.tray-menu a{
  display: block; padding: 14px 16px;
  color: #ffffff; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid #f1f1f1;
}
.tray-menu a:hover{ background: rgba(255,165,0,0.12); }

/* Tray open → hide button */
.tray-open #trayButton { opacity: 0; pointer-events: none; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .tray-toggle-vertical,
  .tray-menu { display: none !important; }
}
