/* Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,600');


body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Droid Arabic Kufi', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary: #c13446;
    --secondary: #76b849;
}
/* Loading screen styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #c13446;
    -webkit-mask:
      repeating-conic-gradient(#0000 0deg,#000 1deg 70deg,#0000 71deg 90deg),
      radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
            mask-composite: intersect;
    animation: l5 1s infinite;
}

@keyframes l5 {to{transform: rotate(.5turn)}}
/* Hide loading screen when JavaScript is loaded */
.loaded .loading-screen {
    display: none;
}
  .loader-hidden {
    display: none;
} 

/* Hide loading screen when JavaScript is loaded */
.loaded .loading-screen {
  display: none;
}
.loader-hidden {
    display: none;
}

.main-container {
    height: 50vh;
    background: url('img/应用场景4.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.main-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.692);
    z-index: 1;
}

/* Navbar Styles */
.navbar {
    position: relative;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.left-nav {
    display: flex;
    gap: 1rem;
}

.contact-btn, .lang-btn {
    font-family: 'Droid Arabic Kufi', sans-serif;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-btn {
    background: #fff;
    color: #333;
}

.contact-btn:hover, .lang-btn:hover {
    background: #eee;
    color: #333;
}

.logo img {
    width: 250px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(2) {
    width: 20px;
}

.hamburger:hover span:nth-child(2) {
    width: 30px;
}

/* Menu Styles */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 30%;
    height: 100vh;
    background: linear-gradient(135deg,
     #76b849 20%,
     #c13446 20%
    );
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    backdrop-filter: blur(10px);
}

.nav-menu.active {
    right: 0;
}

.nav-menu .left-nav {
    position: absolute;
    right: 80px;
    top: 30px;
}

.lang-en,
.lang-ar {
    display: block;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.menu-close:hover {
    transform: rotate(90deg);
}

.menu-close::before,
.menu-close::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.3s ease;
}

.menu-close::before {
    transform: rotate(45deg);
}

.menu-close::after {
    transform: rotate(-45deg);
}

.menu-items {
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-items li {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.nav-menu.active .menu-items li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the animation for each menu item */
.nav-menu.active .menu-items li:nth-child(1) { transition-delay: 0.2s; }
.nav-menu.active .menu-items li:nth-child(2) { transition-delay: 0.3s; }
.nav-menu.active .menu-items li:nth-child(3) { transition-delay: 0.4s; }
.nav-menu.active .menu-items li:nth-child(4) { transition-delay: 0.5s; }

.menu-items li:not(:last-child) {
    margin-bottom: 2rem;
}

.menu-items a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding: 0.5rem 1rem;
    transition: 0.3s ease;
}

.menu-items a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s ease;
}

.menu-items a:hover {
    color: #fff;
}

.menu-items a:hover::before {
    width: 100%;
}

.menu-items a.active {
    color: #fff;
}

.menu-items a.active::before {
    width: 100%;
}

/* Additional decorative elements */
.menu-background {
    z-index: 999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.8) 70%);
    opacity: 0.1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .logo img {
        width: 150px;
    }
    .navbar .contact-btn {
        display: none;
    }
    .nav-menu {
        width: 100%;
        height: 80vh;
    }
    .menu-items a {
        font-size: 1rem;
    }
    
    .menu-items li:not(:last-child) {
        margin-bottom: 1.5rem;
    }
    .contact-btn, .lang-btn {
        padding: 0.3rem 1rem;
    }
}



.page-hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 10px;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 2.5rem;
    margin: 10px 0 20px;
    position: relative;
    padding-bottom: 15px;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb i {
    font-size: 0.8rem;
    color: var(--secondary);
}

.breadcrumb span {
    color: #ccc;
}

@media (max-width: 768px) {
    .page-hero {
        height: 30vh;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }
}




.about-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    gap: 50px;
}

.about-content {
    position: relative;
    padding: 30px;
    background: rgba(260,260,260,0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 200px;
    height: 4px;
    background: #333;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.about-content .read-more {
    color: var(--primary);
    border: 1px solid var(--primary);
    margin-bottom: 30px;
}

.about-content .read-more:hover {
    color: #fff;
    background: var(--primary);
}


.gallery-2 {
    margin: 40px 0;
    position: relative;
    z-index: 1;
    direction: rtl;
}

.gallery2Swiper {
    width: 100%;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Custom pagination style */
.gallery2Swiper .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.gallery2Swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary);
    opacity: 0.5;
}

.gallery2Swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
}

@media screen and (max-width: 768px) {
    .gallery-item img {
        height: 180px;
    }
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.vision, .mission {
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #333;
    background: url(img/cardbg.jpg);
    background-size: cover;
}

.vision i, .mission i {
    font-size: 32px;
    color: var(--primary);
}

.vision:hover, .mission:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.vision h3, .mission h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.vision h3::after, .mission h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #fff;
}

