body {
    margin: 0px;
    font-family: 'Tajawal', sans-serif;
}

.nav-hover {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav {
    display: flex;
    gap: 20px;
}

.navbar-toggler {
    font-size: 16px !important;
    border: 2px solid orange !important;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 0 10px rgba(250, 183, 0, 0.5);
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50px;
    width: 60px;
}
.navbar-toggler a{
    font-size: 16px ;
}
.navbar-brand img{
    width: 90px;
    height: auto;
}

.navbar-toggler span {
    display: block;
    width: 100%;
    height: 6px;
    background-color: white;
    border-radius: 2px;
}

.navbar a {
    color: white !important;
    font-size: 23px;
    font-weight: 500;
}


.top-bar {
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    transition: top 0.5s, opacity 0.5s;
}

.top-bar.hidden {
    top: -100px;
    opacity: 0;
    position: fixed;
    width: 100%;
    z-index: 1020;
}

.navbar {
    background-color: #19283B !important;
}
.navbar a:lang(ar),
.dropdown-menu a:lang(ar) {
  font-size: 16px !important; 
  font-weight: 600;           
}

.navbar a:lang(en) {
  font-size: 16px !important; 
  font-weight: 700;
}


.top-bar .bg-dark {
    background-color: #cc8b1e !important;
}

.nav-hover::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #cc8b1e;
    transition: width 0.3s;
}

.bar-ar a {
    font-family: 'Tajawal', sans-serif;
}

.nav-hover:hover::after {
    width: 100%;
}

.nav-hover:hover {
    color: #cc8b1e !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.5s ease-in-out forwards;
    margin-top: 0;
}

.dropdown-menu a {
    font-size: 15px;
    color: #19283B !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.custom-dropdown {
    font-size: 10px;
    border: none;
    border-radius: 10px;
    padding: 10px;
    background-color: #fff;
}

.dropdown-item {
    color: #19283B !important;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.dropdown-item:hover {
    background-color: #cc8b1e;
    color: #fff !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icons a {
    font-size: 16px !important;
    color: #19283B;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons a {
    font-size: 30px;
}

.social-icons a.facebook:hover {
    color: #1877f2 !important;
}

.social-icons a.instagram:hover {
    color: #E4405F !important;
}

.social-icons a.youtube:hover {
    color: #FF0000 !important;
}

