/* General Styles */
body {
    margin: 0;
    font-family:  "Montserrat", sans-serif;
}


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #ff7f00;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }
  
  @keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
  
  @keyframes scaleUp {
    from { transform: scale(0); }
    to { transform: scale(1); }
  }
  
  
  
  /* Initial States */
  .hidden {
    opacity: 0;
    transform: translateX(0);
  }

/* Base styles for all devices */
a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.top-bar {
    background-color: #ff4500;
    color: white;
    padding: 5px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .social-icons {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.top-bar .social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}

.top-bar .social-icons a:hover {
    color: #ffcc00;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .top-bar {
        justify-content: center;
        text-align: center;
    }
    
    .top-bar .social-icons {
        justify-content: center; 
    }
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
}

.logo-container {
    flex: 1;
}

.logo {
    height: 140px;
    cursor: pointer;
}

nav {
    flex: 2;
}

.nav-links {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

.nav-links li {
    position: relative;
    margin: 0 10px;
}

.nav-links a {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    padding: 10px;
    transition: color 0.3s;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ff4500;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 20px;
    flex-direction: row;
}

.dropdown-column {
    margin-right: 20px;
    width: 200px;
}

@media (max-width: 480px) {
    .dropdown-column {
        margin-right: 20px;
        width: auto;
    }
}


.dropdown-column h3 {
    margin-top: 0;
    background-color: #ff4500;
    color: white;
    padding: 10px;
    font-size: 13px;
    border-radius: 4px;
}

.dropdown-column a {
    color: black;
    padding: 8px 0;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-column a:hover {
    background-color: #f1f1f1;
    color: #ff4500;
}

.dropdown-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.search-bar {
    flex: 2;
    display: flex;
    align-items: center;
}

.search-bar input[type="text"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input[type="text"]:focus {
    border-color: #ff4500;
}

.search-bar button {
    background-color: #ff4500;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #e03e00;
}

.search-bar button i {
    color: white;
    font-size: 16px;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    margin-left: 10px;
}

.hamburger-menu {
    display: none;
    font-size: 40px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .logo {
        height: 130px;
    }

    .hamburger-menu {
        display: block;
        margin-bottom: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .hamburger-menu.active + nav .nav-links {
        display: flex;
    }

    .dropdown-content {
        position: static;
        min-width: 100%;
        padding: 10px;
        box-shadow: none;
    }

    .search-bar {
        width: 100%;
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
    }

    .search-bar input[type="text"] {
        width: 80%;
        border-radius: 4px 0 0 4px;
    }

    .search-bar button {
        width: 20%;
        border-radius: 0 4px 4px 0;
    }
}


.new-main-banner-slider .new-main-banner-image {
    text-align: end;
    padding: 0;
    position: relative;
}

.new-main-banner-slider .new-main-banner-image img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 5px !important;
    opacity: 1 !important; /* إزالة تأثير الشفافية */
}

.new-main-banner-slider .banner-text {
    position: absolute !important;
    top: 70% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #fff !important;
    text-align: center !important;
    z-index: 1 !important;
    opacity: 1;
}

.new-main-banner-slider .banner-text .btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    background-color: #ff7f00 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease-in-out;
}

.new-main-banner-slider .banner-text .btn:hover {
    background-color: #ff6600 !important;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: left;
    font-size: 36px;
}



.products-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    text-align: left;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    margin-left:25px;
}

.products-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 100%;
    height: 5px;
    background-color: #ffd700; /* خط سفلي ذهبي */
    z-index: -1;
    opacity: 0.5;
    border-radius: 3px;
}


.tabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    margin-left: 25px;
}

.tab {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 0;
}

.tab.active {
    background-color: #ff7f00;
    color: #fff;
}

.product-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-left:25px;
}


.products-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    flex: 1 1 calc(33.333% - 40px);
    max-width: calc(33.333% - 40px);
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    box-sizing: border-box;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
    cursor: zoom-in;
}


.product img:active {
    transform: scale(1.5);
    transition: transform 0.3s ease-in-out;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    transition: color 0.3s ease-in-out;
}

.product:hover .product-name {
    color: #ff7f00;
}




@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        gap: 5px;
    }

    .tab {
        padding: 10px;
        text-align: center;
    }

    .product-list {
        flex-direction: column;
        padding-bottom: 10px;
    }

    .products-container {
        flex-direction: column;
        gap: 10px;
    }

    .product {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 15px;
    }

    .product img {
        width: 100%;
    }
}