.vision p, .mission p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: #333;
}


/* Decorative Elements */
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fff 10%, var(--secondary) 80%);
    opacity: 0.5;
    z-index: 0;
}
.about-grid::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #fff 10%, var(--primary) 80%);
    opacity: 0.5;
    z-index: 0;
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 5px;
    }

    .about-content {
        position: relative;
        padding: 15px;
    }
    
    .about-content h2 {
        font-size: 1.5rem !important;
    }
    .about-content h2::after {
        width: 100px;
    }
    
    .about-content p {
        font-size: 0.9rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    .vision, .mission {
        padding: 20px 10px;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    .vision i, .mission i {
        font-size: 28px;
    }
    
    .vision h3, .mission h3 {
        font-size: 1.5rem;
    }
    
    .vision p, .mission p {
        font-size: 1rem;
    }
}


.target-customers {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff, #ebebeb, #eee 30%);
    color: #fff;
}

.tc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tc-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.tc-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
}

.tc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tc-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, var(--primary) 90%, #fff 10%);
}

.tc-card:hover .tc-hover {
    transform: scale(1);
    opacity: 1;
}

.tc-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 90%, var(--secondary) 10%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 0;
}

.tc-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.tc-icon svg {
    width: 100%;
    height: 100%;
    color: #fff;
    transition: all 0.3s ease;
}

.tc-card:hover .tc-icon svg {
    color: #fff;
}

.tc-card h3 {
    font-size: 1.2rem;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .target-customers {
        padding: 40px 0;
    }

    .tc-title {
        font-size: 2rem;
    }

    .tc-grid {
        gap: 20px;
    }

    .tc-card {
        padding: 20px;
    }

    .tc-icon {
        width: 50px;
        height: 50px;
    }

    .tc-card h3 {
        font-size: 1rem;
    }
}


.values-section {
    padding: 60px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.values-title {
    text-align: right;
    margin-bottom: 50px;
    position: relative;
    color: #333;
    font-size: 2rem;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 3px;
    background: var(--primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: #fff;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}
.value-card img {
    width: 100%;
    max-height: 220px;
}

.value-card .text {
    padding: 20px;
    padding-top: 0;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s ease;
}

.value-card:hover::before {
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .values-section {
        padding: 40px 0;
    }

    .values-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .values-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .value-card {
        padding: 20px;
    }

    .value-card h3 {
        font-size: 1.2rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }
}

.products-section {
    padding: 80px 0;
    background: #fff;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    transition: ease-in-out 0.2s;
}

.product-image:hover img{
    opacity: 0.8;
    transform: scale(1.05);
}

.product-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 2px solid #c13446;
    transition: all 0.3s ease;
}

.image-dot.active {
    background: #c13446;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #333;
}

.product-description {
    color: #666;
    margin: 0 0 20px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    padding: 6px 25px;
    font-size: 0.8rem;
    background: transparent;
    color: #c13446;
    text-decoration: none;
    border: 2px solid #c13446;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.read-more-btn:hover {
    background: #c13446;
    color: #fff;
}

@media (max-width: 768px) {
    .products-section {
        padding: 40px 0;
    }

    .product-image {
        height: 200px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-description {
        font-size: 0.9rem;
    }
}


.contact-section {
    padding: 100px 0;
    color: #333;
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: url(img/cardbg.jpg);
    background-size: cover;
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.contact-info-side {
    padding-left: 30px;
}

.contact-info-side h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-subtitle {
    color: #555;
    margin-bottom: 40px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: right;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #76b849cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.info-text h4 {
    margin: 0 0 5px;
    color: #333;
}

.info-text p {
    margin: 0;
    color: #777;
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 10px;
    background: transparent;
    border: none;
    color: #333;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    right: 0;
    top: 15px;
    color: #999;
    transition: 0.3s ease;
    pointer-events: none;
}

.form-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: rgba(59, 59, 59, 0.2);
}

.form-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

.form-group input:focus ~ .form-line::after,
.form-group textarea:focus ~ .form-line::after {
    width: 100%;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    transform: translateY(-25px);
    font-size: 0.9rem;
    color: var(--primary);
}

.contact-section .submit-btn {
    justify-self: start;
    padding: 15px 40px;
    background: var(--primary);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    overflow: hidden;
    position: relative;
}

.contact-section .submit-btn:hover {
    background: #d14557;
    transform: translateY(-2px);
}

.contact-section .submit-btn svg {
    width: 20px;
    height: 20px;
}

/* -------------------------------------------*/


.contact-hero {
    height: 30vh;
    background: var(--primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.15) 0%, transparent 50%);
    animation: bgMove 20s infinite linear;
}

@keyframes bgMove {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-main {
    margin-top: -50px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6aa542, #97eb5f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.contact-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(8px);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon::after {
    transform: scale(1.2);
}

.contact-icon i {
    color: #fff;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.contact-card h3 {
    color: #333;
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.contact-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-form-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    position: relative;
}

.form-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #c13446 0%, #76b849 100%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.form-decoration:nth-child(1) { top: -100px; right: -100px; }
.form-decoration:nth-child(2) { bottom: -100px; left: -100px; }

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px;
    border-bottom: 2px solid #c13446cc !important;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    z-index: 1;
}

.form-control:focus {
    border-color: #c13446;
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 52, 70, 0.1);
}

.form-label {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 5px;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: 0;
    font-size: 0.9rem;
    color: #c13446;
}

.contact-form-section .submit-btn {
    background: linear-gradient(135deg, #c13446 90%, #76b849 10%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: ease-in-out 0.3s;
    display: block;
    width: 100%;
    font-family: 'Droid Arabic Kufi', sans-serif;
}

.contact-form-section .submit-btn:hover {
    background: linear-gradient(135deg, #ac3040 90%, #76b849 10%);
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .form-container {
        padding: 30px;
        margin: 0 20px;
    }
}


/* -------------------------------------------*/

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact-info-side {
        padding-left: 0;
    }

    .contact-section {
        padding: 50px 0;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-info-side h2 {
        font-size: 1.5rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .info-icon svg {
        width: 20px;
        height: 20px;
    }
}


/* -------------------------------------------*/


.product-details {
    padding: 80px 0;
    margin: 0 auto;
}

.product-section {
    display: none; /* Hidden by default */
}

.product-section.active {
    display: block;
}
.product-details {
    margin: 0 auto;
}

.section-title {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
}

.product-intro {
    max-width: 1200px;
    margin: 0 auto;
}

.product-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px 20px;
}

.product-image2 {
    overflow: hidden;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image2 img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.product-image2:hover img {
    transform: scale(1.05);
}

.product-specs ul {
    padding: 0;
}

.product-specs li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

/*.product-specs li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}*/

.features-section {
    background: var(--primary);
    background: #c13447ab;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 20px 20%;
}

.wrapper {
    position: relative;
}

.wrapper .image {
    background: url(img/bg3.jpg);
    background-position: right;
    background-size: cover;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
}

.features-title {
    color: #fff;
    font-size: 2rem;
    margin: 40px 0;
    position: relative;
    padding-right: 20px;
}

.features-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-div {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.feature-div h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-div p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-div img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.specs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff, #fff);
    color: #fff;
}

.specs-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.specs-container img {
    margin: 0 auto;
    width: 100%;
}


.specs-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
}

.specs-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
}

/* Responsive styles */
@media (max-width: 768px) {
    .features-section {
    padding: 20px;
    }
    .specs-container {
        padding: 0;
    }
    .specs-section {
        padding: 40px 0;
    }

    .specs-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}
.scenarios-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.scenarios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.scenarios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.scenarios-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
}

.scenarios-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
}

