/* Reset */
body {
  margin: 100px;
  font-family: Arial, sans-serif;
  background-color: aliceblue;
  overflow-x: hidden;
}



.main {
  margin-top: 80px;   
  margin-left: 180px; 
  height: calc(100vh - 80px);
  overflow: hidden;
}

.hero {
  position: relative;
  background: url('assets/background.jpg') center/cover no-repeat;
  height: 90vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.4); 
}

.hero .content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero .btn {
  background: #ffc107;
  color: #09004f;
  font-weight: bold;
  border-radius: 25px;
  padding: 10px 2px;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #ffbf00;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
}

.card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  height: 200px;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.page-title {
  margin: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #0f3073;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #eaeaea;
}

.card p {
  margin-top: 8px;
  font-weight: 600;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
