* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.learning-tools-container {
  width: 100%;
  text-align: center;
   animation: fadeSlideIn 1.2s ease-out both;
  transform-origin: center;
  margin-bottom: 70px;
  
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
  }
  60% {
    opacity: 0.6;
    transform: translateY(10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


header {
     margin-bottom: 36px;
    text-align: center;
    padding: 0px;
}

.learning-tools {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2c3e50;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin: 0 auto;
}

/* custom small underline */
.learning-tools::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 55px; /* control underline length */
  height: 5px; /* thickness */
  background-color: #137ce5; /* same as text color */
  border-radius: 2px; /* smooth edges */
}


.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 20px;
}

/* .floating-section {
            position: relative;
            width: 100%;
            min-height: 600px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 40px;
            margin: 40px 0;
            backdrop-filter: blur(10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        } */

.content-box {
  position: relative;
  z-index: 10;

    background: linear-gradient(
     135deg, #007c5a, #024f38
    );
  /* background: linear-gradient(135deg, #1a98ed, #1ed86c); */
  /* background: rgba(255, 255, 255, 0.15); */
  border-radius: 15px;
  padding: 30px;

  max-width: 100%;
  margin: 0 auto;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-box h2 {
  font-size: 2.1rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.content-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
}

.floating-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-item {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
  animation: float 15s infinite linear;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.pencil {
  color: #ff5722;
  animation-delay: 0s;
}

.pen {
  color: #2196f3;
  animation-delay: 1s;
}

.ruler {
  color: #4caf50;
  animation-delay: 2s;
}

.eraser {
  color: #9c27b0;
  animation-delay: 3s;
}

.calculator {
  color: #ff9800;
  animation-delay: 4s;
}

.notebook {
  color: #e91e63;
  animation-delay: 5s;
}

.compass {
  color: #00bcd4;
  animation-delay: 6s;
}

.scissors {
  color: #f44336;
  animation-delay: 7s;
}

.highlighter {
  color: #ffeb3b;
  animation-delay: 8s;
}

.geometry-box {
  color: #8bc34a;
  animation-delay: 9s;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tip-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(245, 245, 245, 0.578);
    box-shadow: 0 10px 25px rgba(241, 238, 238, 0.4);
}

.tip-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.tip-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;

  font-size: 20px;
  color: #053274;
}

.tip-card i {
  font-size: 1.5rem;
  color: #f15b75;
}

.btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 30px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 10px) rotate(180deg);
  }
  75% {
    transform: translate(10px, 40px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@media (max-width: 768px) {
  .floating-section {
    min-height: 500px;
    padding: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  .content-box h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .floating-section {
    min-height: 450px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .content-box {
    padding: 20px;
  }
}
