@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* =================== GLOBAL =================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  font-family:'Poppins',sans-serif;
  background:#f9f9f9;
  color:#222;
  line-height:1.6;
  overflow-x:hidden !important;  /* stop horizontal scrolling */
  width:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =================== HEADER =================== */
header{
  width:100%;
  background:#400080;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 30px;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.logo-title{
  display:flex;
  align-items:center;
}

.logo{
  width: 50px;
  height: 50px;
  border-radius:50%;
}

.logo-title h1{
  margin-left:10px;
  font-size:1.6rem;
  color:#fff;
  font-weight:600;
}

/* =================== DESKTOP NAV =================== */

.desktop-nav{
  display:flex;
}

.desktop-nav ul{
  list-style:none;
  display:flex;
  gap:22px;
  margin:0;
  padding:0;
}

.desktop-nav ul li a{
  color:#fff;
  font-weight:500;
  padding:6px 10px;
  border-radius:6px;
  transition:.3s;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.nav-active{
  background:#fff;
  color:#000;
}

/* =================== MOBILE MENU BUTTON =================== */
.menu-btn{
  display:none;
  cursor:pointer;
  font-size:2rem;
  color:#fff;
}

/* Modern hamburger bars */
.menu-btn span{
  width:26px;
  height:3px;
  background:#fff;
  display:block;
  border-radius:3px;
  margin:4px 0;
}

/* =================== MOBILE NAV PANEL =================== */
.mobile-nav{
  position:fixed;
  top:0;
  right:-75%;
  width:75%;
  height:100vh;
  background:#400080;
  transition:.4s ease;
  z-index:9999;

  display:flex;
  flex-direction:column;
  gap:25px;
  padding:25px 30px;
}

.mobile-nav.show{
  right:0;
}

/* Header inside panel */
.mobile-nav-header{
  display:flex;
  align-items:center;
  gap:15px;
  justify-content: space-between;
}

.mobile-nav-header .logo{
  width:42px;
  height:42px;
  border-radius:50%;
}

.mobile-nav-header h2{
  color:#fff;
  font-size:1.3rem;
  font-weight:600;
}

/* Nav list */
.mobile-nav ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.mobile-nav ul li a{
  color:#fff;
  font-size:1.05rem;
  font-weight:500;
  padding:10px;
  border-radius:6px;
  transition:.3s;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.nav-active{
  background:#fff;
  color:#400080;
  font-weight:600;
}

/* =================== SHOW/HIDE BASED ON SCREEN =================== */
@media(max-width:768px){
  .desktop-nav{ display:none; }
  .menu-btn{ display:block; }
}

@media(min-width:769px){
  .mobile-nav{ display:none; }
}

/* =================== PAGE CONTENT =================== */
.CallforPapers{

  margin:auto;
  padding:40px 18px 90px;
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.cfp{
  font-size:2.6rem;
  font-weight:700;
  color:#000;
  border-bottom:4px solid #333;
  padding-bottom:8px;
  margin-bottom:10px;
}

/* Lists layout */
.CallforPapers ol{
  display:flex;
  flex-direction:column;
  gap:1.6rem;
}

.list{
  margin-left:5rem;
  margin-top:.6rem;
}

.list li{
  list-style:disc;
  font-weight:500;
  text-align:left;
  margin-bottom:.4rem;
  line-height:1.4;
}

/* MOBILE FIXES */
@media(max-width:768px){
  .cfp{
    font-size:2rem;
  }

  .list{
    margin-left:1rem;
  }

  .list li{
    font-size:.95rem;
  }
}

/* =================== FOOTER =================== */
footer{
  background:#400080;
  color:#fff;
  padding:40px 20px 25px;
  margin-top:40px;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:25px;
}

.footer-box{
  flex:1 1 220px;
  min-width:220px;
}

.footer-box h4{
  font-size:1.1rem;
  margin-bottom:8px;
  font-weight:600;
  border-bottom:1px solid rgba(255,255,255,0.5);
  padding-bottom:6px;
}

.footer-box a{
  display:block;
  color:#fff;
  margin:6px 0;
  font-size:.9rem;
  transition:.3s;
}

.footer-box a:hover{
  color:#ffdd57;
}

.footer-box p{
  margin:6px 0;
  font-size:.9rem;
}

/* Copyright */
footer .copyright{
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.3);
  padding-top:15px;
  margin-top:15px;
  font-size:.85rem;
  opacity:.9;
}

/* MOBILE FOOTER */
@media(max-width:768px){

  footer{
    padding:28px 14px 20px;
  }

  .footer-container{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:18px;
  }

  .footer-box{
    width:100%;
  }

  .footer-box h4{
    width:80%;
    margin:auto auto 6px;
    text-align:center;
  }
}

/* =================== SCROLL TO TOP =================== */
#scrollTopBtn{
  position:fixed;
  bottom:28px;
  right:24px;
  width:46px;
  height:46px;
  background:#000;
  color:#fff;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:22px;
  cursor:pointer;
  z-index:9999;
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
  opacity:0;
  visibility:hidden;
  transition:.3s ease;
}

#scrollTopBtn.show{
  opacity:1;
  visibility:visible;
}

#scrollTopBtn:hover{
  background:#5e00bf;
  transform:translateY(-2px);
}



.close-btn{
  font-size: 2.4rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  margin-left: auto;
  transition: .2s;
}

.close-btn:hover{
  color: #ffdddd;
}
