*{margin: 0;
    padding: 0;
    box-sizing: border-box;

    
  font-family: "Noto Sans Arabic", sans-serif;
 

}

body{
    background-color: white;
}
@font-face {
    font-family: 'myfont'; /* Choose a name for your font */
    src: url('../fonts/BigVesta.ttf') format('truetype'); /* Path to your .ttf file */
    font-weight: normal; /* Optional */
    font-style: normal;  /* Optional */
}
.firstsection {
    width: 100%;
    height: 690px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: backgroundSlideshow 40s infinite; /* Animation for background */
}

/* Keyframes for the background slideshow */
@keyframes backgroundSlideshow {
    0% {
        background-image: url("../images/w1.jpg");
    }
    25% {
        background-image: url("../images/w2.jpg");
    }
    50% {
        background-image: url("../images/w3.jpg");
    }
    75% {
        background-image: url("../images/w4.jpg");
    }
    100% {
        background-image: url("../images/w5.jpg");
    }
}



.topmenu {
    position: fixed;
  
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    background-color: rgba(5, 5, 5, 0.6);
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transitions */
    opacity: 1;
    transform: translateY(0); /* Initially visible */
    z-index: 1000; /* Ensure it stays above other elements */
}


.topmenu.hidden {
    opacity: 0;
    transform: translateY(-100%); /* Slide up and fade out when hidden */
    pointer-events: none; /* Prevent interaction when hidden */
}



.mainlogo {
    display: flex;
    justify-content: space-between;
    align-items: center;

    animation: fadeIn 1.5s ease-out;
}

.topmenu img {
    width: 54px;
    height: 64px;

    margin-right: 15px;
    margin-left: 35px;
 
}



.topmenu ul{
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.topmenu  li{
    margin: 8px 35px;
    list-style: none;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-family: 'MyFont', sans-serif;
    transition: color 0.5s ease;
    animation: fadeInMoveDown 2s ease-out;
}

@keyframes fadeInMoveDown {
    from {
        opacity: 0;
        /* Start with opacity 0 (fully transparent) */
        transform: translateY(-20px);
        /* Start 20px above its normal position */
    }

    to {
        opacity: 1;
        /* End with opacity 1 (fully opaque) */
        transform: translateY(0);
        /* End at its normal position */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    
    }

    to {
        opacity: 1;

    }
}

.topmenu  ul li:hover {
    color: #898989;
    /* Slightly lighter color when hovered */
}

 button{
    font-size: 20px;
    margin: 0px 35px;
    padding: 10px;
    color: white;
    font-family: 'MyFont', sans-serif;
    transition: background-color 0.5s ease;
}

  button:hover {
    background-color: #e9ca01;
    color: rgb(10, 9, 9);
    /* Slightly lighter color when hovered */
}

 button{
    background-color: rgba(5, 5, 5, 0.1);
    border: solid 1px white;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    
}


.solgan{
 
    display: block;
  

    height: auto;
    padding: 15px;
background-color: #e9ca01;

    /* Initial opacity */
    opacity: 0;
    
    /* Animation settings */
    animation: fadeIn 2s ease-out forwards; /* Adjust timing and easing as needed */


}

@keyframes fadeIn {
    0% {
        opacity: 0; /* Start fully transparent */
    }
    100% {
        opacity: 1; /* End fully visible */
    }
}

.solgan p {
    
    display: block;
    color: rgb(2, 2, 2);
    font-family: 'MyFont', sans-serif;
    width: max-content;
    font-size: 40px;
        /* Initial position and opacity */
        opacity: 0;
        transform: translateY(100%); /* Start from below */
        
        /* Animation settings */
        animation: slideInUp 2s ease-out forwards; /* Adjust timing and easing as needed */
    
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(100%); /* Start from below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

.slogoneng p {
    display: flex;
    text-transform: uppercase;
    width: auto;
    height: auto;
   
    align-items: center;
    color: rgb(255, 255, 255);
    border: solid 1px rgb(134, 115, 120);
    font-size: 45px;
    padding: 5px;
    margin: 15px 0;
  /*  font-family: "Cairo", sans-serif;*/
  font-family: "Faculty Glyphic", sans-serif;
    font-weight: 600;
    font-style: normal;
    background-color:  rgba(5, 5, 5, 0.6);
        /* Initial position and opacity */
        opacity: 0;
        transform: translateX(-100%);
        
        /* Animation settings */
        animation: slideIn 1s ease-out forwards; /* Adjust timing and easing as needed */
    

}
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}



.allsologan {
    margin: 0 auto;
    justify-items: center;
    height: auto;
}

