@font-face {
  font-family: Jameel Noori Nastaleeq Regular;
  src: url(/assets/font/Jameel_Noori_Nastaleeq_Regular.ttf);
}

body {
  font-family: 'Jameel Noori Nastaleeq Regular', serif;
  direction: rtl;
  background-color: rgb(255, 255, 255) !important;
  margin: 0;
  padding: 0;
}

body::after{
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  background: url('/assets_ur/img/growtech-background.jpeg') ;
  background-attachment: fixed;
  background-size: contain;
  pointer-events: none;
  opacity: 0.06;
}

@media (max-width: 768px) {
  body::after {
    background-size: cover;
    background-position: center;
  }
}

h1 {
text-align: center;
font-weight: 600;
color: #7FC21A;
padding: 20px;

}

h2 {
color: rgb(0, 112, 192);
font-weight: bold;
margin: 20px 5% 20px;
}

img {

  max-width: 100%;
  height: auto;
  margin: 20px auto; /* Center-align the image */
  display: block;
}

table {
  width: 90%; /* Adjust width as needed */
  margin: 20px auto; /* Center the table on the page and add margin for better spacing */
  border-collapse: collapse;
  text-align: right; /* Align text to the right for Urdu language */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

th, td {
  border: 2px solid #ddd;
  padding: 16px; /* Increased padding for better spacing */
  font-size: 25px; /* Increased font size for better readability */
}

th {
  background-color: #f2f2f2;
}

/* Sticky table headers */
thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}


ul {
  text-align: justify;
  font-size: 27px;
  margin: 20px 5% 20px;
  }

p{
  text-align: justify;
  padding: 20px;
  font-size: 27px;
  margin: 20px 5% 20px;

  }

/* Center the table on desktop */
@media screen and (min-width: 769px) {
  table {
    margin: 0 auto;
  }
}


/* Media query for smaller screens (e.g., mobile devices) */
@media screen and (max-width: 600px) {
  img {
    max-width: calc(100% - 40px); /* Adjust the width based on margin values */
    width: 100%;
    height: auto;
    margin: 20px; /* Margin on top, right, bottom, and left */
    display: block;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  th, td {
    width: auto;
    box-sizing: border-box;
    white-space: normal;
    text-align: right; /* Align text to the right for Urdu language */
    font-size: 20px;
  }

  th {
    text-align: right; /* Align text to the right for Urdu language */
    position: static;
  }
}

