/* Base Styles */
:root {
    --primary-color: #2c5f8b;
    --secondary-color: #3ab7eb;
    --accent-color: #f7941d;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #444;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1e4b75;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #2aa5d8;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Header & Navigation */
.lang-selector {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 5px 0;
    text-align: right;
    font-size: 0.9rem;
}

.lang-selector a {
    color: var(--white);
    padding: 0 5px;
}

.lang-selector a.active {
    color: var(--accent-color);
    font-weight: 500;
}

nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
    position: relative;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.nav-links a.active {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0;
    padding: 5px 15px;
}

.dropdown-menu a {
    padding: 5px 0;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(58, 183, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: var(--primary-color);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #aaa;
}

.footer-col ul a:hover {
    color: var(--white);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container, .about .container {
        flex-direction: column;
    }
    
    .hero-content, .about-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 10px 0 0 20px;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(44, 95, 139, 0.8), rgba(44, 95, 139, 0.8)), url('../images/products-hero.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Product Sections */
.product-section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.product-features {
    margin-bottom: 20px;
}

.product-features h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-features ul {
    list-style: none;
}

.product-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.product-features i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 0.8rem;
    margin-top: 4px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ERP Solutions */
.erp-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.erp-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.erp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.erp-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(58, 183, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.erp-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.erp-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .erp-solutions {
        grid-template-columns: 1fr;
    }
}

/* Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(44, 95, 139, 0.8), rgba(44, 95, 139, 0.8)), url('../images/contact-hero.jpg') center/cover no-repeat;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h2, .contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 95, 139, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Contact Info */
.info-card {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(58, 183, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 20px;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-content p {
    margin-bottom: 8px;
    color: var(--text-color);
}

.info-content strong {
    color: var(--dark-color);
}

/* Map Section */
.map-section {
    padding-bottom: 80px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.floating-btn.active {
    background-color: var(--accent-color);
    transform: rotate(135deg);
}

.floating-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    bottom: 80px;
}

.floating-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    transform: translateX(20px);
    opacity: 0;
}

.floating-menu.active .floating-item {
    transform: translateX(0);
    opacity: 1;
}

.floating-menu.active .floating-item:nth-child(1) {
    transition-delay: 0.1s;
}

.floating-menu.active .floating-item:nth-child(2) {
    transition-delay: 0.2s;
}

.floating-menu.active .floating-item:nth-child(3) {
    transition-delay: 0.3s;
}

.floating-item i {
    font-size: 1.2rem;
    margin-right: 10px;
}

.floating-item span {
    font-weight: 500;
}

.floating-item.phone {
    background-color: #4CAF50;
    color: var(--white);
}

.floating-item.email {
    background-color: #2196F3;
    color: var(--white);
}

.floating-item.whatsapp {
    background-color: #25D366;
    color: var(--white);
}

/* WhatsApp Button */
#whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .info-card {
        flex-direction: column;
    }
    
    .info-icon {
        margin-bottom: 15px;
    }
}