body {
  margin: 0;
  font-family: 'Tajawal', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: white;
  background-color: #6b4f3a;
  text-align: right;
}

body.about-page-background {
    background-color: #42240f;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 0 0;
  background-color: rgba(113, 84, 56, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.about-page-background header {
    background-color: rgba(113, 84, 56, 0.8);
    padding: 1rem 0 0;
}

.logo {
  width: 80vw;
  max-width: 500px;
  height: auto;
  display: inline-block;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  width: 100%;
  background-color: transparent;
}

.tabs .button {
  width: 33.33%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-family: inherit;
  padding: 0.8rem 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 8px 8px 0 0;
  background-color: transparent;
  color: white;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
}

.tabs .button:not(.active) {
    border-top: 1px solid #42250f;
    border-left: 1px solid #42250f;
    border-right: 1px solid #42250f;
}

.tabs .button:not(.active):hover {
  background-color: #8a6f5c;
}

.tabs .button.active {
  background-color: #743d15;
  color: white;
  font-weight: bold;
  border: 1px solid #42250f;
}

.home-container {
  width: 100%;
}

.download-hero {
  background-color: #42250f;
  border-top: 1px solid #715438;
}

.hero {
  padding: 2rem 1rem;
  color: white;
  text-align: center;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.download-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.download-buttons .button {
  background-color: #743d15;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.15s ease-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-buttons .button:hover {
  background-color: #623412;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.download-buttons .button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.download-buttons .button i {
  font-size: 1.2rem;
}

.videos-section {
  padding: 1rem;
  background-color: #743d15;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: white;
  font-weight: 700;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  background-color: #2a160a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card-video {
  width: 100%;
  height: 300px; /* Set a fixed height for square-like thumbnails */
  object-fit: cover;
}

.video-title {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #fff;
}

.about-section {
    background-color: #743d15;
    padding: 2rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
    border-top: 1px solid #715438;
}

.about-item {
    margin-bottom: 2rem;
}

.about-item h2 {
    font-size: 1.8rem;
  margin-bottom: 1rem;
    text-align: right;
}

.about-item hr {
    border: 0;
    height: 1px;
    background-color: #a5846b;
    margin-bottom: 1rem;
}

.about-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: right;
}

.about-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    text-align: right;
}

.about-item li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
    position: relative;
}

.about-item li::before {
    content: "\2022";
    color: white;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    right: 0;
}

.highlight {
    color: #f5d880;
    font-weight: bold;
}


footer {
  background-color: #42250f;
  color: white;
  padding: 1.5rem 0;
  text-align: center;
}

footer p {
    font-size: 0.9rem;
    color: #d1c4b9;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* Contact Form Styles */
#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-form input,
#contact-form textarea {
    background-color: #8a6f5c;
    color: white;
    border: 1px solid #a5846b;
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box; /* To include padding in the width */
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #d1c4b9;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #f5d880;
    box-shadow: 0 0 5px rgba(245, 216, 128, 0.5);
}

#contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

#contact-form button {
  background-color: #743d15;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.15s ease-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

#contact-form button:hover {
  background-color: #623412;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#contact-form button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
