@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; 
}

/* تنسيق الفيديوهات والصور والشبكة */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 عمود بنسبة متساوية */
    gap: 20px; /* المسافة بين الفيديوهات والصور */
}

.video {
    position: relative;
    padding-bottom: 56.25%; /* نسبة العرض إلى الارتفاع (16:9) */
    overflow: hidden;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video h3 {
    margin: 10px 0;
    font-size: 16px;
}

/* تنسيق الصور */
.video img {
    width: 100%;
    height: auto;
}



/* تنسيق عناصر الصفحة الرئيسية */
.title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* تنسيق الفيديوهات والصور والشبكة */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 عمود بنسبة متساوية */
    gap: 20px; /* المسافة بين الفيديوهات والصور */
}

.media {
    position: relative;
    overflow: hidden;
}

.media iframe,
.media img {
    width: 100%; /* يأخذ العرض الكامل داخل العنصر .media */
    height: auto; /* يمكن للارتفاع التكيف بناءً على العرض */
}

.media h3 {
    margin: 10px 0;
    font-size: 16px;
}

/* تنسيق عناصر الصفحة الرئيسية */
.title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

header {
    background-color: #395e7cef;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px ;
}
#logo2 {
    height: 60px; /* او أي حجم ترغب به */
    transition: opacity 0.3s;
}

#logo:hover {
    opacity: 0.8; 
}
.container {
    text-align: center;
    padding: 50px;
}

button {
    padding: 15px 30px;  /* تم زيادة الهوامش هنا */
    font-size: 22px;  /* تم زيادة حجم الخط هنا */
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;  /* تم زيادة نصف قطر الزاوية ليتناسب مع حجم الزر الجديد */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

.description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    margin-top: 10px;
    opacity: 0;
}

button {
    font-size: 18px;  /* حجم الخط للزر */
}

.description {
    font-size: 24px;  /* حجم الخط لنبذة عن الشركة */
}
.show-description {
    max-height: 100px;
    opacity: 1;
}


.logo{
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}

.navigation a{
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 500;
    padding-left: 30px;
}

.navigation a:hover{
    color: #6b3f58ad;
}

section {
    padding: 100px 200px;
}
a{
    text-decoration: none;
    font-size: medium;
    
}
.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/enhanced.png5.png) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgb(144, 155, 219);
}


.main h2 {
    color: #8a8a8a;
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    margin-top: 30px;
    color : #1f1f1f;
    border-bottom: #ff5151;
    box-shadow: #601cfc;
    font-size: 3em;
    font-weight: 600;
}


.main-btn {
    color: #f1f1f1;
    background-color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    opacity: 0.8; 
    transition: 0.7s ease;
}
body {
    font-family: 'Arial', sans-serif;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
}

.dropdown-menu a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.main-btn:hover {
    background-color: #ff5151;
    transform: scale(1.1);
}

.social-icons a {
    color: #ffffff;
    font-size: 1.7em;
    padding-right: 30px;
    color: #d1d1d1; /* لون الأيقونة في الحالة العادية */
    transition: color 0.3s; /* تأثير التدرج لتغير اللون */
}

    .social-icons a:hover {
        color: #e5ff00ad; /* لون الأيقونة عند وضع المؤشر فوقها */
    }
    .social-icon.animate {
        transform: scale(1.3);
    }  




.title {
    display: flex;
    padding-bottom: 0%;
    justify-content: center;
    color: #120e50;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    background-color: #ffffff;
    width: 21.25em;
    box-shadow:  5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale (20,20);
}

.card .icon {
    color: #188f89;
    font-size: 8em;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3{
    color: #3a6cf4;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.projects {
    background-color: #000016;
}

.projects .content{
    margin-top: 30px;
}

.project-card {
    background-color: #fff;
    border: 1px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card:hover {
   transform: scale(1.1);
}

.project-card:hover .project-image {
    opacity: 0.9;
 }

.project-image img{
    width: 100%
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 0.8em;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

.more-details {
    text-decoration: none;
    color: #3a6cf4;
}

.more-details:hover {
    color: #601cfc;
}

.contact .icon{
    font-size: 4.5em;
}

.contact .info h3 {
    color: #000;
}

.contact .info p {
    font-size: 1.5em;
}

.footer {
    background-color: #000016;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #3a6cf4;
}

.footer .social-icons a{
    font-size: 1.3em;
    padding: 0 12px 0 0;
}

@media (max-width:1023px){
    header{
        padding: 12px 20px;
    }

    .navigation a{
        padding-left: 10px;
    }

    .title{
        font-size: 1.8em;
    }

    section{
        padding: 80px 20px;
    }

    .main-content h2{
        font-size: 1em;
    }

    .main-content h3{
        font-size: 1.6em;
    }

    .content{
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width:641px){
    body{
        font-size: 12px;
    }

    .main-content h2{
        font-size: 0.8em;
    }

    .main-content h3{
        font-size: 1.4em;
    }
}

@media (max-width:300px){
    body{
        font-size: 10px;
     
    }
}

