/* header */
header .container .parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header .container .parent::after {
    content: "";
    height: 1px;
    width: 100%;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    opacity: 50%;
}

header .container .parent p {
    color: #fff;
    font-weight: 700;
    font-size: 35px;
    font-family: "Story Script", sans-serif;
}

header .container .parent img {
    width: 100px;
    padding: 10px 0;
}

header .container .parent ul {
    display: flex;
    justify-content: space-between;
}

header .container .parent li {
    list-style: none;
    padding: 0 15px;

}

header .container .parent a {
    color: #fff;
    font-weight: 600;
    display: block;
    text-decoration: none;
    font-size: 20px;

}

header .container .parent a:hover {
    color: var(--primary-blue);
}

header .container .parent .menu-icon {

    display: none;
}

@media (max-width: 600px) {
    header .container .parent ul {
        position: absolute;
        flex-direction: column;
        top: 110px;
        left: 0;
        right: 0;
        text-align: center;
        padding: 0;
        gap: 0;
        overflow: hidden;
        margin: 0;
        background-color: #050505;
    }

    header .container .parent ul a {
        padding: 20px 0;
        border-bottom: 1px solid #fff;
        color: #fff;
        font-weight: 600;
        display: block;
        text-decoration: none;
        font-size: 15px;

    }

    header .container .parent ul li {
        padding: 0;
    }

    header .container .parent .menu-icon {
        display: block;

    }

    header .container .parent .menu-icon i {
        font-size: 40px;
        color: #fff;
    }

    #menuList {
        transition: all .5s;
    }

}

/* End Header  */
/* start hero section */
.hero {
    padding: 100px 0;
    text-align: center;
    
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}
.hero-text p {

    color: #fff;

}
@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
}
.highlight {
    color: var(--primary-blue);
}

.artic-button {
    text-align: center;
    padding: 15px 30px;
}

.tab-btn.active {
    color: #fff;
} 

/* .content-grid {
    display: none; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    animation: fadeIn 0.5s ease forwards;
}

.content-grid.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
} */
.content-grid {
    display: none; 
    /* الحل هنا: نغير الـ 300px إلى قيمة أصغر أو نستخدم 1fr فقط في الموبايل */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; /* تقليل الفجوة في الموبايل يقلل الضغط على العرض */
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box; /* يضمن أن الـ padding لا يزيد العرض */
}

/* أفضل ممارسة للموبايل */
@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: 1fr; /* عمود واحد صريح ينهي مشاكل العرض */
        gap: 15px;
    }
}

.content-grid.active {
    display: grid;
}

/* Start About  */

.about {
    padding: 100px 0;
    background-color: #050505;
    color: #ffffff;
}
.about .container h1 {
    display: flex;
    justify-content: center;
}
.about .container .parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.about .container .parent img {
    height: 400px;
    width: 400px;
    border-radius: 12px;

}

.about .container .parent p {
    color: var(--text-co);
    font-size: 25px;
    /* padding: 130px 35px 0 0; */
    margin: 0;
    padding-right: 65px;
}


@media (max-width: 992px) {
    .about .container h1 {
        font-size: 90px;
    }

    .about .container .parent p {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .about .container h1 {
        font-size: 70px;
    }

    .about .container .parent p {
        font-size: 15px;
        padding: 0 10px;
    }

    .about .container .parent img {
        /* height: 350px;
        width: 350px; */
        display: none;
    }
}

/* End About  */
