/* base start */
        body.dark-mode { background-color: #121212; color: #f0f0f0; }
        #back-to-top {
            position: fixed; bottom: 40px; right: 40px; z-index: 99;
            background-color: #a11b09; color: white; border: none;
            border-radius: 50%; padding: 12px 18px; font-size: 18px;
            cursor: pointer; display: none; transition: .3s;
        }
        #back-to-top:hover { background-color: #db3a1d; color: #ffffff !important; }
        .popup-message {
            position: fixed; top: 20px; right: 20px; z-index: 10000;
            background: #27ae60; color: white; padding: 12px 20px;
            border-radius: 6px; display: none; font-weight: bold;
        }
        .modal-overlay {
            position: fixed; top:0; left:0; width:100%; height:100%;
            background: rgba(0,0,0,0.6); display: none;
            justify-content: center; align-items: center; z-index: 9999;
        }
        .modal-box {
            width: 420px; background: white; border-radius: 10px;
            padding: 20px; position: relative; max-height: 90vh; overflow-y: auto;
        }
        .close-btn {
            position: absolute; top: 10px; right: 10px; font-size: 26px;
            cursor: pointer;
        }
        .mandatory-field::after {
            content: " *";
            color: red;
        }
        .form-errors {
            color: red;
        }
        .auth-title {
            color: #3498db;
            font-weight: bold;
            font-size: 24px;
            text-align: center;
            margin-bottom: 15px;
        }

/* base end         */
/* product_card.html start */
#popupMessage {
    display: none;
    position: fixed;
    top: 45px;
    left: 88%;
    transform: translateX(-50%);
    background-color: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}
#popupMessage.error {
    background-color: #e74c3c;
}
.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    background: #fff;
    transition: 0.3s;
    position: relative;
    height: 320px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.product-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 5px;
}
.product-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}
.price-add-cart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 5px;
}
.price {
    font-size: 14px;
    font-weight: bold;
    color: #e74c3c;
    text-align: left;
}
.old-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    display: block;
    text-align: left;
}
.cart-btn {
    background: #3498db;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-btn:hover {
    background: #2980b9;
}
.wishlist-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
    border: solid 2px #2980b9;
    color: #2980b9;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    background-color: transparent;
}
.wishlist-icon.active {
    background-color: #2980b9;
    color: #fff;
}
.star-rating {
    color: #f1c40f;
    font-size: 12px;
    margin-bottom: 5px;
    text-align: left;
}
.star-rating small {
    margin-left: 5px;
    font-size: 10px;
    color: #555;
}
.row.g-4.justify-content-center {
    justify-content: flex-start !important;
}
/* product_card.html end */
/* product_list.html start */
#popupMessage {
    display: none;
    position: fixed;
    top: 45px;
    right: 15px;
    background-color: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}
#popupMessage.error {
    background-color: #e74c3c;
}
.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    background: #fff;
    transition: 0.3s;
    position: relative;
    height: 350px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.product-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 5px;
}
.product-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}
.price-container {
    text-align: left;
}
.price-add-cart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 5px;
}
.price {
    font-size: 15px;
    font-weight: bold;
    color: #e74c3c;
}
.old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: -2px;
}
.cart-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-btn:hover {
    background: linear-gradient(45deg, #2980b9, #1c5980);
}
.wishlist-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
    border: solid 2px #2980b9;
    color: #2980b9;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    background-color: #fff;
    z-index: 5;
}
.wishlist-icon.active {
    background-color: #2980b9;
    border-color: #2980b9;
    color: #fff;
}
.star-rating {
    color: #f1c40f;
    font-size: 12px;
    margin-bottom: 5px;
    text-align: left;
}
.star-rating small {
    margin-left: 5px;
    font-size: 10px;
    color: #555;
}
.sort-form select {
    width: auto;
    display: inline-block;
    margin-left: 10px;
}
/* product_list.html end */
/* category-detail.html start */
#popupMessage {
    display: none;
    position: fixed;
    top: 45px;
    left: 88%;
    transform: translateX(-50%);
    background-color: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}
#popupMessage.error {
    background-color: #e74c3c;
}
.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    background: #fff;
    transition: 0.3s;
    position: relative;
    height: 320px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.product-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 5px;
}
.product-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.price-add-cart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 5px;
}
.price {
    font-size: 14px;
    font-weight: bold;
    color: #e74c3c;
    text-align: left;
}
.old-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    display: block;
    text-align: left;
}
.cart-btn {
    background: #3498db;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-btn:hover {
    background: #2980b9;
}
.wishlist-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
    border: solid 2px #2980b9;
    color: #2980b9;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    background-color: transparent;
}
.wishlist-icon.active {
    background-color: #2980b9;
    color: #fff;
}

.star-rating {
    color: #f1c40f;
    font-size: 12px;
    margin-bottom: 5px;
    text-align: left;
}
.star-rating small {
    margin-left: 5px;
    font-size: 10px;
    color: #555;
}

.row.g-4.justify-content-center {
    justify-content: flex-start !important;
}
/* category-detail.html end */
/* job_details.html start */
.card-title {
    font-weight: 700;
    font-size: 2rem;
}
.badge i {
    margin-right: 5px;
}
.btn-primary {
    background: #1A73E8;
    border-color: #1A73E8;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #155ab6;
    border-color: #155ab6;
    transform: translateY(-2px);
}
.card {
    border-radius: 10px;
}
/* job_details.html end */
/* job_list.html start */
.card-hover {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.card-title {
    font-weight: 600;
    font-size: 1.25rem;
}
.card-text {
    color: #555;
}
.text-muted i {
    margin-right: 5px;
}
.card-text.text-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* job_list.html end */
/* footer start */
        footer ul li a {
            text-decoration: none;
            color: #1e1e1e;
        }
        footer ul li a:hover {
            text-decoration: underline !important; 
        }
        .dark-mode footer {
            background-color: #1e1e1e !important;
            color: #ffffff !important;
        }
        .dark-mode footer a {
            color: #ffffff !important;
        }
        .dark-mode footer a:hover {
            text-decoration: underline !important;
        }
        .dark-mode footer hr {
            border-color: #444 !important;
        }
        .dark-mode footer .small {
            color: #ccc !important;
        }
        .dark-mode footer h5,
        .dark-mode footer h6 {
            color: #ffffff !important;
        }
        .dark-mode footer i.fab {
            opacity: 0.85;
        }
/* footer end */
/* hero_section.html start */
.hero-sections.layout-3-items {
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
}
.hero-section.full-width {
    width: 100%; 
    min-height: 400px; 
}
.hero-section.half-width {
    width: calc(50% - 5px);
    min-height: 300px; 
}
.hero-section {
    background-size: cover;
    background-position: center;
    box-sizing: border-box; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1; 
}
.hero-content {
    text-align: center;
    padding: 20px;
    z-index: 2; 
    max-width: 90%; 
}
.hero-content h2 {
    color: white; 
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
    line-height: 1.2;
}
.hero-content p {
    color: #f0f0f0; 
    font-size: 1.5em;
    margin-bottom: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); 
}
.hero-content .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ff5722;
    color: white;
    text-decoration: none;
    border: 2px solid #ff5722;
    border-radius: 22px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}
.hero-content .btn:hover {
    background-color: #e64a19;
    border-color: #e64a19;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .hero-sections.layout-3-items {
        gap: 5px; 
    }
    .hero-section.full-width {
        min-height: 300px;
    }
    .hero-section.half-width {
        width: 100%; 
        min-height: 200px;
    }
    .hero-content h2 {
        font-size: 1.8em;
    }
}
/* hero_section.html end */