.slid-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-item {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    z-index: 2;
    background: transparent;
    border-radius: 10px;
    padding: 20px 30px;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.animate-text h3 {
    animation: slideUp 1s ease-in-out;
}

.animate-text a {
    animation: slideDown 1s ease-in-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption h3 {
    font-size: 50px;
    font-weight: bold;
    color: white;
}

.carousel-caption p {
    font-size: 1.5rem;
    color: #f0f0f0;
}

.carousel-caption a.btn {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    background-color: orange;
    color: white;
    border: none;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.carousel-caption a.btn:hover {
    background-color: darkorange;
    transform: scale(1.1);
}

.slid-item img {
    animation: zoomIn 8s ease-in-out infinite;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #cc8b1e;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .carousel-caption {
        left: 5%;
        width: 90%;
    }

    .carousel-caption h3 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .carousel-caption a.btn {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        left: 5%;
        text-align: left;
        width: 90%;
    }

    .carousel-caption h3 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption a.btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.section-title {
    font-size: 50px !important;
    font-weight: 900;
    color: black;
    position: relative;
    display: inline-block;
}

.about-section p {
    font-size: 18px;
    line-height: 1.9;
}

.underline {
    width: 380px;
    height: 5px;
    background-color: #ffc107;
    border-radius: 3px;
    margin-top: 10px;
}

.about p {
    font-size: 2.1rem;
    line-height: 1.7;
    color: #555;
}

.about-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100%;
    background: linear-gradient(135deg, #19283B, #cc8b1e);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-section-ar {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100%;
    background: linear-gradient(135deg, #cc8b1e, #19283B);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.about-section-ar a {
    font-size: 15px;
    padding: 10px 15px;
}

.about-section-ar h5 {
    font-size: 20px;
    color: #19283B;
    font-weight: 700;
}

.about-section-ar p {
    font-size: 15px;
    line-height: 1.9;
}


.about-section h2 {
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.underline {
    width: 280px !important;
    height: 4px;
    background-color: #cc8b1e;
}

.custom-btn {
    margin-bottom: 10px;
    background-color: #cc8b1e;
    color: #ffffff;
    border: 2px solid transparent;
    border-radius: 0 !important;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.custom-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ffffff;
    z-index: 0;
    transition: width 0.5s ease;
}

.custom-btn:hover::before {
    width: 100%;
}

.custom-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.custom-btn:hover span {
    color: #cc8b1e;
}

.about-img {
    border: 5px solid #cc8b1e;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

.phone-link {
    color: white;
}

.phone-link:hover {
    color: #ddd;
}

.products-section {
    padding: 20px;
    margin: 0 !important;
    background-color: #cc8b1e;
}

.products-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.product-card {
    width: calc((100% / 3) - 20px);
    min-width: calc((100% / 3) - 20px);
    height: 400px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    overflow: hidden;
    flex: 0 0 auto;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.product-card img {
    width: 100%;
    height: 65%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card h5 {
    text-align: center;
    margin: 15px 0 10px 0;
    font-weight: bold;
    color: #19283B;
    font-size: 1.8rem;
    padding: 0 10px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background: rgba(128, 128, 128, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: scale(1.05);
}

.icon-link {
    color: #fff;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 12px;
    border: 2px solid #fff;
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
    transition: all 0.4s ease;
    text-decoration: none;
}

.product-card:hover .icon-link {
    opacity: 1;
    transform: scale(1.2) rotate(360deg);
}

.icon-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.4) rotate(720deg);
}

.carousel-btn {
    background: linear-gradient(45deg, #ff7e00, #ffae42);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-btn:hover {
    background: linear-gradient(45deg, #ffae42, #ff7e00);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

@media (max-width: 768px) {
    .product-card {
        width: 95%;
        min-width: 95%;
        max-width: 95%;
        height: 400px;
    }

    .product-card img {
        height: 250px;
    }

    .product-card h5 {
        font-size: 2rem;
        padding: 8px 15px;
    }
}

.projects-section {
    background-color: #19283B;
    margin: 0px !important;
    padding: 20px
}

.section-title-project {
    color: white;
    font-size: 45px;
    font-weight: 800;
}

.contact-section {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 60px 20px;
}

.contact-img {
    max-width: 80%;
}

.contact-form .custom-input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .custom-input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

.contact-form {
    max-width: 100%;
    width: 100%;
    min-height: 600px;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.custom-input textarea {
    resize: vertical;
    min-height: 40px;
    font-size: 16px;
}

.contact-form {
    resize: vertical;
    min-height: 140px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.custom-btn:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}

.underline {
    width: 50px;
    height: 4px;
    background-color: #ffc107;
    border-radius: 2px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    background: linear-gradient(90deg, #ffb400, #ff5733);
    transition: width 0.4s;
    bottom: -4px;
    left: 0;
}

.footer-link:hover {
    color: #ffb400;
    text-shadow: 0 0 8px #ffb400;
}

.footer-link:hover::after {
    width: 100%;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
    position: relative;
}

.social-icons a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffb400, #ff5733);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.social-icons a:hover {
    color: #ffb400;
    transform: scale(1.3) rotate(8deg);
    text-shadow: 0 0 10px #ffb400;
}

.social-icons a:hover::after {
    width: 50%;
}

.map-container {
    width: 100%;
    height: 200px;
    border: 2px solid #ffb400;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 180, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-banner {
    background: linear-gradient(to right, #19283B, #cc8b1e);
    border-radius: 0 0 30px 30px;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #cc8b1e;
    box-shadow: 0 0 0 0.2rem rgba(255, 180, 0, 0.25);
}

.hover-box {
    transition: background 0.3s ease, color 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.hover-box:hover {
    background-color: #cc8b1e;
    color: #19283B;
    cursor: pointer;
}

.hover-box:hover i {
    color: #000 !important;
}

.custom-btn {
    background-color: #cc8b1e;
    border-color: #cc8b1e;
    color: #fff;
    border-radius: 10px !important;
    transition: 0.3s;
}

.custom-btn:hover {
    background-color: #cc8b1e;
    border-color: #cc8b1e;
    color: #19283B !important;
}

.contact-info i {
    color: #cc8b1e;
    transition: 0.3s;
}

.contact-info {
    background-color: #19283B !important;
    color: #fff;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.map-container {
    padding-bottom: 30px;
}

.map-embed {
    width: 100%;
    height: 900px !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: 4px solid #ffb400;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

:root {
    --main-orange: #ff7a00;
    --main-bg: #fffaf3;
    --title-color: #fff;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

.product-title {
    background: var(--main-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.about-banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-banner-ar {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.about-banner-ar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-banner-ar .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.575); /* طبقة شفافه */
    z-index: 1;
}

.about-banner-ar .about-content {
    position: absolute;
    top: 50%;
    right: 5%; /* محاذاة لليمين */
    transform: translateY(-50%);
    text-align: right;
    color: #fff;
    z-index: 2;
}

.about-banner-ar .about-content h1 {
    font-size: 58px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.about-banner-ar .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.about-banner-ar .breadcrumb .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.about-banner-ar .breadcrumb .breadcrumb-item.active {
    color: #ddd; /* لون مختلف للصفحة الحالية */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.about-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
}

.about-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative; /* علشان ::before يشتغل مظبوط */
}

.about-banner-ar h1{
        font-size: 4rem !important;

}
.breadcrumb {
    background: transparent;
}

.breadcrumb-link {
    color: #ffd35c;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #ddd;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #ffd35c;
}

@media (max-width: 768px) {
    .about-content h1 {
        font-size: 2rem;
    }
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    font-size: 2rem;
    transition: opacity 0.4s ease;
    text-decoration: none;
}

.img-wrapper:hover .img-overlay {
    opacity: 1;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .img-wrapper img {
        height: 200px;
    }
}

.show .video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.show p {
    color: #000;
    font-size: 16px;
}

.main-video {
    margin-top: 40px;
    width: 80%;
    position: relative;
    text-align: center;
}

.main-video video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: #000;
}

/* قائمة الفيديوهات */
.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    width: 80%;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.video-item video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.video-item:hover video {
    transform: scale(1.05);
}

.video-title {
    margin-top: 8px;
    font-size: 1rem;
    color: #333;
    text-align: center;
}

/* موبايل */
@media (max-width: 768px) {
    .main-video {
        width: 100%;
    }

    .video-item video {
        height: 200px;
    }
}

.product-card {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.6s cubic-bezier(.19, 1, .22, 1), box-shadow 0.6s cubic-bezier(.19, 1, .22, 1);
    width: 360px;
    /* عرض أكبر شوية */
    max-width: 100%;
    margin: auto;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.product-card img {
    transition: transform 1s cubic-bezier(.19, 1, .22, 1);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    backdrop-filter: blur(3px);
    transition: opacity 0.6s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.custom-control {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    /* خلفية فاتحة شفافة */
    backdrop-filter: blur(6px);
    /* زجاجي */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.4s ease, transform 0.4s ease;
}

.custom-control i {
    font-size: 1.6rem;
    color: #fff;
}

.custom-control:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.12);
}

.project-card {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.6s cubic-bezier(.19, 1, .22, 1), box-shadow 0.6s cubic-bezier(.19, 1, .22, 1);
    width: 360px;
    max-width: 100%;
    margin: auto;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.projects-section .section-title {
    color: #fff;
}

.project-card img {
    transition: transform 1s cubic-bezier(.19, 1, .22, 1);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    backdrop-filter: blur(3px);
    transition: opacity 0.6s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.custom-control-projects {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.4s ease, transform 0.4s ease;
}

.custom-control-projects i {
    font-size: 1.6rem;
    color: #fff;
}

.custom-control-projects:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.12);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-in-out;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

.products-section .product-card {
    position: relative;
    width: 350px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.products-section .product-card img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.products-section .product-card h5 {
    margin: 5px 0;
    font-size: 16px;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5px;
}

.products-section .product-link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.products-section .overlay-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-section .overlay-icon i {
    color: #fff;
    font-size: 16px;
}

.projects-section .product-card {
    position: relative;
    width: 350px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.projects-section .product-card img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.projects-section .product-card h5 {
    margin: 5px 0;
    font-size: 16px;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5px;
}

.projects-section .product-link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.projects-section .overlay-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-section .overlay-icon i {
    color: #fff;
    font-size: 16px;
}

.text {
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f9f6f1);
    padding: 50px 20px;
    border-radius: 15px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.185);
    max-width: 900px;
    margin: 50px auto;
}


.text h1 {
    display: inline-block;
    position: relative;
    color: #cc8b1e;
    font-size: 42px;
    font-weight: bold;
    margin: 0 auto 25px;
}

.text h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: #cc8b1e;
    margin: 10px auto 0;
    border-radius: 2px;
}

.text p {
    direction: rtl;
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin: 0 auto;
    text-align: justify;
}

.text ul {
    direction: rtl;
    margin: 20px 40px;
    padding: 0;
    list-style: none;
}

.text ul li {
    font-size: 18px;
    margin-bottom: 12px;
    padding-right: 25px;
    position: relative;
}

.text ul li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: #cc8b1e;
    font-weight: bold;
}

.highlight {
    color: #cc8b1e;
    font-weight: bold;
    font-size: 19px;
    background: #fff;
    padding: 2px 6px;
    border-radius: 6px;
}

#whatsapp {
  position: fixed;
  bottom: 20px;   /* المسافة من أسفل الشاشة */
  right: 20px;    /* المسافة من يمين الشاشة */
  background-color: #25D366; /* لون واتساب */
  color: white;
  font-size: 28px;
  padding: 10px;
  border-radius: 10%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 9999; /* يفضل فوق أي عنصر */
  text-decoration: none;
  transition: 0.3s;
}

#whatsapp:hover {
  background-color: #20b954;
}




























