:root {
    --primary-blue: #005f9e;
    --secondary-blue: #007bff;
    --light-blue: #e6f2ff;
    --dark-blue: #003c66;
    --text-color: #333;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
}

.bg-primary-blue {
    background-color: var(--primary-blue);
}

.text-primary-blue {
    color: var(--primary-blue);
}

.btn-primary-blue {
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary-blue:hover {
    background-color: var(--dark-blue);
    color: #fff;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.section-title p {
    color: #6c757d;
}

/* Header */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-link {
    color: var(--dark-blue);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-blue);
}

/* Hero Section */
.hero-section {
    background-color: var(--light-blue);
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.hero-section p {
    font-size: 1.2rem;
    color: #555;
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.feature-box .icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

/* Products Section */
.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.product-card .card-body {
    padding: 25px;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 60px 0;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #fff;
}


/* Custom Section */


.service-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    color: #1a73e8;
    font-size: 2.5rem;
}

.service-card .card-title {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card .card-text {
    color: #7f8c8d;
}

.hero-section-home {
        position: relative;
        height: 100vh;
        min-height: 600px;
        color: white;
        background: 
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
            url('../img/hero.jpg') no-repeat center center fixed;
        background-size: cover;
        overflow: hidden;
    }

    .hero-section-about {
        min-height: 600px;
        color: white;
        background: 
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
            url('../img/about.jpg') no-repeat center center fixed;
        background-size: cover;
    }
    .hero-section-products {
        min-height: 600px;
        color: white;
        background: 
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
            url('../img/products.jpg') no-repeat center center fixed;
        background-size: cover;
    }

    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .hero-section-home {
            height: 90vh;
            min-height: 500px;
        }
        h1.display-3 {
            font-size: 2.5rem;
        }
        p.lead.fs-4 {
            font-size: 1.1rem;
        }
        .btn-lg {
            padding: 0.5rem 1.5rem;
            font-size: 1rem;
        }
    }
    
/* Product Cards */
.single-product-card {
    background: #fff;
    border: none;
    transition: all 0.3s ease;
}

.single-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-image {
    overflow: hidden;
    position: relative;
}

.product-image img {
    transition: transform 0.5s ease;
}

.single-product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info h3 {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

.product-features {
    margin: 0;
    padding: 0;
}

.product-features li {
    position: relative;
    padding-right: 15px;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.95rem;
}

.product-features li:before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    right: 0;
    font-weight: bold;
}

/* Button adjustments */
.btn-primary-blue {
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 95, 158, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 30px;
    }
    
    .product-info h3 {
        font-size: 1.25rem;
    }
    
    .product-features li {
        font-size: 0.9rem;
    }
}


/* Alert styles */
.alert {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    font-family: 'Tahoma', Arial, sans-serif;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form message container */
#formMessage {
    transition: all 0.3s ease;
    margin: 20px 0;
}