@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css');

:root {
  /* Light Mode Colors */
  --bg: #FFFFFF;
  --text: #000000;
  --border: #000000;
  --hover-bg: #0000000D;
  --social-bg: #0000000D;
  --hover-text: #FFFFFF;
}

body.dark {
  /* Dark Mode Colors */
  --bg: #000000;
  --text: #FFFFFF;
  --border: #FFFFFF;
  --hover-bg: #C2C2C8;
  --social-bg: rgba(228, 228, 228, 1);
  --hover-text: #D2D2D2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Serif Bengali", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-weight: 500;
}

body {
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  margin-top: 60px;
  bottom: 0;
}

/* HEADER */
header {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 60px;
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(10px);
}

.hlogo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hlogo h1 {
  font-size: 36px;
  font-weight: 900;
}

.hlogo img {
  width: 40px;
}

a {
  text-decoration: none;
  color: var(--color);
}

.menu-btn {
  font-size: 26px;
  cursor: pointer;
}

.menu-btn:hover {
  rotate: 90deg;
}

.theme-toggle {
  cursor: pointer;
  font-size: 26px;
}

/* SIDEBAR */
aside {
  width: 300px;
  backdrop-filter: blur(10px);
  position: fixed;
  left: -305px;
  top: 60px;
  bottom: 0;
  height: 100%;
  padding: 0;
  transition: left 0.35s ease;
  z-index: 1000;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

aside.show {
  left: 0;
}

.as-menu-container {
  flex: 1;
  padding: 20px 15px;
}

.as-menu-container ul {
  list-style: none;
}

.as-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s;
}

.as-menu-link:hover {
  background-color: var(--hover-bg);
}

.as-content-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.as-content-left i {
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
}

/* SUBMENU */
.as-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

li.as-active>.as-submenu {
  max-height: 100%;
}

.as-chevron {
  transition: transform 0.3s;
  opacity: 0.7;
}

li.as-active>.as-menu-link .as-chevron {
  transform: rotate(180deg);
}

.as-submenu .as-menu-link {
  padding-left: 45px;
  opacity: 0.9;
}

.as-submenu .as-submenu .as-menu-link {
  padding-left: 65px;
}

/*aside FOOTER SOCIAL */
.as-sidebar-footer {
  position: relative;
  padding: 10px;
  bottom: 30px;
  border-top: 1px solid var(--text);
}

.as-social-icons {
  display: flex;
  justify-content: space-evenly;
}

.as-social-link {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  background: var(--bg);
  color: var(--text);
  transition: 0.2s;
}

.as-social-link:hover {
  transform: translateY(-3px);
  background: var(--hover-bg);
  color: var(--text);
}

/* MAIN */
main {
  margin-left: 10px;
  margin-right: 10px;
}
/* footer css is there*/
.ft-copyright a {
  text-decoration: none;
  color: var(--bg);
}

.ft-stats-top {
  display: flex;
}

.ft-stat-box {
  flex: 1;
  padding: 5px 5px;
  text-align: center;
  border: .5px solid;
  position: relative;
}

.ft-stat-box span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

/* --- 2. View Grid (Weekly - Total) --- */
.ft-view-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid;
}

.ft-view-item {
  padding: 5px 5px;
  text-align: center;
  border-right: 1px solid;
}


.ft-view-item h4 {
  font-size: 12px;
}

.ft-view-item p {
  font-size: 12px;
  
  font-weight: 400;
}

/* --- 3. Links Section --- */
.ft-links-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  gap: 10px;
  border-bottom: 1px solid;
}

.ft-link-col h3 {
  font-size: 13px;
  margin-bottom: 5px;
  padding-left: 10px;
  border-left: 4px solid;
}

.ft-link-col ul {
  list-style: none;
}

.ft-link-col ul li {
  margin-bottom: 10px;
}

.ft-link-col ul li a {
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.ft-dot {
  height: 8px;
  width: 8px;
  background-color: #5B6198;
  border-radius: 50%;
  display: inline-block;
}

.ft-link-col ul li a:hover {
  transform: translateX(5px);
}

/* --- 4. Branding & Collaboration --- */
.ft-bottom-details {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 5px;
  gap: 10px;
}

.ft-brand-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ft-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ft-logo-box {
  font-weight: 700;
  
}

.ft-brand-desc {
  font-size: 0.9rem;
  
  line-height: 1.5;
}

.ft-socials {
  display: flex;
  gap: 10px;
}

.ft-social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  text-decoration: none;
  transition: 0.3s;
}

.ft-social-icon:hover {
  background: #ff5252;
  
}

/* Collaboration Right */
.ft-collab-area {
  text-align: center;
}

.ft-collab-area h3 {
  font-size: 13px;
  
  
  margin-bottom: 5px;
}

.ft-collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  
}

.ft-collab-user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ddd;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ft-collab-user span {
  display: block;
  font-size: 0.7rem;
  
  margin-top: 4px;
}

/* --- 5. Copyright --- */
.ft-copyright {
  text-align: center;
  padding: 15px;
  font-size: 0.8rem;
  background-color: #676EBA;
  position: relative;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  body {
    margin-top: 40px;
  }
  
  header {
    height: 40px;
    font-size: 12px;
  }
 
  aside {
    top: 40px;
  }
  
  .hlogo h1 {
    font-size: 16px;
  }
  .hlogo img{
    height: 30px;
    width: 30px;
  }
  
  .ft-bottom-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .ft-brand-area {
    text-align: center;
    align-items: center;
  }
  
  .ft-collab-area {
    margin-top: 5px;
    display: flex;   
  flex-direction: column; 
  justify-content: center; 
  align-items: center;   
  text-align: center;     
  }
  
  .ft-stat-box h2 {
    font-size: 1.2rem;
  }
  
  .ft-collab-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    display: flex;
    align-items: 900;
  }
  
  .ft-collab-user img {
    width: 40px;
    height: 40px;
  }
}






