/* ================= RESET ================= */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body{
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(90deg,rgba(45, 3, 87, 1) 0%, rgba(1, 13, 15, 1) 51%);
  color: #ffffff;
  overflow-x: hidden;
}

.page-title{
  text-align: center;
  margin: 50px 0;
}

/* ================= HEADER ================= */
header{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(90deg,rgba(45, 3, 87, 1) 0%, rgba(1, 13, 15, 1) 51%);

  animation: fadeIn 1s ease-in-out;
}

/* LEFT LOGO */
.logo img{
  width: 250px;
  height: auto;
}

/* RIGHT LOGO */
.right-logo img{
  width: 290px;
  height: auto;
}

/* ================= NAVBAR ================= */
nav{
  width: 100%;
  background: transparent;
  backdrop-filter: blur(5px);
  padding: 10px 0;
  animation: fadeIn 1s ease-in-out;
}

nav ul{
  display:flex;
  justify-content: center;
  gap: 80px;
  list-style: none;
  padding: 12px 40px;
  font-weight: bold;
  font-size: 20px;
}

nav ul li{
  position: relative;
  padding: 12px 40px;
  font-weight: bold;
  font-size: 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  backdrop-filter: blur(6px);
}

nav ul li::after{
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background: #ffffff;
  transition: width 0.5s ease;
}

nav ul li:hover::after{
  width: 100%;
}

nav a{
  text-decoration: none;
  color: #ffffff;
}

/* ================= SEARCH BAR ================= */
#webbSearchContainer{
  width: min(600px, 90%);
  margin: 70px auto;
  position: relative;
}

#webbSearchInput{
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  outline: none;
}

/* SEARCH RESULTS */
#webbSearchResults{
  position: absolute;
  top: 55px;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background-color: #8e0a01;
  border-radius: 8px;
  display: none;
  z-index: 1000;
}

#webbSearchResults div{
  padding: 10px 15px;
  cursor: pointer;
}

#webbSearchResults div:hover{
  background-color: #333;
}

/* ================= FOOTER ================= */
footer{
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* ================= ANIMATION ================= */
@keyframes fadeIn{
  from{
    opacity: 0;
    transform: translateY(10px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px){

  header{
    padding: 14px 16px;
  }

  .logo img{
    width: 160px;
  }

  .right-logo img{
    width: 180px;
  }

  nav ul{
    gap: 30px;
  }

  nav ul li{
    font-size: 16px;
  }
}

/* ================= ABOUT SECTION ================= */
.about-section{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}

.about-card{
  width: min(900px, 95%);
  padding: 40px 50px;
  border-radius: 18px;

  /* Glassmorphism effect */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

  animation: fadeIn 1.2s ease-in-out;
}

.about-card h2{
  text-align: center;
  font-size: 32px;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.about-card p{
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
}

/* ================= ABOUT SECTION RESPONSIVE ================= */
@media (max-width: 768px){
  .about-card{
    padding: 30px 25px;
  }

  .about-card h2{
    font-size: 26px;
  }

  .about-card p{
    font-size: 15px;
  }
}
/* ===== ROOT CONTAINER ===== */
.analytics-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 28px;
    border-radius: 20px;
    color: #ffffff;
    margin-top: 30px;
    font-family: "Segoe UI", sans-serif;
}

/* ===== HEADINGS ===== */
.analytics-box h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.analytics-box h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 15px;
    letter-spacing: 0.4px;
}

/* ===== COUNT GRID ===== */
.count-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

/* ===== COUNT BOX ===== */
.count-box {
    background: rgba(0, 0, 0, 0.35);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.count-box span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.count-box small {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.85;
    text-align: center;
}

/* ===== GRAPH ===== */
canvas {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
}

/* ===== COUNTRY LIST ===== */
.country-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.country-list div {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px;
    border-radius: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .count-grid {
        grid-template-columns: 1fr;
    }

    .country-list {
        grid-template-columns: 1fr;
    }

    .analytics-box {
        padding: 22px;
    }
}

.social-links a {
    display: inline-block; /* Saare icons ek line mein dikhenge */
    margin-right: 15px;
    font-size: 20px; /* Icon ka size bada karne ke liye */
    color: #ccc;
    transition: 0.3s;
    text-decoration: none;
}

/* Hover karne par color change hoga */
.social-links a:hover {
    color: #00d4ff; 
    transform: translateY(-5px); /* Icon thoda upar jump karega */
}

/* Specific colors for icons (Optional) */
.fa-linkedin:hover { color: #0077b5; }
.fa-instagram:hover { color: #e4405f; }
.fa-github:hover { color: #fff; }













