/* ===== RESET ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7ff;
    color: #222;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* HEADER */

.tools-header {
  text-align: center;
  margin-bottom: 25px;
}

.tools-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;

  background: linear-gradient(135deg, #99D8D2, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tools-header p {
  font-size: 14px;
  color: #555;
}

/* ===== SECTION ===== */
/* CONTAINER */
.tools-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 25px;
  border-radius: 24px;

  background: linear-gradient(135deg, #ffffff, #eefaf7);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.10),
    0 10px 25px rgba(0,0,0,0.06);
}

/* GRID */
.tools-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap: 20px;
}

/* CARD */
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 22px 12px;
  border-radius: 18px;
  text-decoration: none;
  color: #000;

  background: linear-gradient(135deg, #ffffff, #f3fbf9);

  box-shadow:
    0 8px 22px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition: all 0.25s ease;
}

@media (max-width: 600px) {

  .tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }

  .tool-card {
    padding: 10px 6px;   /* reduced from 22px */
    border-radius: 14px;
  }

  .tool-card .icon {
    font-size: 28px;     /* reduced from 44px */
    padding: 6px;
    margin-bottom: 6px;
  }

  .tool-card .title {
    font-size: 10px;
  }

}

/* ICON */
.tool-card .icon {
  display: inline-block;
  font-size: 40px;
  margin-bottom: 10px;

  background: linear-gradient(135deg, #a1dfd2, #6fc3b5);
  padding: 10px;
  border-radius: 14px;
}

/* TITLE */
.tool-card .title {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* HOVER */
.tool-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

/* CLICK */
.tool-card:active {
  transform: scale(0.95);
}

.info-section {
  max-width: 1000px;
  margin: 40px auto;
  display: grid;
  gap: 18px;
}

/* CARD */
.info-card {
  padding: 18px;
  border-radius: 16px;

  background: linear-gradient(135deg, #ffffff, #f3fbf9);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* HEADING */
.info-card h2 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* TEXT */
.info-card p {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}