/*
 * Custom Styles for 3amel.net
 * New Website Pages
 */

/* ==================== General ==================== */
.section-header {
    margin-bottom: 40px;
}
.section-header h1,
.section-header h2 {
    color: #1F293A;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.section-header p {
    color: #666;
    font-size: 16px;
}

/* ==================== Breadcrumb ==================== */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 15px 0;
    margin-top: 160px;
}
.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}
.breadcrumb-item a {
    color: #1F293A;
}
.breadcrumb-item.active {
    color: #FDA243;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #999;
}

/* ==================== Categories Page ==================== */
.categories-page {
    padding: 60px 0;
}
.category-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-icon img {
    max-width: 50px;
    max-height: 50px;
}
.category-icon i {
    font-size: 35px;
    color: #FDA243;
}
.category-card h3 {
    color: #1F293A;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.category-card .providers-count {
    color: #999;
    font-size: 14px;
}

/* ==================== Category Single Page ==================== */
.category-page {
    padding: 60px 0;
}
.category-header {
    background: linear-gradient(135deg, #1F293A 0%, #2d3a4f 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    color: #fff;
}
.category-header h1 {
    color: #F7D413;
    font-size: 36px;
    margin-bottom: 10px;
}
.category-header p {
    color: rgba(255,255,255,0.8);
}
.category-image {
    max-width: 150px;
    border-radius: 15px;
}
.subcategories-section {
    margin-bottom: 40px;
}
.subcategories-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1F293A;
}
.subcategory-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #1F293A;
    padding: 8px 20px;
    border-radius: 25px;
    margin: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.subcategory-tag:hover {
    background: #FDA243;
    color: #fff;
}

/* ==================== Providers Page ==================== */
.providers-page {
    padding: 60px 0;
}
.filters-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}
.filters-form .form-control {
    height: 45px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}
.filters-form .btn-primary {
    height: 45px;
    background: #FDA243;
    border-color: #FDA243;
    border-radius: 10px;
}
.results-header {
    margin-bottom: 20px;
    color: #666;
}

/* ==================== Provider Card ==================== */
.provider-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.provider-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.provider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.provider-image .category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FDA243;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}
.provider-info {
    padding: 15px;
}
.provider-info h3 {
    color: #1F293A;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.provider-info .location {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}
.provider-info .location i {
    color: #FDA243;
    margin-left: 5px;
}
.rating {
    color: #F7D413;
    font-size: 14px;
}
.rating span {
    color: #999;
    font-size: 12px;
    margin-right: 5px;
}
.provider-actions {
    display: flex;
    border-top: 1px solid #f0f0f0;
}
.provider-actions a {
    flex: 1;
    padding: 12px;
    text-align: center;
    color: #1F293A;
    font-size: 14px;
    transition: all 0.3s ease;
}
.provider-actions .btn-call {
    border-left: 1px solid #f0f0f0;
}
.provider-actions .btn-call:hover {
    background: #1F293A;
    color: #fff;
}
.provider-actions .btn-whatsapp {
    color: #25D366;
}
.provider-actions .btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

/* ==================== Provider Profile ==================== */
.provider-profile {
    padding: 60px 0;
}
.provider-header-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
}
.provider-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 25px;
    border: 4px solid #F7D413;
}
.provider-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.provider-details h1 {
    color: #1F293A;
    font-size: 28px;
    margin-bottom: 10px;
}
.rating-large {
    font-size: 18px;
    color: #F7D413;
    margin: 10px 0;
}
.rating-large span {
    color: #666;
    font-size: 14px;
    margin-right: 5px;
}

/* Contact Card */
.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.contact-card h3 {
    color: #1F293A;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}
.contact-buttons .btn {
    margin-bottom: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
}
.btn-call {
    background: #1F293A;
    border-color: #1F293A;
    color: #fff;
}
.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}
.phone-number {
    text-align: center;
    color: #666;
    margin-top: 15px;
}