.scenario-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.scenario-card.large {
    grid-row: span 2;
}

.scenario-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scenario-card:hover img {
    transform: scale(1.1);
}

.scenario-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 92%;
    height: 92%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.scenario-card:hover .scenario-overlay {
    opacity: 1;
}

.overlay-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.scenario-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.overlay-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Hover Effects */
.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.scenario-card:hover::before {
    opacity: 0.2;
}

/* Animation for cards on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scenario-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.scenario-card:nth-child(1) { animation-delay: 0.2s; }
.scenario-card:nth-child(2) { animation-delay: 0.4s; }
.scenario-card:nth-child(3) { animation-delay: 0.6s; }
.scenario-card:nth-child(4) { animation-delay: 0.8s; }

@media screen and (max-width: 1024px) {
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }
}

@media screen and (max-width: 768px) {
    .scenarios-section {
        padding: 40px 0;
    }

    .overlay-content i {
        font-size: 1.5rem;
    }

    .scenarios-title {
        font-size: 1.8rem;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }

    .scenario-card.large {
        grid-row: span 1;
    }

    .overlay-content h3 {
        font-size: 1.2rem;
    }

    .overlay-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .product-overview {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-title {
        font-size: 1.5rem;
    }

    .product-specs li {
        font-size: 1rem;
    }

    .feature-div {
        padding: 20px;
    }

    .feature-div h4 {
        font-size: 1.1rem;
    }
}


/* -------------------------------------------*/

.footer {
    background: linear-gradient(to bottom, #fff, #c13447ab, #c13447d3 10%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer .image {
    background: url(img/bg3.jpg);
    background-position: right;
    background-size: cover;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(193, 52, 70, 0.1), transparent);
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 70px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 40px;
}

.footer-col {
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-logo {
    width: 250px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #eeeddd;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h4 {
    position: relative;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #eeeddd;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-right: 8px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eeeddd;
}

.contact-info li i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.342);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.87);
    margin: 0;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    .footer-bottom p {
        font-size: 12px;
    }
}