/* Homepage Redesign v9 Styles */

:root {
    --primary-color: #ff8a00;
    --secondary-color: #001935;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e67e00;
    border-color: #e67e00;
}

.btn-white {
    background-color: #fff;
    color: var(--secondary-color);
    border: 1px solid #fff;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: transparent;
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('../images/bg/hero_waste_bg.webp');
    /* Update with actual hero image path */
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 25, 53, 0.7);
    /* Dark Navy Overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--secondary-color);
    padding: 30px 0;
    color: #fff;
    margin-top: -5px;
    /* Ensure no gap */
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Grid */
.features-section {
    padding: 25px 0;
    /* Reduced from 80px */
    background-color: #fff;
}

.feature-card {
    text-align: center;
    padding: 20px;
    /* Reduced from 30px */
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon-circle {
    width: 60px;
    /* Reduced from 80px */
    height: 60px;
    /* Reduced from 80px */
    margin: 0 auto 15px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    /* Reduced from 32px */
    color: var(--secondary-color);
    /* Navy icon */
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-circle {
    background-color: var(--primary-color);
    color: #fff;
}

/* Live Requests - New Grid Layout */
.live-requests-section {
    padding: 25px 0;
    background-color: var(--light-bg);
}

.request-card-new {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.request-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card-header-custom {
    background-color: var(--secondary-color);
    /* Dark Navy */
    color: #fff;
    padding: 10px 15px;
    /* Reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.95;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.card-body-custom {
    padding: 15px;
    /* Reduced padding */
}

.request-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.request-location {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.request-amount {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 10px;
    font-weight: 600;
}

.request-status {
    display: inline-flex;
    align-items: center;
    background-color: #d1fae5;
    /* Light green background */
    color: #065f46;
    /* Dark green text */
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.request-status i {
    font-size: 0.5rem;
    margin-right: 6px;
    color: #10b981;
    /* Green dot */
}

.btn-teklif {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px;
    text-transform: capitalize;
}

.btn-teklif:hover {
    background-color: #e67e00;
    color: #fff;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(rgba(255, 138, 0, 0.9), rgba(255, 138, 0, 0.9)), url('../images/bg/promo_tech_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: #fff;
}

.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.news-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-body {
    padding: 20px;
}

.news-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Mobile App */
.mobile-app-section {
    padding: 80px 0;
    background: linear-gradient(to right, #001935, #002b5c);
    color: #fff;
    overflow: hidden;
    margin-bottom: 10px;
}

/* Utilities */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.section-title p {
    color: #666;
}

@media (min-width: 992px) {
    .col-lg-five {
        flex: 0 0 20%;
        max-width: 20%;
    }
}