@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root {
    --main-color: #b81f3a;
    --main-second-color: #630e1d;
    --second-color: #ffe3d8;
    --white-color: #fff;
    --padding-xs: 4px;
    --padding-sm: 8px;
    --padding-md: 16px;
    --padding-lg: 24px;
    --padding-xl: 32px;

    /* Margin */
    --margin-xs: 4px;
    --margin-sm: 8px;
    --margin-md: 16px;
    --margin-lg: 24px;
    --margin-xl: 32px;

    /* Responsive Padding / Margin (مثال على حجم أصغر للشاشات الصغيرة) */
    --padding-sm-mobile: 8px;
    --padding-md-mobile: 12px;
    --padding-lg-mobile: 16px;

    --margin-sm-mobile: 8px;
    --margin-md-mobile: 12px;
    --margin-lg-mobile: 16px;
}
#catalogModal{
    z-index: 99999999999999999999999;
}
body {
    font-family: "Cairo", sans-serif;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
p,
h4,
h6 {
    margin: 0;
    padding: 0;
}

/* ------------- Header --------------- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999999999999;
    background-color: rgba(255, 255, 255, 0.7); /* شفاف جزئي */
    /* backdrop-filter: blur(10px); */
}

#header .contact-us-link {
    background-color: var(--main-color);
    color: var(--white-color);
    padding: var(--padding-md);
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}
#header .contact-us-link:hover {
    background-color: var(--main-second-color);
}
#header ul {
    display: flex;
    gap: 19px;
}
#header ul li a {
    font-weight: bold;
}
#header ul li a.active {
    color: var(--main-color);
    transform: all 0.5s ease-in-out;
}
#header ul li a:hover {
    color: var(--main-color);
}
/* ------------- herosection --------------- */
.herosection {
    position: relative; /* مهم عشان النص يبقى فوق الصورة */
    width: 100%;
    height: 665px;
    overflow: hidden;
}
.herosection::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #b81f3a66;
}

.herosection img {
    width: 100%;
    height: 632px;
    object-fit: cover;
    display: block;
    object-position: center;
}
.herosection .bottom-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    z-index: 10;
}
.herosection .text {
    position: absolute;
    z-index: 99;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white-color);
    text-align: center;
    padding: var(--padding-md);
    width: 100%;
}

.herosection .text h4 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: bold;
}

.herosection .text a {
    display: inline-block;
    margin-top: var(--margin-sm);
    padding: 23px 40px;
    color: var(--white-color);
    text-decoration: none;
    border-radius: 16px;
    transition: background 0.3s ease;
    border: 2px solid #fff;
    font-weight: bold;
    transition: all 0.5s ease-in-out;
    font-size: 20px;
}

/* ------------- counts --------------- */
.counts {
    display: flex;
    justify-content: space-between;
    background-color: var(--second-color);
    width: 100%;
    padding: var(--padding-xl);
    text-align: center;
    border-radius: 10px;
    margin: 4rem 0;
}
.counts .number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--main-second-color);
}
.counts .title {
    color: #3f3f3f;
    font-size: 1.4rem;
}

/* ------------- about-us --------------- */
.app-about-us {
    position: relative;
}
.app-about-us .svg2 {
    position: absolute;
    top: 0;
    opacity: 0.2;
}
.about-us {
    display: flex;
    margin: 9rem 0 7rem 0;
    position: relative;
}
.about-us .svg {
    position: absolute;
    left: -91px;
    top: -70px;
    opacity: 0.2;
}

