body {
  font-family: Arial, sans-serif;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
  gap: 15px;
  padding: 20px;
}
.card {
  border: 1px solid #244568;
  border-radius: 8px;
  padding: 20px;
  width: calc(25% - 15px);
  margin: 0;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
.card i {
  color: #244568;
  font-size: 50px;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}
.card:hover i {
  transform: rotate(360deg);
}
.read-more {
  background-color: #244568;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  margin-top: 5px;
}
.card h4 {
  margin: 10px 0;
}
.card p {
  margin: 10px 0;
  flex-grow: 1;
}
.read-more:hover {
  background-color: #244568;
  color: #fff;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease, slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 1200px) {
  .card {
    width: calc(33.333% - 15px);
  }
}

@media (max-width: 992px) {
  .card {
    width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .card {
    width: calc(50% - 10px);
  }
}
@media (max-width: 576px) {
  .card {
    width: calc(100% - 10px);
  }
}
.close-button {
  background-color: #ff4081;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 20px auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.close-button:hover {
  background-color: #e63972;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close-button:focus {
  outline: none;
}

h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 15px;
}

p {
  color: #555;
  line-height: 1.6;
}

ul {
  margin: 10px 0;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

strong {
  color: #000;
}
