:root{
    --red-color: #EE1A20;
    --dark-color: #000;
    --light-color: #fff;
    --shadow-color: rgba(0, 0, 0, 0.2);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--dark-color);
    font-family:'Calibri';
    scroll-behavior: smooth;
}
body{
    width: 100%;
    margin: 0 150px;
}
.main-container{
    width: 100%;
}
.text-justify {
    text-align: justify;
}
::-webkit-scrollbar{
    width: 8px;   /* it was 10px*/
}
::-webkit-scrollbar-track{
    background-color:#f6f6f6;
}
::-webkit-scrollbar-thumb{
    background-color: var(--red-color);
    border-radius: 20px;
}
.sec-title{
    font-size: 2.4rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem
}
.sec-parah , .whyus-list li { 
    font-size: 1.3rem;
    text-align: justify;
}
.curved-corners{
    border-radius: 56% 44% 73% 27% / 45% 68% 32% 55%;
}
#about-us , #mission-vision ,#why-us ,#services , #products ,#location{
    margin-top: 20vh;
}
#details-container p{   
    width: 80%;
}
#filter-btns{
    width: 80%;
}

/* Header Style */   
.navbar .logo{
    width: 215px;
}
.nav-item a{
    font-weight: 600;
    color: var(--dark-color);
    font-size: 18px;
}
.nav-item a:hover{
    color: var(--red-color);
}

 /* carousel Style */
.carousel-item{
    height: 100vh;
}
.carousel-item::before{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--dark-color);
    opacity: 0.3;
}
.slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 70%;
    color: var(--light-color);
    font-size: 1.5rem;
}
.animate-text {
    display: inline-block;
    animation: glowText 3.6s ease-in-out forwards;
    font-size: clamp(1.5rem, 5vw, 2.3rem); /* حجم مرن للنص */
    color: var(--light-color);
    text-align: center;
}
@keyframes glowText {
    0% {
      transform: scale(0.3);
      text-shadow: none;
    }
    50% {
      transform: scale(1.5);
      text-shadow: 0 0 10px var(--light-color), 0 0 20px var(--light-color), 0 0 30px var(--light-color);
    }
    75% {
      transform: scale(1.5);
      text-shadow: 0 0 10px var(--light-color), 0 0 20px var(--light-color), 0 0 30px var(--light-color);
    }
    100% {
      transform: scale(1.5);
      text-shadow: 0 0 10px var(--light-color), 0 0 20px var(--light-color), 0 0 30px var(--light-color);
    }
}

/* Products Section Style */
.ProductsBtn{
    width: 20rem;
    padding: 5px;
    border-radius: 10rem;
    border: none;
    background-color: var(--red-color);
    color: var(--light-color);
}

/* Footer Style */
.footer{
    width: 100%;
    background-color: var(--dark-color);
    padding-top: 40px
}
.footer .links a{
    text-decoration: none;
    color: var(--light-color);
}
.footer .links a:hover{
    color: var(--red-color);  
}
.contact a{
    text-decoration: none;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
}
.copyRight {
    text-align: center;
    width: 100%; 
    padding: 9px 0;
}

/* PRODUCTS PAGE */
/* Products Section Style */
.filter-btn {
    background: none;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.2s ease-in-out;
}
.filter-btn:hover {
    color: var(--red-color);
}
.main-categorie .card , .filter-btns .card{
    border: none;

}
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    height: 100%;
}
.card img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
}
.sub-categorie .card:hover,
.main-categorie .card:hover {
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: box-shadow 0.3s ease-in-out;
}
.card h5 {
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Media Queries for Responsive Design */
@media (max-width: 1025px) {
    .carousel {
        height: fit-content;
        margin-bottom: 200px;
    }
    .carousel-item {
        height: fit-content;
    }
}
@media (max-width: 768px) {
    .filter-btns {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 576px) { 
    .quote p {
        font-size: 13px;
    }
    .navbar .logo {
        width: 150px;
    }
}