.wesection{
    width: 100%;
    height: auto;
    background-color: #e9ca01;
}
/* Container styling */
.weare {
    margin: 0 auto;
    width: 1400px;
    height: auto;
    background-color: #e9ca01;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

/* Paragraph styling */
.weare p {
    display: flex;
    align-items: center;
    font-size: 24px;
    margin: 20px;
    color: #000000;
    text-align: justify;
    text-align-last: right;
    line-height: 1.6;
    opacity: 0; /* Start hidden */
}

/* Image styling */
.weare img {
    border-radius: 15px;
    margin: 20px;
    width: 600px;
    height: auto;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    opacity: 0; /* Start hidden */
}

/* Hover effect for the image */
.weare img:hover {
    transform: scale(1.05);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.4);
}

/* Fade-in animation on scroll */
.animate {
    opacity: 1;
    animation: fadeIn 1.5s ease-in-out forwards;
}

.animate p {
    animation: fadeSlideIn 1.8s ease-in-out forwards;
}

.animate img {
    animation: fadeSlideIn 2s ease-in-out forwards;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mask container styling */
.scroll-mask {
    position: relative;
    width: 100%;
    height: 40vh; /* Full viewport height */
    background-image: url("../images/w1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
    overflow: hidden; /* Hide overflow */
}

/* Content inside the mask */
.scroll-mask .content {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent background to improve text readability */
}
.content p{
    font-size: 30px;
    font-family: "Faculty Glyphic", sans-serif;
    text-transform: uppercase;
    font-weight: 800px;
    margin: 10px;
}

.project {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 20px 0;
}
.projectcard {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    background-color: #ffffff;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0; /* Start with opacity 0 */
    transform: translateY(20px); /* Start slightly below */
    animation: fadeUp 1.5s ease-out forwards; /* Apply fadeUp animation */
}

/* Keyframe animation for fade-up effect */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to original position */
    }
}

.card {
    flex: 3; /* Adjust the card width to make the main image bigger */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    transition: opacity 0.5s ease;
}

.card img {
    width: 100%;
    height: auto;
    max-height: 600px; /* Increase max height for bigger image */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: opacity 0.5s ease;
}

.album {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure equal space between images */
    gap: 10px; /* Adjust gap between small images */
    flex: 1;
    height: 100%; /* Make sure the album takes the full height of the container */
}

.album img {
    width: 100%;
    height: 120px; /* Smaller images */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease-in-out; /* Smooth scaling effect on hover */
}

.album img:hover {
    transform: scale(1.1); /* Slightly enlarge image on hover */
}

/* Transition for image and description change */
.image-transition, .description-transition {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.image-transition.hidden, .description-transition.hidden {
    opacity: 0;
}

.irontype {
    width: 100%;
    height: auto;
    background-color: #e9ca01;
}

/* Container styling */
.ironcard {
    margin: 0 auto;
    width: 1400px;
    height: auto;
    background-color: #e9ca01;
    padding: 30px;
    display: flex;
    flex-direction: column; /* ترتيب العناصر في صفين */
    align-items: center; /* محاذاة العناصر في الوسط */
}

/* Styling for the title */
.ironcard h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    font-weight: 700;
    font-size: 40px;
    text-transform: uppercase;
    color: #040404;
    margin-bottom: 30px; /* المسافة بين العنوان والعناصر */
    text-align: center; /* محاذاة النص في المنتصف */
}

/* Styling for each group of links */
.first, .second {
    display: flex;
    flex-direction: row; /* الاحتفاظ بالعناصر في صف */
    justify-content: center; /* محاذاة العناصر في المنتصف */
    width: 100%;
    margin-bottom: 10px; /* تقليل المسافة بين الصفوف */
}


.ironcard a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 22px;
    width: auto;
    height: 50px;
    margin: 10px; /* تقليل المسافة بين العناصر */
    text-transform: uppercase;
    color: #ffffff;
    background-color: #040404;
    border-radius: 30px;
    padding: 10px 20px; /* تقليل المسافة داخل الزر */
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    
}

.ironcard a:hover {
    background-color: #ffbe00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ironcard a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 230, 9, 0.5);
}


footer {
    background-color: #111; /* Dark background */
    color: #f1f1f1; /* Light text color */
    padding: 40px 0;
    font-family: "Arial", sans-serif;
    text-align: center;
}

.contact-us h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 40px;
    text-transform: uppercase;
    font-family: 'MyFont', sans-serif;
    margin-bottom: 30px; /* المسافة بين العنوان والعناصر */
    text-align: center; /* محاذاة النص في المنتصف */
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    background-color: #222; /* Dark background for items */
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInMoveDown 2s ease-out;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.contact-item h4 {
    font-size: 1.8em;
    color: #f1e609;
    margin-bottom: 25px;
    font-family: 'MyFont', sans-serif;
}

.contact-item ul {
    list-style: none;
    padding: 0;
}

.contact-item ul li {
    
    margin: 10px 0;
}

.contact-item ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
    font-family: "Faculty Glyphic", sans-serif;
    
    font-weight: 800px;
}

.contact-item ul li a:hover {
    color: #ff6347; /* Hover color change */
    text-decoration: underline;
}

.second a{
    font-family: "Noto Sans Arabic", sans-serif;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    .contact-item {
        width: 80%;
        margin-bottom: 20px;
    }
}