.view-all {
    display: block;
    width: auto;
    margin: 20px auto;
    padding: 12px 25px;
    background: linear-gradient(90deg, #000, #555);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: bold;
}

.view-all:hover {
    background: linear-gradient(90deg, #444, #888);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


h2 {
    text-align: left;
    font-size: 32px;
    margin-top: 40px;
}

.highlights-title {
    font-size: 36px;
    font-weight: bold;
    color: #000; /* لون أسود */
    text-align: left;
    margin-bottom: 20px;
    margin-left: 23px;
    position: relative;
    display: inline-block;
}

.highlights-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 100%;
    height: 5px;
    background-color: #ffd700; /* خط سفلي ذهبي */
    z-index: -1;
    opacity: 0.5;
    border-radius: 3px;
}


.highlights {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.highlight {
    flex: 1 1 calc(33.333% - 40px);
    max-width: calc(33.333% - 40px);
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    box-sizing: border-box;
}

.highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.highlight img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
    cursor: zoom-in;
}


.highlight h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    transition: color 0.3s ease-in-out;
}

.highlight:hover h3 {
    color: #ff7f00;
}

.highlight p {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}




@media (max-width: 768px) {
    .highlights {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .highlight {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 15px;
    }

    .highlight img {
        width: 100%;
        height: auto;
    }

    .highlight h3 {
        font-size: 16px;
    }

    .highlight p {
        font-size: 12px;
    }
}



.brand-title {
    font-size: 36px;
    font-weight: bold;
    color: #000; /* لون أسود */
    text-align: left;
    margin-bottom: 20px;
    margin-left: 23px;
    position: relative;
    display: inline-block;
}



.brand-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 100%;
    height: 5px;
    background-color: #ffd700; /* خط سفلي ذهبي */
    z-index: -1;
    opacity: 0.5;
    border-radius: 3px;
}


.brands {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding: 20px;
}

.brand {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.brand img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid #ccc;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.brand img:hover {
    transform: scale(1.1);
}

.brand p {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .brand {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .brand img {
        width: 110px;
        height: 110px;
    }

    .brand p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .brands {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 10px;
    }

    .brand {
        width: 90%;
        max-width: 350px;
    }

    .brand img {
        width: 110px;
        height: 110px;
    }

    .brand p {
        font-size: 12px;
    }
}



footer {
    background-color: #333;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 20px;
}

.footer-section h3 {
    color: #ff4500;
    margin-bottom: 20px;
}

.footer-section p, .footer-section a {
    color: #fff;
    margin: 5px 0;
    font-size: 14px;
}

.footer-section p i {
    margin-right: 8px;
    color: #ff4500;
}

.footer-section li i {
    margin-right: 8px;
    color: #ff4500;
}

.footer-section a {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-section form {
    display: flex;
    margin-top: 10px;
}

.footer-section form input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    flex: 1;
}

.footer-section form button {
    padding: 10px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: #ff4500;
    color: #fff;
    cursor: pointer;
}

.footer-bottom {
    background-color: #222;
    padding: 10px 0;
    text-align: center;
    font-size: 11px;
}

.footer-bottom a {
    color: #ff4500;
    margin: 0 5px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 90%;
        margin: 10px 0;
        padding: 20px;
    }

    .footer-section h3 {
        font-size: 20px;
    }

    .footer-section p, .footer-section a {
        font-size: 12px;
    }

    .footer-section form {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-section form input[type="email"] {
        margin-bottom: 10px;
        border-radius: 4px;
    }

    .footer-section form button {
        width: 100%;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 20px;
    }

    .footer-section p, .footer-section a {
        font-size: 18px;
    }

    .footer-bottom {
        padding: 10px 0;
        font-size: 16px;
    }
}


.container {
    padding: 20px;
}

.company-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between flex items */
    margin-bottom: 40px;
}

.company-video {
    flex: 1;
    min-width: 300px;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.company-description {
    flex: 2;
    min-width: 300px;
}

.company-description p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.company-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat span {
    display: block;
    font-size: 48px;
    color: #ff4500;
    font-weight:bold;
}

.stat p {
    font-size: 16px;
    color: #333;
}

.company-history {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.company-history p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

a {
    color: #ff4500;
    text-decoration: none !important;
}

a:hover {
    text-decoration: underline;
}

.company-profile {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #ff4500;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.company-profile:hover {
    background-color: #444;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 20px); /* 3 items per row with gap */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}



.gallery-item img:hover {
    transform: scale(1.05);
}

/* Media Queries for smaller screens */
@media (max-width: 1024px) {
    .company-content {
        flex-direction: column;
    }
    
    .company-description, .company-video {
        min-width: 100%;
    }

    .company-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .company-description p {
        font-size: 17px;
    }
    
    .company-history p {
        font-size: 17px;
    }

    .company-profile {
        width: 100%;
        padding: 15px;
    }
    
    .gallery-item {
        flex: 1 1 calc(50% - 20px); /* 2 items per row with gap */
    }
}

@media (max-width: 480px) {
    .company-description p {
        font-size: 17px;
    }
    
    .company-history p {
        font-size: 17px;
    }
    
    .company-profile {
        padding: 12px;
        font-size: 14px;
    }
    
    .gallery-item {
        flex: 1 1 100%; /* 1 item per row */
    }
}

.container-product {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sidebar {
    width: 250px;
    background-color: #fff;
    padding: 20px;
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.filter-section {
    margin-top: 20px;
}

.filter-category h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.filter-item {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.filter-item.active {
    border-color: #ff4500;
    color: #ff4500;
}

.remove-filter {
    color: #ff4500;
    margin-left: 10px;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.main-content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #ff4500;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.product-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: calc(50% - 10px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}


.product-card h3 {
    font-size: 20px;
    color: #ff4500;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: #e03e00;
}

.product-card p {
    font-size: 16px;
    color: #666;
}

/* إزالة الخطوط أسفل النص */
.product-card h3 a,
.product-card p a {
    text-decoration: none;
}

.product-card:hover h3,
.product-card:hover p {
    text-decoration: none;
}

@media (max-width: 768px) {
    .product-card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 90%;
        margin-bottom: 20px;
    }
}




@media (max-width: 768px) {
    .container-product {
        flex-direction: column;
        padding: 10px;
    }

    .sidebar {
        width: 90%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .main-content {
        width: 90%;
    }

    .product-grid {
        flex-direction: column;
        gap: 10px;
    }

    .product-card {
        width: 90%;
        margin-bottom: 10px;
    }

    .product-card img {
        max-width: 100%;
        height: auto;
    }
}




.compare {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.compare input[type="checkbox"] {
    margin-right: 5px;
}

.container-productDetails {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sidebar-productDetails {
    width: 250px;
    background-color: #fff;
    padding: 20px;
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-productDetails h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.accordion-item {
    border-top: 1px solid #ddd;
}

.accordion-item button {
    display: block;
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.accordion-item button[aria-expanded="true"] {
    background-color: #f0f0f0;
}

.accordion-item button::after {
    content: '\002B';
    float: right;
}

.accordion-item button[aria-expanded="true"]::after {
    content: '\2212';
}

.accordion-item button:focus {
    outline: none;
}

.sidebar-productDetails ul {
    list-style: none;
    padding: 0;
}

.sidebar-productDetails ul li {
    margin: 5px 0;
}

.sidebar-productDetails ul li:hover {
    color: #ff4500;
}

.main-content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #ff4500;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 20px;
}

.product-image-slider {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 20px;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.product-image img {
    width: 100%;
    height: 80%;
    display: none;
}

.product-image img:first-child {
    display: block;
}


@media (max-width: 768px) {
    .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 37% !important;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 7px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
}

@media (max-width: 480px) {
    .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 37% !important;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 7px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
}


@media (max-width: 768px) {
.next {
    right: 27px !important;
    border-radius: 3px 0 0 3px;
}
}


@media (max-width: 480px) {
.next {
    right: 27px;
    border-radius: 3px 0 0 3px;
}
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 23%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 7px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 40px;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.product-info {
    flex: 1;
}

.product-info h1 {
    font-size: 24px;
    color: #ff4500;
    margin-bottom: 20px;
}

.product-info p {
    font-size: 16px;
    margin-bottom: 20px;
}

.product-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.product-info ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.product-info table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.product-info table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.compare-button {
    padding: 10px 20px;
    background-color: #ff4500;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.compare-button:hover {
    background-color: #e03e00;
}

.additional-resources {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.resource-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 14px;
    color: #ff4500;
}

.resource-card:last-child {
    margin-right: 0;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}


.related-product-card {
    flex: 1 1 calc(33.333% - 40px);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.related-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.related-product-card {
    flex: 1 1 calc(33.333% - 20px); /* لضمان عرض 3 بطاقات في الصف الواحد */
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    height: 0;
    padding-bottom: 75%; 
    overflow: hidden;
    border-radius: 8px;
    background-color: #f9f9f9;
    position: relative;
}

.related-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}


.related-product-card h3 {
    font-size: 18px;
    color: #ff4500;
    margin-bottom: 10px;
}

.related-product-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .related-product-card {
        flex: 1 1 calc(50% - 20px); 
    }
}

@media (max-width: 480px) {
    .related-product-card {
        flex: 1 1 100%; 
    }
}



@media (max-width: 768px) {
    .container-productDetails {
        flex-direction: column;
        padding: 10px;
    }

    .sidebar-productDetails {
        width: 90%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .product-details {
        flex-direction: column;
    }

    .product-image-slider {
        width: 100%;
        margin-bottom: 20px;
    }

    .product-info h1 {
        font-size: 20px;
    }

    .product-info p {
        font-size: 14px;
    }

    .product-info table td {
        padding: 8px;
    }

    .additional-resources {
        flex-direction: column;
        gap: 10px;
    }

    .resource-card {
        width: 90%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .related-products {
        flex-direction: column;
        gap: 20px;
    }

    .related-product-card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .product-info h1 {
        font-size: 18px;
    }

    .product-info p {
        font-size: 14px;
    }

    .resource-card img {
        width: 40px;
        height: 40px;
    }

    .related-product-card img {
        width: 100%;
    }

    .related-product-card h3 {
        font-size: 14px;
    }

    .related-product-card p {
        font-size: 12px;
    }
}




.containerContact {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.contact-details {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-details h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

button {
    padding: 10px 20px;
    background-color: #ff4500;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #e03e00;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #ff4500;
    text-decoration: none;
}

contact-info a:hover {
    text-decoration: underline;
}

.location-map {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.download-app-section {
    display: flex;
    flex-direction: column; /* تغيير الاتجاه العمودي على الشاشات الصغيرة */
    align-items: center;
    background-color: #ff4500;
    color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.content {
    margin-bottom: 20px;
}

.content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.content p {
    font-size: 18px;
}




@media (max-width: 768px) {
    .containerContact {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .contact-details,
    .location-map {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        max-width: 97%;
    }
}




.app-buttons {
    display: flex;
    flex-direction: row; /* الاتجاه الأفقي على الشاشات الكبيرة */
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.app-button img {
    width: 150px;
    height: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .download-app-section {
        flex-direction: column;
    }

    .content h3 {
        font-size: 20px;
    }

    .content p {
        font-size: 16px;
    }

    .app-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .app-button img {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .content h3 {
        font-size: 20px;
    }

    .content p {
        font-size: 17px;
    }

    .app-button img {
        width: 120px;
    }
}


/* Media Queries for Responsiveness */

/*
@media (max-width: 1200px) {
    .container, .footer-container {
        max-width: 100%;
        padding: 10px;
    }
    .product-grid, .related-products {
        gap: 10px;
    }
    .product-card, .related-product-card {
        width: calc(50% - 10px);
    }
    .gallery-item {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 992px) {
    .header-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-bar, .social-icons {
        width: 100%;
        justify-content: space-between;
    }
    .search-bar input[type="text"] {
        width: 70%;
    }
    .product-grid, .related-products {
        gap: 5px;
    }
    .product-card, .related-product-card {
        width: calc(100% - 5px);
    }
    .gallery-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }
    .dropdown-content {
        position: static;
        display: block;
        padding: 0;
    }
    .dropdown-column {
        width: 100%;
        margin-right: 0;
    }
    .header-main {
        padding: 10px;
    }
    .product, .brand {
        width: 48%;
    }
    .highlight {
        width: 48%;
    }
}


@media (max-width: 576px) {
    .top-bar, .header-main, .container, .footer-container {
        padding: 5px;
    }
    .logo {
        height: 80px;
    }
    .nav-links {
        display: none;
    }
    .search-bar input[type="text"] {
        width: 60%;
    }
    .product, .brand, .highlight {
        width: 100%;
    }
    .tabs {
        flex-direction: column;
    }
    .tab {
        margin-bottom: 10px;
    }
}
*/


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #fff;
        padding: 20px 0;
        position: absolute;
        top: 100%; /* مباشرة تحت الشعار */
        left: 0;
        right: 0;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px;
        color: #333;
        padding: 10px;
        width: 100%;
        display: block;
        transition: background-color 0.3s, color 0.3s;
        border-radius: 5px;
    }

    .nav-links a:hover {
        background-color: #ff4500;
        color: #fff;
    }

    .hamburger-menu.active + nav .nav-links {
        display: contents;
    }
}


.social-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px 0 0 5px;
    z-index: 999;
    text-align: center;
}

.social-icon {
    display: block;
    width: 40px;
    height: 40px;
    margin: 10px 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s;
}



.facebook {
    background-image: url('path/to/facebook-icon.png'); /* ضع هنا رابط أيقونة الفيسبوك */
}

.twitter {
    background-image: url('path/to/twitter-icon.png'); /* ضع هنا رابط أيقونة تويتر */
}

.instagram {
    background-image: url('path/to/instagram-icon.png'); /* ضع هنا رابط أيقونة إنستاجرام */
}

.linkedin {
    background-image: url('path/to/linkedin-icon.png'); /* ضع هنا رابط أيقونة لينكدإن */
}
