@charset "UTF-8";
/* CSS Document */
*{ box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
}

/* Top navigation bar */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-logo img {
  height: 40px;     
  width: auto;
  display: block;
}

.top-links a {
  margin-left: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #333;
}

/* Cards */
.cards-section1 {
  padding: 40px 8%;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.cards-section2 {
  padding: 40px 8%;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.card {
  flex: 1;
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
  border-radius: 6px;
}

.card img {
  width: 100%;
  height: 95%;            
  object-fit: cover;    
  border-radius: 4px;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: #333;
}

/* X inside the box */
.card-box::before,
.card-box::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
  transform-origin: center;
}

.card-box::before {
  transform: rotate(45deg);
}

.card-box::after {
  transform: rotate(-45deg);
}

.card p {
  font-size: 0.9rem;
}

/* Footer */
.footer {
  margin-top: 40px;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-color: black;
}

.cards-section a {
  text-decoration: none;      
  color: inherit;             
  display: block;            
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards-section a:hover {
  transform: scale(1.03);    
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* Footer */
.footer {
  margin-top: 40px;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-color: black;
}
