:root {
    --primary: #0f172a;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --light: #f8fafc;
    --dark: #1e293b;
    --white: #ffffff;
    --gray: #64748b;
    --platinum: #e2e8f0;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.logo i {
    color: var(--secondary);
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary);
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons a {
    margin-left: 20px;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.nav-icons a:hover {
    color: var(--secondary);
}

.btn-login {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px !important;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-btns .btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 15px;
    display: inline-block;
    transition: var(--transition);
}

.btn.primary {
    background: var(--secondary);
    color: var(--white);
}

.btn.secondary {
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-img-wrapper {
    position: relative;
    padding: 20px;
}

.hero-img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--white);
}

.hero-badge {
    position: absolute;
    bottom: -10px;
    left: -20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.hero-badge::before {
    content: '★';
    color: #ffd700;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

.image-placeholder i {
    font-size: 150px;
    color: var(--secondary);
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    margin-top: -50px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--secondary);
}

/* Categories */
.section-title {
    text-align: center;
    font-size: 32px;
    margin: 80px 0 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    padding: 50px 40px;
    background: var(--white);
    border: 1px solid var(--platinum);
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.category-card:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

.category-card i {
    font-size: 44px;
    margin-bottom: 25px;
    color: var(--secondary);
    transition: var(--transition);
}

.category-card:hover i {
    color: var(--white);
    transform: rotateY(360deg);
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--platinum);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}

.service-card i {
    font-size: 55px;
    color: var(--secondary);
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--platinum);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.prod-img {
    height: 200px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .prod-img img {
    transform: scale(1.1);
}

.prod-img i {
    font-size: 60px;
    color: #ddd;
}

.prod-info {
    padding: 20px;
}

.tag {
    font-size: 12px;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
}

.prod-info h3 {
    margin: 10px 0;
    font-size: 18px;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--secondary);
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.contact-box h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-box p {
    margin-bottom: 40px;
    opacity: 0.8;
}

.contact-box form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.contact-box input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 5px 0 0 5px;
    border: none;
    outline: none;
}

.contact-box button {
    padding: 15px 40px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 80px 0 20px;
    background: #1a252f;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.socials a {
    color: var(--white);
    font-size: 36px;
    /* Enlarged icons */
    opacity: 0.9;
    /* Better contrast */
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.socials a:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.socials a i.fa-facebook:hover,
.socials a:has(.fa-facebook):hover {
    color: #1877F2;
}

.socials a i.fa-instagram:hover,
.socials a:has(.fa-instagram):hover {
    color: #E4405F;
}

.socials a i.fa-tiktok:hover,
.socials a:has(.fa-tiktok):hover {
    color: #000000;
    background: #fff;
}

.socials a i.fa-threads:hover,
.socials a:has(.fa-threads):hover {
    color: #ffffff;
    background: #000;
}

.socials a i.fa-youtube:hover,
.socials a:has(.fa-youtube):hover {
    color: #FF0000;
}

.threads-link {
    color: #ffffff !important;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-contact i {
    font-size: 14px;
    color: var(--secondary);
}

.phone-link i {
    font-size: 16px;
}

/* Google Map */
.map-container {
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    margin-bottom: 15px;
}

.map-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.map-link i {
    font-size: 16px;
}

.map-embed {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    font-size: 14px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 35px;
    right: 35px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    animation: none;
}

.whatsapp-float i {
    line-height: 60px;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] nav ul li {
    margin-left: 0;
    margin-right: 30px;
}

[dir="rtl"] .hero-btns .btn {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .contact-box form input {
    border-radius: 0 5px 5px 0;
}

[dir="rtl"] .contact-box form button {
    border-radius: 5px 0 0 5px;
}

[dir="rtl"] .footer-links ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .footer-contact i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .map-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-contact a {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-contact i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.lang-switch {
    background: var(--light);
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-left: 15px;
}

[dir="rtl"] .lang-switch {
    margin-left: 0;
    margin-right: 15px;
}

/* Responsive */
/* Tablet and below */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .category-grid {
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    nav ul,
    .nav-icons {
        display: none;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 50px;
        justify-content: center;
    }

    .image-placeholder {
        width: 300px;
        height: 300px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
        margin: 60px 0 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
        margin-top: -30px;
    }

    .stat-item h3 {
        font-size: 28px;
    }

    .contact-box h2 {
        font-size: 28px;
    }

    .contact-box form {
        flex-direction: column;
        gap: 10px;
    }

    .contact-box input {
        border-radius: 5px;
    }

    .contact-box button {
        border-radius: 5px;
        width: 100%;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }

    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-btns .btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-right: 10px;
        display: block;
        margin-bottom: 10px;
    }

    [dir="rtl"] .hero-btns .btn {
        margin-right: 0;
        margin-left: 10px;
    }

    .category-card {
        padding: 25px;
    }

    .category-card i {
        font-size: 35px;
    }

    .product-card {
        margin-bottom: 10px;
    }

    .prod-info h3 {
        font-size: 16px;
    }

    .price {
        font-size: 18px;
    }

    .add-to-cart {
        padding: 8px;
        font-size: 14px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card i {
        font-size: 40px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-about .logo {
        justify-content: center;
    }

    .socials {
        gap: 10px;
    }

    .socials a {
        font-size: 28px;
    }

    .map-embed {
        height: 250px;
    }

    .stats {
        padding: 30px 0;
    }

    .stat-item h3 {
        font-size: 24px;
    }

    .stat-item p {
        font-size: 14px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 24px;
    }

    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 15px;
    }

    .map-embed {
        height: 200px;
    }
}