/* Import a modern Google font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
}

/* Info Board Grid */
#info_board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background-color: rgba(0, 123, 255, 0.07);
  width: 100%;
}

/* Item Box Styling */
.item {
  background: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Icons */
.item i {
  font-size: 1.5rem;
  color: #007bff;
  transition: color 0.3s;
}

.item:hover i {
  color: #0056b3;
}

/* Links and Text */
.item a {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.item a:hover {
  color: #004080;
}

#donate {
  color: #e63946;
  font-weight: 600;
}

/* Text in spans */
.item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

/* Media Query for Mobile */
@media only screen and (max-width: 900px) {
  #info_board {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .item {
    flex-direction: row;
    gap: 8px;
    padding: 15px;
  }

  .item i {
    font-size: 1.3rem;
  }
}

/* the design for course list*/
/* course list */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

/* Main heading */
h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-top: 30px;
  color: #333;
  letter-spacing: 1px;
}

/* Icon section layout */
.icon-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 20px;
  background: #fff;
}

/* Each box */
.icon-box {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  width: 200px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Icon style */
.icon-box i {
  font-size: 45px;
  color: #007bff;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.icon-box:hover i {
  color: #0056b3;
}

/* Course title */
.icon-title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .icon-box {
    width: 90%;
    max-width: 300px;
  }

  h1 {
    font-size: 2rem;
  }
}

   

/* for user profile */

#user_profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  width:100%;
  background-color:rgba(0, 123, 255, 0.1);;
  margin-top:20px;
}

/* Style for each item */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

#user_profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background-color: rgba(0, 123, 255, 0.06);
  border-radius: 12px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Each profile action box */
.profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 10px;
  background-color: #ffffff;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: all 0.25s ease-in-out;
  text-decoration: none;
}

.profile-item:hover {
  background-color: #e6f0ff;
  transform: translateY(-2px);
  cursor: pointer;
}

/* Font Awesome icons */
.profile-item i {
  font-size: 20px;
  color: #007bff;
  transition: color 0.3s;
}

/* Text inside item */
.profile-item span {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

/* Responsive layout */
@media (min-width: 768px) {
  #user_profile {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-item {
    flex: 1 1 45%;
    margin: 10px;
  }
}

/* Remove underline from links globally inside .profile-item */
.profile-item a {
  text-decoration: none;
  color: inherit;
}

/* for user profile end*/


