* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #333;
}

header {
  background: #004080;
  padding: 20px 0;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}











.score-box {
      background-color: #2f353b;
      padding: 25px;
      border-radius: 10px;
      text-align: center;
      color: #f1f1f1;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      max-width: 900px;
      margin: auto;
    }
    .score-box {
  position: relative; /* important for absolute positioning */
}
.new-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 85px;
  height: auto;
  z-index: 5;
  pointer-events: none;
}
    .score-box h3 {
      font-size: 20px;
      margin-bottom: 20px;
    }

    .calculator-box {
      background-color: #ffffff;
      padding: 20px;
      border: 2px solid #ff4d4d;
      border-radius: 8px;
      color: #000;
      font-size: 22px;
      font-weight: 600;
      display: inline-block;
      transition: 0.3s ease;
      box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

    .calculator-box:hover {
      background-color: #fef6f6;
      transform: scale(1.02);
      cursor: pointer;
    }

    .calculator-box span {
      margin: 0 10px;
    }



















.container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.container h1 {
  font-size: 28px;
}

nav a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffdd57;
}

.hero {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(145deg, #e6f0ff, #f8fbff);
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.03);
  border-bottom: 1px solid #ddd;
}

.hero h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #004080;
}

.hero p {
  font-size: 18px;
  color: #333;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  gap: 30px;
}

.tool-card {
  background: #fff;
  border: 2px solid #1a1919;
  width: 300px;
  padding: 25px 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Increased shadow */
  cursor: pointer;
  position: relative;
  overflow: hidden;

}

.tool-card h3 {
  font-size: 20px;
  color: #004080;
  margin-bottom: 10px;
}

.tool-card p {
  font-size: 15px;
  color: #555;
}

.tool-card::before {
  content: "✨";
  font-size: 24px;
  position: absolute;
  top: -10px;
  right: -10px;
  transform: rotate(15deg);
  opacity: 0.3;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #0073e6;
}

footer {
  text-align: center;
  padding: 25px;
  background: #004080;
  color: white;
  font-size: 14px;
  margin-top: 50px;
  border-top: 4px solid #ffdd57;
}

/* Responsive */
@media (max-width: 768px) {
  .tools {
    flex-direction: column;
    align-items: center;
  }

  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    display: inline-block;
    margin: 10px 10px 0 0;
  }
  
 
}
.video-section {
  margin-top: 50px;
  text-align: center;
  color: #f1f1f1;
}

.video-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffcc00;
}

.video-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}



.calculator-form {
  background-color: #1e2329;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  margin: 30px auto;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.calculator-form input {
  width: 100%;
  padding: 8px;
  margin: 6px 0 12px;
  border-radius: 4px;
  border: none;
}

.calculator-form button {
  padding: 10px 20px;
  background-color: #ffcc00;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
