*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:
  radial-gradient(circle at top left, rgba(255,80,20,0.15), transparent 30%),
  radial-gradient(circle at bottom right, rgba(120,0,255,0.18), transparent 30%),
  linear-gradient(135deg,#09020f,#12040f,#050816);

  background-attachment:fixed;

  color:white;
  overflow-x:hidden;
  min-height:100vh;
  position:relative;
}

/* =========================
   PARTICLES BACKGROUND
========================= */

#particles-js{
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  left:0;
  z-index:-3;
}

/* =========================
   MAIN GLOW
========================= */

.bg-glow{
  position:fixed;

  width:700px;
  height:700px;

  background:
  radial-gradient(circle,
  rgba(255,80,20,0.20) 0%,
  rgba(120,0,255,0.12) 40%,
  transparent 70%);

  top:50%;
  left:50%;

  transform:translate(-50%,-50%);

  filter:blur(120px);

  z-index:-2;

  pointer-events:none;
}

/* =========================
   NAVBAR
========================= */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  width: 90%;
  max-width: 1200px;
  
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  
  transition: all 0.4s ease;
  z-index: 1000;
}
nav h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

nav h1 span {
  color: #a855f7;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}
nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

nav ul li {
  position: relative;
  color: #d4d4d8;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

nav ul li:hover {
  color: #ffffff;
}
/* Animated Underline Effect */
nav ul li::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff4d4d, #7c3aed);
  transition: width 0.3s ease-in-out;
  border-radius: 2px;
}

nav ul li:hover::after {
  width: 70%;
}

/* Scroll hone par jo design aayega */
nav.scrolled {
  width: 100%;
  max-width: 100%;
  top: 0;
  padding: 10px 40px;
  border-radius: 0 0 20px 20px;
  background: rgba(10, 10, 20, 0.85); 
  border: none;
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

nav.scrolled h1 {
  font-size: 22px; 
}

/* Mobile Responsive Update */
@media(max-width:768px) {
  nav {
    flex-direction: column;
    padding: 20px;
    border-radius: 24px;
    gap: 15px;
  }
  nav.scrolled {
    padding: 15px;
    border-radius: 0 0 20px 20px;
  }
}




/* =========================
   HERO SECTION
========================= */

.hero{
  min-height:90vh;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:center;
  padding:20px;
}

.hero-content{
  max-width:850px;
}

.title{
  font-size:74px;
  line-height:1.1;
  margin-bottom:25px;
  font-weight:700;

  background:
  linear-gradient(to right,#ffffff,#c084fc);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero p{
  font-size:20px;
  color:#d4d4d8;
  line-height:1.8;
  margin-bottom:35px;
}

/* =========================
   BUTTON
========================= */

button{
  padding:15px 35px;

  border:none;
  border-radius:14px;

  background:
  linear-gradient(90deg,#ff4d4d,#7c3aed);

  color:white;

  font-size:18px;
  font-weight:600;

  cursor:pointer;

  transition:0.4s ease;
}

button:hover{
  transform:
  translateY(-5px)
  scale(1.03);

  box-shadow:
  0 0 30px rgba(124,58,237,0.5);
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
  text-align:center;

  font-size:56px;
  margin-bottom:70px;

  background:
  linear-gradient(to right,#ffffff,#d8b4fe);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* =========================
   DASHBOARD
========================= */

.dashboard{
  padding:120px 8%;
}

/* =========================
   CARD GRID
========================= */

.cards{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  
  gap:35px;
}

/* =========================
   CARD
========================= */

.card {
  width: 280px;
  flex-grow: 0;
  position: relative;
  padding: 45px 35px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  cursor: pointer;
  z-index: 10; 
  transition: border 0.3s ease, box-shadow 0.3s ease;
}
/* Glow Effect */

.card::before{
  content:"";

  position:absolute;

  width:220px;
  height:220px;

  background:
  radial-gradient(circle,
  rgba(168,85,247,0.25),
  transparent 70%);

  top:-80px;
  right:-80px;

  opacity:0;

  transition:0.5s;
}

/* Hover */

.card:hover{
  transform:
  translateY(-10px)
  scale(1.03);

  border:
  1px solid rgba(168,85,247,0.3);

  box-shadow:
  0 0 35px rgba(168,85,247,0.2);
}

.card:hover::before{
  opacity:1;
}

.card h3{
  font-size:48px;
  margin-bottom:18px;
  color:#ffffff !important;
  text-shadow:0 0 20px rgba(168,85,247,0.6);
  font-weight:700;
}

.card p{
  font-size:18px;
  color:#d4d4d8 !important;
  line-height:1.7;
}
/* =========================
   CHARTS
========================= */

.charts{
  padding:100px 8%;
}

.chart-container{
  background:
  rgba(255,255,255,0.04);

  border:
  1px solid rgba(255,255,255,0.06);

  border-radius:24px;

  padding:30px;

  margin-bottom:40px;

  backdrop-filter:blur(20px);
}

canvas{
  width:100% !important;
}

/* =========================
   UPLOAD SECTION
========================= */

.upload{
  padding:120px 8%;
  text-align:center;
}

.upload-box{
  max-width:650px;

  margin:auto;

  padding:70px;

  border-radius:24px;

  background:
  rgba(255,255,255,0.05);

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(20px);
}

input[type="file"]{
  margin:20px 0;
  color:white;
}

/* =========================
   RESULT BOX
========================= */

#result{
  margin-top:40px;

  padding:30px;

  border-radius:24px;

  background:
  rgba(255,255,255,0.04);

  border:
  1px solid rgba(255,255,255,0.06);

  max-width:700px;

  margin-inline:auto;

  line-height:1.8;
}

/* =========================
   POWER BI
========================= */

.powerbi{
  padding:120px 8%;
}

.power-box iframe{
  width:100%;
  height:600px;

  border:none;
  border-radius:24px;

  background:white;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

  nav{
    flex-direction:column;
    gap:20px;
  }

  nav ul{
    flex-wrap:wrap;
    justify-content:center;
  }

  .title{
    font-size:48px;
  }

  .section-title{
    font-size:38px;
  }

  .hero p{
    font-size:16px;
  }

  .upload-box{
    padding:40px 20px;
  }

  .card{
    padding:30px;
  }

}
/* =========================
   LIVE SCANNING ANIMATION
========================= */
.scanner-box {
  width: 80px;
  height: 100px;
  border: 2px solid rgba(168, 85, 247, 0.5);
  border-radius: 8px;
  position: relative;
  margin: 0 auto 15px auto; /* Center alignment */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.laser {
  width: 100%;
  height: 2px;
  background: #ff4d4d;
  box-shadow: 0 0 15px 2px #ff4d4d;
  position: absolute;
  top: 0;
  animation: scan 1.2s infinite alternate ease-in-out;
}

@keyframes scan {
  0% { top: 0%; }
  100% { top: 98%; }
}

.scanning-text {
  font-size: 16px;
  color: #c084fc;
  font-weight: 500;
  letter-spacing: 1px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
/* =========================
   AI CHATBOT STYLES
========================= */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-btn {
  background: linear-gradient(90deg, #9333ea, #4f46e5);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s;
}

.chat-btn:hover {
  transform: scale(1.05);
}

.chat-window {
  width: 320px;
  background: rgba(18, 4, 15, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.chat-header {
  background: linear-gradient(90deg, #9333ea, #a855f7);
  color: white;
  padding: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-body {
  padding: 15px;
  height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Scrollbar thoda patla aur acha dikhane ke liye */
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: #a855f7; border-radius: 10px; }

.bot-msg, .user-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
}

.bot-msg {
  background: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.user-msg {
  background: #ff4d4d;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-footer {
  display: flex;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.chat-footer input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
}

.chat-footer input::placeholder { color: #888; }

.chat-footer button {
  margin-left: 10px;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: #a855f7;
  color: white;
  cursor: pointer;
  font-weight: 600;
}
/* =========================
   CONTACT PAGE SPECIFIC
========================= */
.contact-wrapper {
  padding: 150px 8% 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.contact-grid {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.info-panel {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 40px;
}

.info-panel h2 {
  color: #a855f7;
  margin-bottom: 25px;
  font-size: 28px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.info-icon {
  font-size: 24px;
  background: rgba(168, 85, 247, 0.15);
  padding: 12px;
  border-radius: 15px;
  color: #c084fc;
}

.info-text p {
  font-weight: 600;
  font-size: 14px;
  color: #a855f7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-panel {
  flex: 1.5;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 45px;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #d4d4d8;
  font-size: 14px;
}

.social-stack {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-stack a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 14px;
  transition: 0.3s;
}

.social-stack a:hover {
  background: #7c3aed;
  border-color: #a855f7;
}
.main-footer {
    position: relative;
    padding: 80px 8% 30px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    overflow: hidden;
    z-index: 10;
}

.footer-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(80px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-brand h2 span { color: #a855f7; }

.footer-brand p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    max-width: 350px;
    margin-bottom: 25px;
}

.social-links { display: flex; gap: 15px; }
.social-links a {
    color: #d4d4d8;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 15px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.social-links a:hover {
    background: #a855f7;
    border-color: #a855f7;
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover { color: #a855f7; padding-left: 5px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #666;
}

.footer-bottom span { color: #a855f7; font-weight: 600; }

.status-indicator { display: flex; align-items: center; gap: 8px; }
.pulse-green {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: footerPulse 1.5s infinite;
}

@keyframes footerPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}