.about-us .images {
    width: 50%;
    position: relative;
}
.about-us .images img {
    width: 100%;
    position: absolute;
    border-radius: 10px;
    box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.64);
    -webkit-box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.64);
    -moz-box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.64);
}
.about-us .images img:first-child {
    left: 0;
    width: 500px;
}
.about-us .images img:last-child {
    left: 195px;
    top: 228px;
    width: 450px;
}
.about-us .content {
    width: 50%;
}
.about-us .content .title {
    font-size: 36px;
    font-weight: bold;
    color: var(--main-color);
    padding-bottom: 12px;
}
.about-us .content .subtitle {
    margin: var(--margin-md) 0 var(--margin-sm) 0;
    font-weight: 600;
    font-size: 24px;
}
.about-us .content p {
    font-weight: 500;
}
.about-us .how-to-serve {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding-top: 12px;
}
.about-us .how-to-serve .title-how-to-serve {
    font-weight: bold;
    margin-bottom: var(--margin-md);
}
.about-us .how-to-serve .item .header {
    display: flex;
    padding-bottom: 11px;
}
.about-us .how-to-serve .item .header h6 {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--main-color);
    font-size: 20px;
}
.about-us .how-to-serve .item p {
    color: #555;
}

.about-us .how-to-serve .know-us-more {
    background-color: var(--main-color);
    width: 30%;
    color: var(--white-color);
    text-align: center;
    padding: 17px 40px;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
    font-weight: bold;
}
.about-us .how-to-serve .know-us-more:hover {
    background-color: #da435d;
}
/* ------------------------advantage --------------------- */
.advantage {
    position: relative;
    margin-bottom: 25rem;
}
.advantage .title {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 3rem;
}
.advantage .top {
    display: flex;
    gap: 2%;
    background-color: var(--main-color);
}
.advantage .top .image {
    width: 49%;
}
.advantage .top .image img {
    width: 100%;
}
.advantage .top .text {
    width: 49%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.advantage .top .text svg {
    position: absolute;
    left: 0;
    opacity: 0.4;
}
.advantage .top .text h4 {
    color: var(--white-color);
    font-size: 2rem;
    font-weight: bold;
}
.advantage .top .text p {
    color: var(--white-color);
    font-size: 20px;
    width: 62%;
    padding: 1rem 0;
    line-height: 38px;
}
.advantage .bottom {
    position: absolute;
    bottom: -60px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.advantage .flex-bottom {
    display: flex;
    justify-content: center;
    text-align: center;

    width: 100%;
    gap: 2rem;
}
.advantage .bottom .item {
    background-color: #fff;
    padding: 13px;
    border-radius: 14px;

    width: 25%;
    box-shadow: 2px 5px 18px -4px rgba(0, 0, 0, 0.24);
    -webkit-box-shadow: 2px 5px 18px -4px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 2px 5px 18px -4px rgba(0, 0, 0, 0.24);
}
.advantage .bottom .item h4 {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
}

.advantage .bottom .item p {
    font-size: 16px;
    text-align: right;
    font-weight: 700;
    color: #5e5e5e;
    margin-top: 5px;
}

/* top-footer */
.top-footer {
    background: linear-gradient(to top, #821024, #b81f3aba);
    padding: 100px 0;
    position: relative;
}
.top-footer h4 {
    color: var(--white-color);
    font-size: 36px;
    width: 72%;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 67px;
}
.top-footer .contact-us-top-footer {
    background-color: var(--white-color);
    color: var(--main-color);
    padding: 10px 40px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 20px;
}
.top-footer img {
    position: absolute;
    left: 17px;
    width: 650px;
    top: -250px;
}

/* footer */
.footer {
    padding: 50px 0 0 0;
    background-color: #d5d5d5;
}
.footer .app-footer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.footer .app-footer .item h4 {
    margin-bottom: 25px;
    color: var(--main-color);
    font-weight: bold;
}
.footer .app-footer .info {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer .app-footer .info p {
    font-weight: bold;
}
.footer .app-footer .info img {
    width: 100%;
}
.footer .app-footer .social {
    text-align: center;
}
.footer .app-footer .social a {
    color: var(--main-color);
    font-size: 2rem;
}

.footer .app-footer .links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer .app-footer .links a {
    color: #000;
    text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.07);
    font-weight: 600;
}

.footer .app-footer .maps {
    width: 33%;
    text-align: center;
}
.footer .app-footer .maps iframe {
    width: 100%;
    height: 223px;
    border-radius: 10px;
    box-shadow: 10px 10px 38px -2px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 10px 10px 38px -2px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 10px 10px 38px -2px rgba(0, 0, 0, 0.12);
}

.footer .app-footer .socail ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer .app-footer .socail ul li small {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}
.footer .bk {
    background-color: var(--main-second-color);
    color: var(--white-color);
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
.footer .bk h4 {
    font-size: 1rem;
}
.footer .bk a{
    color: #fff;
}
.page-about-us .about-us {
    display: flex;
    justify-content: space-between;
    gap: 2%;
    margin: 30px 0;
}

.page-about-us .about-us .image {
    width: 49%;
}
.page-about-us .about-us .image img {
    width: 100%;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.1);
}
.page-about-us .about-us .content {
    width: 49%;
    background-color: var(--main-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 10px 13px 5px -11px rgba(0, 0, 0, 0.1);
}
.page-about-us .about-us .content h4 {
    font-weight: bold;
    position: relative;
    padding-right: 10px;
    padding-bottom: 29px;
    font-size: 32px;
}
/* .page-about-us .about-us .content h4::after {
    content: "|";
    position: absolute;
    right: 0;
} */
.page-about-us .about-us .content p {
    font-weight: bold;
    font-size: 20px;
    line-height: 43px;
}

.page-about-us .info {
    display: flex;
    gap: 2%;
    padding-top: 25px;
}
.page-about-us .info .left,
.page-about-us .info .right {
    width: 49%;
}
.page-about-us .info .left {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}
.page-about-us .info .left::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
}
.page-about-us .info .left .content {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 15px;
    z-index: 9999;
    color: #fff;
    box-shadow: 10px 10px 5px -11px rgba(0, 0, 0, 0.29);
}
.page-about-us .info .left .content h4 {
    font-size: 32px;
    line-height: 53px;
    font-weight: 700;
}
.page-about-us .info .left .content a {
    background-color: var(--main-color);
    width: 24%;
    padding: 18px 6px;
    color: var(--white-color);
    text-align: center;
    border-radius: 7px;
    transition: all 0.5s ease-in;
    font-weight: 700;
}
.page-about-us .info .left .content a:hover {
    background-color: var(--main-second-color);
}
.page-about-us .info .left .image {
    height: 100%;
}
.page-about-us .info .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about-us .info .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-about-us .info .item {
    background-color: #782130;
    color: var(--white-color);
    height: 330px;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 10px 10px 5px -11px rgba(0, 0, 0, 0.29);
}
.page-about-us .info .item h4 {
    background-color: #fff;
    color: var(--main-color);
    width: 29%;
    padding: 10px 39px;
    border-radius: 7px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 26px;
    font-size: 30px;
}
.page-about-us .info .item p {
    font-weight: 700;
    font-size: 20px;
    line-height: 41px;
}

.values {
    background-image: url(../images/values.jpg);
    background-size: cover;
    width: 100%;

    padding: 0 290px;
    height: 600px;
    position: relative;
    margin-top: 120px;
    background-position: center;
    overflow: hidden;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}
.values::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #740c1fcf;
}
.values .app-values {
    display: flex;
    flex-direction: row;
    top: 0;
    gap: 50px;
    height: 100%;
    position: absolute;
    z-index: 9999;
    margin: auto;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}
.values .image {
    width: 515px;
    height: 417px;
    border-radius: 10px;
    overflow: hidden;
}
.values .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.values .items {
    width: 60%;
    color: #fff;
}
.values .items h4 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 15px;
}
.values .items .item {
    margin: 0 0 12px 0;
    font-size: 18px;
}
.values .items .item h6 {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    display: flex;
    gap: 12px;
}
.values .items .item h6 span {
    width: 7px;
    height: 7px;
    background-color: #fff;
}
.values .items .item p {
    padding-right: 17px;
}

/* achievements */
.achievements {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 80px 0;
}
.achievements > h4 {
    text-align: center;
    font-weight: bold;
    font-size: 40px;
    padding-bottom: 15px;
}
.achievements .items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* مسافة بين العناصر */
}
.achievements .items .item {
    width: calc(100% / 3 - 14px); /* 3 في الصف */

    text-align: right;
    background-color: #730014;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 15px 55px 15px;
    color: var(--white-color);
    border-radius: 10px;
    box-shadow: 10px 10px 11px -11px rgba(0, 0, 0, 0.29);
}
.achievements .items .item h5 {
    font-weight: 600;
}
.achievements .items .item p {
    width: 70%;
    color: #e5e5e5;
}
.achievements .items .item .image {
    background-color: var(--white-color);
    width: 50px;
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.achievements .items .item img {
    width: 30px;
}

/* page-our-services */
.page-our-services .services {
    margin-top: 80px;
}
.page-our-services .services h4 {
    font-weight: bold;
    font-size: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 45px;
}
.page-our-services .items {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    margin-bottom: 80px;
}

.page-our-services .items .item {
    width: calc(100% / 3 - 2%);
    box-shadow: 10px 10px 11px -11px rgba(0, 0, 0, 0.59);
    border-radius: 15px;
    border: 1px solid #eee;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
}

.page-our-services .items .item:hover {
    transform: translateY(-30px); /* يطلع لفوق بخفة */
}

.page-our-services .items .item .image {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.page-our-services .items .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* يملأ الإطار بدون تشويه */
    object-position: center;
    display: block;
}
.page-our-services .items .item .image::after {
    content: "";
    left: 0;
    top: 0;
    position: absolute;
    background-color: #b81f3a3d;
    width: 100%;
    height: 100%;
}
.page-our-services .items .item .icon {
    background-color: #e6e6e6;
    width: 70px;
    height: 70px;
    margin: -30px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.page-our-services .items .item h6 {
    padding-top: 50px;
    font-size: 18px;
    padding-bottom: 15px;
}
.page-our-services .items .item p {
    font-size: 16px;
    padding-top: 10px;
    color: #3f3f3f;
    font-weight: 600;
}
.page-our-services .items .item .text {
    text-align: center;
    padding-bottom: 15px;
}

/* supplies */
.supplies {
    display: flex;
    flex-direction: row-reverse;
    gap: 55px;
    padding-bottom: 200px;
}

.supplies .images {
    width: 50%;
    display: flex;
    gap: 15px;
    flex-direction: row-reverse;
}

/* الصورة الكبيرة */
.supplies .images .left {
    flex: 1;
    position: relative;
}
.supplies .images .left::after {
    content: "";
    left: 0;
    top: 0;
    position: absolute;
    background-color: #b81f3a3d;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.supplies .images .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* العمود اليمين (صورتين فوق بعض) */
.supplies .images .right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 40%;
}

.supplies .images .right .image {
    height: 100%;
    position: relative;
}
.supplies .images .right .image::after {
    content: "";
    left: 0;
    top: 0;
    position: absolute;
    background-color: #b81f3a3d;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.supplies .images .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.supplies .content h4 {
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

    padding-bottom: 40px;
}
.supplies .content .item {
    padding-bottom: 48px;
}
.supplies .content .item h5 {
    font-size: 25px;
    font-weight: bold;
    display: flex;
    gap: 23px;
}

.supplies .content .item p {
    font-size: 18px;
    font-weight: bold;
    color: #3f3f3f;
    width: 68%;
}

.support-section {
    background: #7b0f25;
    padding: 50px 0;
}

.support-section .container {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row-reverse;
}

/* LEFT CONTENT */
.support-section .content {
    flex: 1;
    color: #fff;
    height: 566px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.support-section .content h2 {
    margin-bottom: 25px;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.support-section .content .box {
    padding: 15px;
    border-radius: 6px;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.support-section .content .box h4 {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: bold;
}

.support-section .content .box ul {
    margin: 0;
    padding-right: 18px;
}

.support-section .content .box li {
    font-size: 14px;
    color: #c5c5c5;
    font-weight: bold;
}

.support-section .content .box p {
    margin: 0;
    color: #c5c5c5;
    font-size: 14px;
    font-weight: bold;
}

.support-section .icon {
    background: #000;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* RIGHT IMAGE */
.support-section .image-box {
    width: 40%;
    padding: 10px;
    border-radius: 10px;
    height: 566px;
}

.support-section .image-box img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.categories-page .solutions-page {
    padding: 60px 0;
}

/* Intro */
.categories-page .intro {
    max-width: 900px;
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 2.6rem;
    font-weight: 600;


}
.categories-page .intro .highlight {
    color: #b81f3a;
}


/* Grid */
.categories-page .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card */
/* Card as Link */
.categories-page .item {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: -1px 7px 9px -6px rgba(0,0,0,0.55);
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
    position: relative;
    height: 188px;
    margin: 10px 0;
    display: block; /* Ensure it behaves like a block */
    color: inherit; /* Inherit text color */
    text-decoration: none; /* Remove underline */
}

.categories-page .item:hover {
    transform: translateY(-8px);
    border-bottom: 8px solid var(--main-color);
}

.categories-page .item:hover .view-link {
    color: var(--main-color);
}

/* Image */
.categories-page .item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    position: absolute;
    left: 15px;
    bottom: 0;
}

/* Text */
.categories-page .item h4 {
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000; /* Ensure title is black */
}

.categories-page .item .view-link {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.categories-page .item .text {
    position: absolute;
    top: 50%;
    left: 67%;
    transform: translate(-50%, -50%);
}
/* CTA */
.categories-page .item.cta {
    background: #fff;
    text-align: right;
}

.categories-page .item.cta h3 {
    color: var(--main-second-color);
    font-weight: bold;
}
.categories-page .item.cta p {
    font-weight: bold;
    padding: 10px 0;
}
.categories-page .item.cta button {
    margin-top: 10px;
    background: #b81f3a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .categories-page .items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-page .items {
        grid-template-columns: 1fr;
    }
}

/* app-products */
.products-page .products {
    margin-top: 100px;
}
.products-page .products h4 {
    text-align: center;
    font-weight: bold;
    font-size: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding-bottom: 60px;
}
.products-page .app-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ديسكتوب: 4 في الصف */
    gap: 50px;
    margin-bottom: 25px;
}
.products-page .app-products .product {
    text-align: center;
}
.products-page .app-products .product img {
    width: 200حء;
    height: 200px; /* ارتفاع ثابت */
    object-fit: cover; /* يملأ الإطار بدون تشويه */
    border-radius: 8px;
}

.products-page .app-products .product h5 {
    font-weight: bold;
}
.products-page .app-products .product p {
    font-weight: bold;
    padding: 30px 0;
}
.products-page .app-products .product a {
    background-color: var(--main-color);
    color: #fff;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 7px;
}

.products-page .app-load-more {
    width: 100%;
    margin: 90px 0;
    display: flex;
    justify-content: center;
}
.products-page .load-more {
    background-color: var(--main-color);
    color: #fff;
    padding: 16px 64px;
    border-radius: 10px 20px;
    font-weight: bold;
}

.contactus-page .wrapper {
    display: flex;
    margin: 80px 0;
    gap: 5%;
}
.contactus-page .wrapper .form {
    width: 55%;
}
.contactus-page .wrapper .form h4 {
    font-weight: bold;
    font-size: 36px;
}
.contactus-page .wrapper .form p {
    padding: 30px 0;
    width: 63%;
    font-weight: bold;
}
.contactus-page .wrapper .info {
    width: 40%;
    background-color: var(--main-color);
    color: #fff;
    padding: 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.contactus-page .wrapper .info .item {
    background-color: #fff;
    margin: 15px 0;
    padding: 21px 15px;
    color: var(--main-color);
    text-align: center;
    font-weight: bold;
    border-radius: 7px;
    box-shadow: 10px 10px 13px -8px rgba(0, 0, 0, 0.21);
    -webkit-box-shadow: 10px 10px 13px -8px rgba(0, 0, 0, 0.21);
    -moz-box-shadow: 10px 10px 13px -8px rgba(0, 0, 0, 0.21);
    transition: all 0.2s ease-in;
    cursor: pointer;
}
.contactus-page .wrapper .info .item:hover {
    background-color: var(--main-second-color);
    color: #fff;
}

.contactus-page .wrapper .info .social {
    text-align: center;
    padding: 35px 0;
}
.contactus-page .wrapper .info .social h4 {
    padding-bottom: 16px;
}
.contactus-page .wrapper .info .social a {
    display: inline-block; /* مهم جدًا */

    color: #fff;
    font-size: 2rem;
    transition: all 0.4s ease-in-out;
}
.contactus-page .wrapper .info .social a:hover {
    transform: rotate(360deg);
    color: var(--main-second-color);
}

.contactus-page .contact-form {
    width: 80%;
}

.contactus-page .inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.contactus-page .input label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contactus-page .input input,
.contactus-page .input textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid #bbb;
    outline: none;
    font-size: 14px;
    text-align: right;
    font-weight: bold;
}

.contactus-page .input textarea {
    border-radius: 20px;
    min-height: 140px;
    resize: none;
}

/* textarea عرض كامل */
.contactus-page .input.full {
    grid-column: 1 / -1;
}

/* زر الإرسال */
.contactus-page .send-btn {
    margin-top: 20px;
    background: #b81d2c;
    color: #fff;
    border: none;
    padding: 12px 80px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.4s ease-in-out;
}
.contactus-page .send-btn:hover {
    background-color: var(--main-second-color);
}
/* موبايل */
@media (max-width: 576px) {
    .contactus-page .inputs {
        grid-template-columns: 1fr;
    }

    .contactus-page .send-btn {
        width: 100%;
        float: none;
    }
}

.products-details .info-product {
    display: flex;
    flex-direction: row-reverse;
    gap: 5%;
}
.products-details .info-product .image {
    width: 40%;
}
.products-details .info-product .content {
    width: 55%;
}
.products-details .info-product .image img {
      width: 475px;
    height: 475px;
    object-fit: contain;
}

.products-details .info-product .content h2 {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    color: var(--main-second-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.products-details .info-product .content .text {
    padding-top: 50px;
}
.products-details .info-product .content .text ul {
    list-style: disc !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-weight: bold;
}

.products-details .run-video {
    background-color: #555;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 20px;
    margin: 140px 0;
    position: relative;
    min-height: 400px;
    overflow: hidden;
    box-shadow: 10px 10px 53px -28px rgba(99, 14, 29, 0.26);
    -webkit-box-shadow: 10px 10px 53px -28px rgba(99, 14, 29, 0.26);
    -moz-box-shadow: 10px 10px 53px -28px rgba(99, 14, 29, 0.26);
}
.products-details .run-video img {
    width: 300px;
    height: 300px;
    object-fit: contain;
}
.products-details .run-video h4 {
    color: var(--white-color);
    font-size: 40px;
    font-weight: bold;
}
.products-details .run-video .playvideo {
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translateX(-50%);
    transform: translateY(-50%);
    background-color: var(--main-color);
    color: #fff;
    border: none;
    padding: 28px 62px;
    border-radius: 15px;
    font-size: 34px;
    border-radius: 15px;
    transition: all 0.5s ease-in-out;
}
.products-details .run-video .playvideo:hover {
    background-color: var(--main-second-color);
}
.youtube-video {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.download-catalog {
    background-color: var(--main-color);
    padding: 15px 20px;
    display: block;
    width: 50%;
    margin: 20px auto;
    border-radius: 5px;
    color: #fff;
}

/* Specialist Popup Styles */
.specialist-modal-content {
    background: linear-gradient(135deg, #fff 0%, #ffe3d8 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    overflow: hidden;
}

.specialist-icon {
    color: var(--main-color);
    animation: bounceIn 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.specialist-title {
    color: var(--main-second-color);
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.4;
}

.specialist-text {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 600;
    padding: 0 10px;
}

.btn-main {
    background-color: var(--main-color);
    color: #fff;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(184, 31, 58, 0.3);
}

.btn-main:hover {
    background-color: var(--main-second-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 31, 58, 0.4);
}

.btn-contact {
    background-color: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--main-color);
    color: #fff;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  20% { transform: scale(1.1); }
  40% { transform: scale(0.9); }
  60% { transform: scale(1.03); opacity: 1; }
  80% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

/* Empty State Animations */
.empty-state-icon i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
