
body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7; /* Light gray background */
    padding-bottom: 12px;
}

header {
    background-color: #333; /* Dark gray header */
    color: #fff; /* White text color */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(rgb(20, 4, 4, 0.55), rgb(80, 179, 138, 0.55)), url('Premium Photo _ 3d golden arabic calligraphy quran on dark background.jpeg') center  no-repeat; /* Add gradient overlay and background image */
    background-size: cover;
   
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff; /* White navigation links */
    text-decoration: none;
    padding: 10px; /* Add padding to navigation links for better clickability */
    transition: color 0.3s ease; /* Add transition effect to navigation links */
}



.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }
}



nav ul li a:hover,
.learning-tool a:hover {
    color: #ffcc00; /* Change navigation link color on hover */
}

section{
    padding: 50px 0;
    text-align: center;
    background-color: #fff; /* White background for sections */
    border-radius: 10px; /* Add rounded corners to sections */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow to sections for depth */
    margin: 20px 0; /* Add margin to separate sections */
}

.program,
.news-item,
.faculty-member,
.learning-tool {
   
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    transition: transform 0.3s ease-in-out; /* Add smooth transition on hover */
    position: relative; /* Set position to relative for absolute positioning */
}

.program::before,
.news-item::before,
.faculty-member::before,
.learning-tool::before {
    content: ""; /* Create pseudo-element */
    position: absolute; /* Set position to absolute */
    top: 0; /* Position from top */
    left: 0; /* Position from left */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background: linear-gradient(rgb(20, 4, 4), rgb(80, 179, 138)), url('')  no-repeat; /* Add gradient overlay and background image */
   
    border-radius: 10px; /* Add rounded corners to overlay */
}
.program:hover,
.news-item:hover,
.faculty-member:hover,
.learning-tool:hover  {
    transform: translateY(-5px); /* Add slight upward movement on hover */
}

.program h3,
.news-item h3,
.faculty-member h3,
.learning-tool h3{
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff; /* White text color */
    position: relative; /* Set position to relative for stacking context */
    z-index: 1; /* Set z-index higher than pseudo-element */
}

.program p,
.news-item p,
.faculty-member p,
.learning-tool p {
    font-size: 16px;
    color: #dddddd; /* Light gray text color */
    position: relative; /* Set position to relative for stacking context */
    z-index: 1; /* Set z-index higher than pseudo-element */
}
.quote-container {
    display: flex;
    justify-content: right;
    overflow: hidden;
    width: 100%;
  }
  
  .quote-slide {
    display: flex;
    animation: slide 20s linear infinite;
  }
  
  .quote {
    flex: 0 0 auto;
    margin-right: 20px; /* Adjust spacing between quotes */
  }
  
  @keyframes slide {
    0% {
      transform: translateX(50%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  
  .quote-arabic, .quote-english {
    font-size: 20px;
    font-style: italic;
  }
 .container p span {
    font-size: 20px;
    font-weight: bold;
    color: rgb(80, 179, 138);

  }

  .contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 150px;
    padding: 10px;
    background-color: rgb(80, 179, 138);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #45a049;
}
.news-item img {
    position: relative;
    width: 150px;
    border-radius: 20px;

}
  
footer {
    background-color: #333; /* Dark gray header */
    color: #fff; /* White text color */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    background: linear-gradient(rgb(20, 4, 4, 0.55), rgb(80, 179, 138, 0.55)), url('Premium Photo _ 3d golden arabic calligraphy quran on dark background.jpeg') center no-repeat; /* Add gradient overlay and background image */
   background-size: cover;
}
