*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:sans-serif;
}

body{
  background:#f5f7fb;
  margin: 0;
  overflow-x: hidden;
  padding-top: 80px;
}

/* ================= NAVBAR ================= */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;   /* always above everything */
    padding:20px 80px 20px;
    border-bottom:3px solid #3337E8;
    width: 100%;
}
.logo{
    font-size:22px;
    font-weight:700;
    color:#3337E8;
}

.logo i{
    margin-right:6px;
}
/* NAV LINKS */
.nav-links{
    list-style:none;
    display:flex;
    gap:40px;
}

.nav-links a{
    display: block;
    text-decoration:none;
    color:#333;
    font-weight:500;
}
.nav-links a:hover{
    color: #3337E8;
}

.nav-links a.active{
    color: #3337E8;
}
/* NAV LINKS */
.nav-icons{
    display:flex;
    align-items:center;   /* ✅ FIX alignment */
    gap:15px;
    font-size:18px;
}

/* ICONS */
.nav-icons{
    display:flex;
    gap:20px;
    font-size:18px;
    color: black;
}
.nav-icons i:hover{
    color: #14165C;
}

.login,
.signin{
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  display:flex;
  align-items:center;   /* ✅ center text */
  justify-content:center;
}
.login{
  color: #3337E8;
  border: 1px solid #3337E8;
  background: transparent;
  padding: 8px 16px;
  border-radius: 10px;
}
.login:hover{
  background:#3337E8;
  color:white;
}
.signin{
  background: #3337E8;
  color: white;
  padding: 8px 18px;
  border-radius: 12px;
  border: none;
}
.signin:hover{
  background:#14165C;
}
.auth-buttons{
  display:flex;
  gap:10px;
}
@media (max-width: 600px){
  /* NAVBAR */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 40px;
  }

  .logo {
    font-size: 18px;
  }

  .nav-links {
    gap: 25px;
    font-size: 14px;
  }

  .nav-icons {
    font-size: 16px;
    gap: 12px;
  }


  .auth-buttons{
    display: none; /* optional: hide buttons */
  }
}
@media (max-width: 400px){
  .nav-icons{
    font-size: 14px;
    gap: 8px;
  }
}

/* ================= MAIN ================= */

.main{
  margin:30px 50px 20px 100px;
  padding:100px 60px 30px;
}

/* TOP BAR */
.top-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.upload-btn{
  background:#3337E8;
  color:white;
  padding:10px 25px;
  border:none;
  border-radius:8px;
  font-size:14px;
}

/* TABS */
.tabs{
  margin:20px 0;
  padding:20px 40px;
  display:flex;
  gap:30px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  border-radius:15px;
  flex-wrap: wrap;
}

.tabs span{
  cursor:pointer;
}

.tabs .active{
  color:#3337E8;
  border-bottom:2px solid #3337E8;
}

/* ================= BOXES ================= */

.box-container{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:space-between;
  background:white;
  padding:40px;
}

.box{
  flex:1 1 250px;
  min-width:200px;
}

.box i{
  font-size:20px;
  color:#3337E8;
  padding-bottom:15px;
}

.box h2{
  font-size:20px;
  padding-bottom:10px;
}

.growth{
  color:green;
  font-size:12px;
}

/* ================= CONTENT ================= */

.content-1{
  margin:35px 0 100px;
  padding:40px;
  border-radius:12px;
  border:1px solid #F8F8F8;
  background:white;
}

/* TABLE */
.tablecontainer{
  overflow-x:auto;
}

table{
  width:100%;
  border-collapse:collapse;
  background:white;
}

table, th, td{
  border:none;
  padding:12px;
  text-align:left;
}

/* ================= CONTENT ROW ================= */

.content-row-group{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

.column{
  flex:1 1 45%;
  min-width:200px;
  padding:10px;
}

/* ================= FOOTER ================= */

.footer{
  display:flex;
  justify-content:space-between;
  padding:60px 100px;
  background:black;
  gap:80px;
}

.footer h2{
  color:white;
  font-size:16px;
  margin-bottom:15px;
}

.footer p{
  color:gray;
  font-size:14px;
}

ul{
  list-style:none;
}

li a{
  color:gray;
  text-decoration:none;
  line-height:1.8;
  font-size:14px;
}

li a:hover{
  color:white;
}

.footer-bottom{
  background:black;
  color:gray;
  text-align:center;
  padding:40px;
  border-top:1px solid #3a3f44;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px){

  body{
    overflow-x:hidden;
  }

  /* NAVBAR */
  .navbar{
    padding:10px 15px;
  }

  .nav-links{
    display:none;
  }

  .auth-buttons{
    display:none;
  }

  .nav-icons{
    font-size:14px;
    gap:8px;
  }

  /* MAIN */
  .main{
    margin:0;
    padding:80px 15px 20px;
  }

  /* BOXES */
  .box-container{
    flex-direction:row;
    padding:5px;
    font-size: 12px;
  }

  .box{
    width:100%;
  }

  .box h2{
    font-size: 15px;
  }
  /* CONTENT ROW */
  .content-row-group{
    flex-direction:row;
  }

  .column{
    width:100%;
  }

  /* TABLE */
  table{
    display:block;
    overflow-x:auto;
  }

  /* FOOTER */
  .footer{
    flex-direction:column;
    padding:20px;
    gap:20px;
  }

  .footer-bottom{
    padding:15px;
    font-size:12px;
  }
}

@media (max-width: 400px){

  .logo{
    font-size:16px;
  }

  .upload-btn{
    font-size:10px;
    padding:8px 15px;
  }

  .nav-icons{
    font-size:13px;
  }
}