/* Portfolio */
.portfolio-section {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.portfolio-section h2 {
    color: #1F293A;
    font-size: 20px;
    margin-bottom: 20px;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.portfolio-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Reviews */
.reviews-section {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.reviews-section h2 {
    color: #1F293A;
    font-size: 20px;
    margin-bottom: 20px;
}
.review-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}
.review-item:last-child {
    border-bottom: none;
}
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.reviewer-info strong {
    color: #1F293A;
}
.review-date {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
}
.review-rating {
    color: #F7D413;
}
.review-comment {
    color: #666;
    font-size: 14px;
}

/* ==================== Articles Page ==================== */
.articles-page {
    padding: 60px 0;
}
.search-box {
    margin-bottom: 30px;
}
.search-box .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px;
    border: 2px solid #f0f0f0;
    padding-right: 25px;
}
.search-box .btn {
    height: 50px;
    border-radius: 0 25px 25px 0;
    background: #FDA243;
    border-color: #FDA243;
    padding: 0 25px;
}
.articles-grid {
    display: grid;
    gap: 30px;
}
.article-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.article-card .article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-card .article-content {
    padding: 20px;
}
.article-card h2 {
    color: #1F293A;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}
.article-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}
.article-meta {
    color: #999;
    font-size: 13px;
}
.article-meta span {
    margin-left: 15px;
}
.article-meta i {
    margin-left: 5px;
}

/* Sidebar */
.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.sidebar-widget h3 {
    color: #1F293A;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F7D413;
}
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.categories-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.categories-list li:last-child {
    border-bottom: none;
}
.categories-list li a {
    color: #666;
    display: flex;
    justify-content: space-between;
}
.categories-list li a:hover,
.categories-list li.active a {
    color: #FDA243;
}
.categories-list .count {
    color: #999;
}
.featured-article-item {
    display: flex;
    margin-bottom: 15px;
}
.featured-article-item .thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 12px;
}
.featured-article-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-article-item .info h4 {
    color: #1F293A;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}
.featured-article-item .info span {
    color: #999;
    font-size: 12px;
}
.download-widget {
    background: linear-gradient(135deg, #1F293A 0%, #2d3a4f 100%);
    color: #fff;
}
.download-widget h3 {
    color: #F7D413;
    border-bottom-color: rgba(255,255,255,0.2);
}
.download-widget p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}
.download-widget .buttons-apps {
    display: flex;
    gap: 10px;
}
.download-widget .buttons-apps a img {
    height: 40px;
}

/* ==================== Article Single ==================== */
.article-single {
    padding: 60px 0;
}
.article-content-wrapper {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.article-header {
    padding: 30px 30px 20px;
}
.article-header .category-badge {
    display: inline-block;
    background: #FDA243;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
}
.article-header h1 {
    color: #1F293A;
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.article-featured-image {
    margin: 0 30px 25px;
    border-radius: 15px;
    overflow: hidden;
}
.article-featured-image img {
    width: 100%;
}
.article-body {
    padding: 0 30px 30px;
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}
.article-body h2,
.article-body h3 {
    color: #1F293A;
    margin: 25px 0 15px;
}
.article-body p {
    margin-bottom: 15px;
}
.article-body ul,
.article-body ol {
    margin-bottom: 15px;
    padding-right: 20px;
}
.article-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
}
.share-buttons {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}
.share-buttons span {
    color: #666;
    margin-left: 15px;
}
.share-buttons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #fff;
    font-size: 16px;
}
.share-facebook { background: #3b5998; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25D366; }
.share-linkedin { background: #0077b5; }

/* Related Articles */
.related-articles {
    margin-top: 40px;
}
.related-articles h3 {
    color: #1F293A;
    font-size: 22px;
    margin-bottom: 25px;
}
.related-article-card {
    display: block;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.related-article-card .image {
    height: 150px;
    overflow: hidden;
}
.related-article-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-article-card h4 {
    padding: 15px;
    color: #1F293A;
    font-size: 15px;
    margin: 0;
}

/* ==================== No Results ==================== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
}
.no-results i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}
.no-results h3 {
    color: #1F293A;
    margin-bottom: 10px;
}
.no-results p {
    color: #999;
}

/* ==================== Pagination ==================== */
.pagination-wrapper {
    text-align: center;
    margin-top: 40px;
}
.pagination {
    justify-content: center;
}
.pagination .page-link {
    color: #1F293A;
    border-radius: 8px;
    margin: 0 3px;
    border: none;
    background: #f8f9fa;
}
.pagination .page-item.active .page-link {
    background: #FDA243;
    border-color: #FDA243;
}

/* ==================== Download App Section ==================== */
.download-app-section {
    background: linear-gradient(135deg, #1F293A 0%, #2d3a4f 100%);
    padding: 80px 0;
    color: #fff;
}
.download-app-section h2 {
    color: #F7D413;
    font-size: 32px;
    margin-bottom: 15px;
}
.download-app-section p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 25px;
}
.download-app-section .buttons-apps {
    display: flex;
    gap: 15px;
}
.download-app-section .buttons-apps a img {
    height: 50px;
}
.app-mockup {
    max-width: 100%;
}

/* ==================== Footer Additions ==================== */
.app-download-footer {
    margin: 30px 0;
}
.app-download-footer p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}
.app-download-footer .buttons-apps {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.app-download-footer .buttons-apps a img {
    height: 45px;
}

/* ==================== Sticky Card ==================== */
.sticky-card {
    position: sticky;
    top: 180px;
}

/* ==================== CTA Widget ==================== */
.cta-widget {
    background: linear-gradient(135deg, #FDA243 0%, #f5a623 100%);
    color: #fff;
    text-align: center;
}
.cta-widget h3 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}
.cta-widget p {
    color: rgba(255,255,255,0.9);
}
.cta-widget .btn-primary {
    background: #1F293A;
    border-color: #1F293A;
}

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
    .provider-header-card {
        flex-direction: column;
        text-align: center;
    }
    .provider-avatar {
        margin: 0 0 20px 0;
    }
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .breadcrumb-section {
        margin-top: 140px;
    }
    .section-header h1,
    .section-header h2 {
        font-size: 24px;
    }
    .category-header {
        text-align: center;
    }
    .category-header h1 {
        font-size: 26px;
    }
    .filters-form .form-group {
        margin-bottom: 15px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-header h1 {
        font-size: 22px;
    }
    .share-buttons {
        flex-wrap: wrap;
    }
    .download-app-section {
        text-align: center;
    }
    .download-app-section .buttons-apps {
        justify-content: center;
    }
}
