/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', 'Avenir Next Arabic', sans-serif;
  color: #3a2c5a;
  background-color: #fff;
  line-height: 1.6;
  font-size: medium;
}

header {
  position: relative;
  height: 300px;
  overflow: hidden;
}

header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

header .overlay {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* optional dim */
}

header .logo {
  max-width: 500px;
}

main {
  max-width: 960px;
  margin: auto;
  padding: 40px 20px;
}

h1 {
  text-align: center;
  color: #6d40b5;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

h2 {
  color: #4e2a84;
  font-size: 1.5rem;
  margin-top: 50px;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.term-block {
  margin-bottom: 20px;
}

.term-block h3 {
  color: #6d40b5;
  margin-bottom: 5px;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  padding: 20px;
  border-top: 1px solid #ccc;
  margin-top: 40px;
}

/* 🔁 Responsive tweaks for screens smaller than 768px */
@media (max-width: 768px) {


body{
    font-size: x-small;
}

 header{
    height: 150px;
 }

  header .logo {
    width: 220px; /* scale down on phones */
  }

  main {
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
    margin-top: 30px;
  }

  h3 {
    font-size: medium;
  }

  .term-block p {
    font-size: 0.95rem;
  }
}

