﻿/* Reset & base */
body {
  font-family: 'Poppins', sans-serif !important;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Header */
header {
  background: #2d3169;
  padding: 20px 20px;
  text-align: center;
  color: #fff;
  animation: fadeInDown 1s ease-in-out;
  margin-top: 40px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Category icons grid */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 35px;
  max-width:1250px;
  margin: 40px auto; /* horizontally center */
}

.category {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  padding: 20px 10px;
  transition: transform 0.3s, box-shadow 0.3s;
   box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.85);
}

.category img {
  max-width: 160px;
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.category:hover img {
  transform: rotate(10deg) scale(1.05);
}

.category-title {
  font-size: 1.1em;
  font-weight: bold;
}

/* Table container */
.table-container {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  max-width:1220px;
  margin: 40px auto;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

th {
  background: #0073e6;
  color: #fff;
  position: sticky;
  top: 0;
}

tr:hover {
  background: #f1faff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Accordion */
.accordion {
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  max-width:1280px;
  margin: 20px auto;
}

.accordion-header {
  padding: 15px 20px;
  background: #0073e6;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #005bb5;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fff;
}

.accordion-content.open {
  max-height: 1000px;
  padding: 20px;
}

.icon {
  font-weight: bold;
  font-size: 1.5em;
  transform: rotate(0);
  transition: transform 0.3s ease;
}

.accordion-header.active .icon {
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 600px) {
  .category {
    padding: 15px 5px;
  }

  .category-title {
    font-size: 1em;
  }

  th, td {
    font-size: 0.9em;
    padding: 8px 10px;
  }
}

.hero-content {
  max-width: 800px;
  animation: fadeInLeft 1.5s ease-out;
  background: rgba(255, 255, 255, 0.9);
/* Optional: dark overlay for readability */
  padding: 20px;
  border-radius: 10px;
}
