/* AfroTender Home Page - AdminLTE Style Enhancement */
/* ================================================= */

/* Banner/Hero Section */
#banner-4 {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px !important;
}

.banner-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.banner-content2 h1.display-4 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 3.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem !important;
}

.banner-content2 p.lead {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2.5rem !important;
}

/* Feature Blocks Enhancement */
#feature {
    padding: 80px 0 !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%) !important;
}

.feature-block {
    background: #ffffff !important;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2.5rem 1.5rem !important;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.img-icon-block {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #007bff 0%, #00c9ff 100%) !important;
    position: relative;
}

.img-icon-block::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #007bff 0%, #00c9ff 100%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.img-icon-block i {
    color: #ffffff !important;
    font-size: 2.5rem;
}

.feature-block h4 {
    color: #343a40 !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-block p {
    color: #6c757d !important;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Services Section */
#service {
    padding: 80px 0 !important;
    background: #ffffff !important;
}

.service-content h1 {
    color: #343a40 !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.service-content p {
    color: #6c757d !important;
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-img img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-img img:hover {
    transform: scale(1.02);
}

/* Service Blocks Carousel */
.service-wrap {
    background: #f8f9fa !important;
    padding: 60px 0 !important;
}

.service-block.media {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-block.media:hover {
    transform: translateX(10px);
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    background: linear-gradient(135deg, #e9f7fe 0%, #d1ecf1 100%) !important;
    flex-shrink: 0;
}

.service-icon i {
    color: #007bff !important;
    font-size: 1.75rem;
}

.service-inner-content h4 {
    color: #343a40 !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Process Section */
#process {
    padding: 80px 0 !important;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%) !important;
}

.process-block {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.process-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.process-block img {
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.process-block:hover img {
    transform: scale(1.05);
}

.process-block h3 {
    color: #343a40 !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Services-2 Section */
#services-2 {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%) !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

#services-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23000000" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

#services-2 .section-heading h2,
#services-2 .section-heading p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.web-service-block {
    background: rgba(255,255,255,0.95);
    border-radius: 0.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.web-service-block:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.web-service-block i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.web-service-block h3 {
    color: #343a40 !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Pricing Section */
#pricing {
    padding: 80px 0 !important;
    background: #f8f9fa !important;
}

.pricing-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.pricing-box h3 {
    color: #343a40 !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.price-block h2 {
    color: #007bff !important;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.price-block h2 span {
    font-size: 1rem;
    color: #6c757d !important;
    font-weight: normal;
    margin-left: 0.5rem;
}

.price-features {
    margin: 2rem 0;
    text-align: left;
}

.price-features li {
    color: #6c757d;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.pricing-box:nth-child(2) {
    transform: scale(1.05);
    border: 2px solid #007bff;
    z-index: 1;
}

.pricing-box:nth-child(2):hover {
    transform: scale(1.05) translateY(-10px);
}

/* Projects Sections */
#projects-wrap {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
    padding: 80px 0 !important;
    position: relative;
}

#projects-wrap .section-heading h1,
#projects-wrap .lead {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#projects {
    padding: 80px 0 40px !important;
}

.single-project {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.single-project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.single-project img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-project:hover img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    background: #ffffff;
}

.project-content h4 {
    color: #343a40 !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-content-block {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.project-content-block h4 {
    color: #007bff !important;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-content-block h2 {
    color: #343a40 !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Testimonials */
#section-testimonial {
    padding: 80px 0 !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%) !important;
}

.testimonial-heading h1 {
    color: #343a40 !important;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.testimonial-heading p {
    color: #6c757d !important;
    font-size: 1.1rem;
    line-height: 1.7;
}

.test-inner {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.test-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.test-inner i.fa-quote-right {
    color: #007bff !important;
    font-size: 1.5rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0.3;
}

.test-author-thumb img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #e9ecef;
    margin-right: 1rem;
}

.test-author-info h4 {
    color: #343a40 !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.test-author-info h6 {
    color: #007bff !important;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Latest Tenders Section */
#blog {
    padding: 80px 0 !important;
    background: #f8f9fa !important;
}

.section-heading h2.display-4 {
    color: #343a40 !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-heading h2.display-4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    border-radius: 2px;
}

.blog-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1.5rem;
}

.blog-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h6 {
    color: #007bff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.blog-content h4.card-title {
    color: #343a40 !important;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.blog-content h4.card-title:hover {
    color: #007bff !important;
}

.blog-content .form-text {
    color: #6c757d !important;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.blog-content .text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

.read-more {
    color: #007bff !important;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #0056b3 !important;
    text-decoration: none;
    transform: translateX(5px);
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Buttons Enhancement */
.btn-white {
    background: #ffffff !important;
    color: #007bff !important;
    border: 2px solid #ffffff !important;
    font-weight: 600;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease !important;
}

.btn-white:hover {
    background: transparent !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.btn-outline-dark {
    border: 2px solid #6c757d !important;
    color: #6c757d !important;
    font-weight: 600;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease !important;
}

.btn-outline-dark:hover {
    background: #6c757d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108,117,125,0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
}

.btn-circled {
    border-radius: 50px !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .banner-content2 h1.display-4 {
        font-size: 2.5rem;
    }
    
    .feature-block,
    .service-block,
    .web-service-block,
    .pricing-box {
        margin-bottom: 2rem;
    }
    
    .pricing-box:nth-child(2) {
        transform: none;
    }
    
    .pricing-box:nth-child(2):hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767.98px) {
    .banner-content2 h1.display-4 {
        font-size: 2rem;
    }
    
    .banner-content2 p.lead {
        font-size: 1.1rem;
    }
    
    .service-block.media {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-block,
.service-block,
.process-block,
.web-service-block,
.pricing-box,
.single-project,
.test-inner,
.blog-box {
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered Animation Delay */
.feature-block:nth-child(1) { animation-delay: 0.1s; }
.feature-block:nth-child(2) { animation-delay: 0.2s; }
.feature-block:nth-child(3) { animation-delay: 0.3s; }
.feature-block:nth-child(4) { animation-delay: 0.4s; }
.pricing-box:nth-child(1) { animation-delay: 0.1s; }
.pricing-box:nth-child(2) { animation-delay: 0.2s; }
.pricing-box:nth-child(3) { animation-delay: 0.3s; }