/* Slide In Text */

/* animation only */
.slide-in {
  position: relative;
  left: -50vw;
  opacity: 0;
  transition: all 1.2s ease-out;
}

.slide-in.show {
  left: 0;
  opacity: 1;
}

/* Fullscreen Wrapper for Centering */
.card-wrapper {
  display: flex;
  justify-content: center; /* Aligns horizontally */
  align-items: center; /* Aligns vertically */
  height: 20vh; /* Full viewport height */
  background-color: #f0f0f0; /* Optional background color for the page */
}

/* Info Card Style */

.info-card {
  width: 300px;
  padding: 20px;
  background-color: #fff;
  border: 2px solid #eee;
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Light shadow */
  transition: all 0.3s ease; /* Smooth transition */
  cursor: pointer;
  overflow: hidden;
}

.info-card .card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 12px;
}

.info-card .card-text {
  font-size: 1rem;
  color: #555;
}

/* Hover Effect for Info Card */
.info-card:hover {
  transform: translateY(-8px); /* Slight upward lift */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
  background-color: #f4f4f4; /* Light background color on hover */
}

/* EXPANDABLE SECTION /*

/* Container for the Expandable Section */

.expandable-section {
  margin-bottom: 20px; /* Space between sections */
  border-radius: 10px;
  overflow: hidden; /* Prevents content from spilling out when collapsed */
}

/* Button Style */
.expand-btn {
  background-color: #111; /* Dark background */
  color: #fff;
  border: 2px solid #111;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: left; /* Align text to the left */
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hover Effect for Button */
.expand-btn:hover {
  background-color: #fff;
  color: #111;
  border-color: #fff;
}

/* Content inside the expandable section */
.expand-content {
  display: none; /* Initially hidden */
  padding: 0 20px 20px 20px; /* Spacing around the content */
  background-color: #f4f4f4; /* Slightly lighter background for content */
  font-size: 1rem;
  color: #333;
  transition: max-height 0.3s ease, padding 0.3s ease;
  max-height: 0; /* Initially collapsed */
  overflow: hidden;
}

/* Optional icon for the button */
.expand-btn::after {
  content: '\25B6'; /* Right-pointing triangle */
  font-size: 1.5rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

/* Rotate the icon when the section is expanded */
.expand-btn.active::after {
  transform: rotate(90deg); /* Rotate the triangle */
}



