/* =========================================================
   PROFILES REDESIGN STYLES
   Location: /profiles/css/profiles-redesign.css
========================================================= */

/* Brand Custom Red Buttons */
.btn-red { background-color: #ff0000 !important; border-color: #ff0000 !important; color: white !important; }
.btn-red:hover { background-color: #cc0000 !important; border-color: #cc0000 !important; }
.btn-borders.btn-red { background-color: transparent !important; color: #ff0000 !important; border: 2px solid #ff0000 !important; }
.btn-borders.btn-red:hover { background-color: #ff0000 !important; color: white !important; }
.text-red { color: #ff0000 !important; }

/* Floating Lead Generation Button */
.floating-cta {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    background-color: #ff0000; color: white !important; padding: 15px 25px;
    border-radius: 50px; font-weight: 700; box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease; display: flex; align-items: center; gap: 10px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.floating-cta:hover { background-color: #cc0000; transform: translateY(-5px); text-decoration: none; }

/* Hero Modern Carousel */
.modern-carousel-container {
    position: relative; width: 100%; height: 500px; overflow: hidden;
    background-color: #0f172a; border-radius: 12px; margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.modern-carousel-slides { display: flex; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); height: 100%; }
.modern-carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; }
.modern-carousel-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.modern-carousel-caption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 40px 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent); color: white;
}
.modern-carousel-caption h2 {
    margin: 0 0 10px 0 !important; font-size: 36px !important; font-weight: 800 !important;
    color: #ffffff !important; text-shadow: 0 4px 8px rgba(0,0,0,0.6) !important; text-transform: uppercase;
}

/* Auto-Scrolling Product Gallery Cards */
.product-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: transform 0.3s ease;
    display: flex; flex-direction: column; height: 100%; min-height: 480px; 
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.product-card img {
    width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: 4px; margin-bottom: 15px; background-color: #f8fafc;
}

/* Detailed Product Grid Boxes (Flexbox) */
.product-detail-box {
    margin-bottom: 30px; padding: 20px; background: #f8fafc; border-radius: 8px;
    border: 1px solid #e2e8f0; height: 100%; display: flex; flex-direction: column; transition: all 0.3s ease;
}
.product-detail-box:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); border-color: #cbd5e1; }
.product-detail-box img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; background: #fff; }
.product-detail-box h4 {
    color: #0f172a; font-weight: 700; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; margin-bottom: 15px;
}

/* Highlight Box (e.g., "Engineered for Africa") */
.africa-centric-box {
    background: #fff5f5; border-left: 5px solid #ff0000; padding: 30px;
    border-radius: 0 8px 8px 0; margin-top: 40px; margin-bottom: 40px;
}