body {
    font-family: "Ancizar Serif", serif;
    background: #757373;
    margin: 0;
    padding: 0;
   direction: inherit;
}

body.rtl {
  direction: rtl;
  text-align: right;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

h1 {
    color: rgb(0, 0, 0);
    font-size: 3rem; 
    margin: 0;
    transition: all 0.4s ease;
    font-family: "Ancizar Serif", serif;

}

.hero {
    color: #ffffff;
    padding: 2rem 2rem;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
    position: relative;
    overflow: hidden;
    height: 70vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    animation: fadeIn 2s ease-in-out;
    margin-top: 150px;
}
.hero .btn {
    display: inline-block;
    margin-top: 1.5rem;
    background-color: #ff6f08;
    font-size: 14px;
    padding: 0.6rem 1.2rem;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #e55b00;
}


.hero video#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;       
    height: 60vh;       
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.5); 
}


.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}


.hero .container h1,
.hero .container p,
.hero .container .btn {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.hero .container p {
    animation-name: fadeUp;
    animation-duration: 1.2s;
    animation-delay: 0.3s;
    color: #ffffff;
    font-weight: bold;
    font-size: 40px;

}

.hero .container .btn {
    animation-name: fadeUp;
    animation-duration: 1.2s;
    animation-delay: 1.1s;
}

/* Keyframe */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.description {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    background-color: #1a2357;
    border-radius: 12px;
    animation: fadeIn 1.5s ease;
    margin-bottom: 60px;
}

.description-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap-reverse; 
    gap: 2rem;
}

.description-text {
    flex: 1;
    min-width: 280px;
    text-align: start;
}

.description-text h1 {
    color: #ec4f00;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.description-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
}


.services, .contact {
    padding: 3rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.section {
  background-color: #1a2357;
  padding-top: 20px;
  padding-bottom: 20px;
  direction: rtl;
  text-align: right;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpSection 1.2s ease-out forwards;
  animation-delay: 0.2s;
}

.section h1 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #e55b00;
  margin-bottom: 20px;
}

.section p {
  color: #ccc;
  font-size: 20px;
  line-height: 1.8;
  max-width: 800px;
  text-align: auto;    
  direction: auto;       
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUpSection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.about {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    background-color: #1a2357;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1.5s ease;
    margin-bottom: 60px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap-reverse; 
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 280px;
    text-align: start;
}

.about-text h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-more {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #45a049;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.btn-more:hover {
  background-color: #000000;
}

.about-video {
  flex: 1 1 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-video video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  
   .about-video {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}