/* ==========================================================================
   Strobell Africa Public Corporate Website - Signature Blue Corporate Theme
   Primary Brand Blue: #0066cc / #0052cc (Vibrant Electric Cobalt Blue)
   ========================================================================== */

:root {
    --color-bg-light: #ffffff;
    --color-bg-subtle: #f8fafc;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f1f5f9;
    --color-border: #e2e8f0;
    --color-border-subtle: #f1f5f9;
    
    --color-text-bright: #0f172a;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;

    /* Signature Strobell Africa Vibrant Cobalt Blue Palette */
    --color-brand-blue: #0066cc;
    --color-brand-blue-hover: #0052cc;
    --color-brand-blue-light: #e6f0ff;
    --color-accent-blue: #0070f3;
    
    --color-accent-gradient: linear-gradient(135deg, #0066cc 0%, #0052cc 50%, #0070f3 100%);
    --color-hero-bg: radial-gradient(circle at 50% 0%, rgba(0, 102, 204, 0.08) 0%, rgba(255, 255, 255, 1) 75%);
}

body.public-body {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Header & Glassmorphism Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
}

.navbar-brand-logo {
    height: 42px !important;
    width: auto !important;
    max-height: 46px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-brand-logo:hover {
    opacity: 0.95;
}

.navbar-nav {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.nav-link-custom {
    color: var(--color-text-main) !important;
    font-size: 0.925rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    transition: color 0.25s ease;
    display: inline-block;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--color-brand-blue) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 90px;
    background: var(--color-hero-bg);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: var(--color-brand-blue-light);
    border: 1px solid rgba(0, 102, 204, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-brand-blue);
    margin-bottom: 24px;
}

.hero-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-brand-blue);
    box-shadow: 0 0 8px var(--color-brand-blue);
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-bright);
    margin-bottom: 20px;
}

.text-gradient {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin-bottom: 32px;
}

/* Feature Cards & High-Contrast Icon Boxes */
.glass-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    height: 100%;
}

.glass-card:hover {
    background: var(--color-bg-card);
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 102, 204, 0.08);
}

/* Bold, Highly-Visible Icon Boxes */
.card-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--color-brand-blue);
    border: 1px solid var(--color-brand-blue-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    margin-bottom: 20px;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.card-icon-box i,
.card-icon-box svg {
    color: #ffffff !important;
    fill: currentColor;
    font-size: 1.5rem;
}

.service-card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

/* Counter / Stats Section */
.stat-card {
    border-left: 3px solid var(--color-brand-blue);
    padding-left: 18px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-brand-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

/* Call to Action Banner */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, #0052cc 0%, #0066cc 100%);
    border-radius: 20px;
    padding: 50px 40px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.25);
}

/* Footer */
.site-footer {
    background-color: #0b1329;
    border-top: 1px solid #1e293b;
    padding-top: 70px;
    padding-bottom: 35px;
    color: #94a3b8;
}

.footer-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-uppercase;
    letter-spacing: 0.05em;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: #ffffff;
}

/* Custom Signature Blue Buttons */
.btn-strobell-primary {
    background-color: var(--color-brand-blue);
    color: #ffffff !important;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-strobell-primary:hover {
    background-color: var(--color-brand-blue-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.4);
}

.btn-strobell-outline {
    background-color: transparent;
    color: var(--color-brand-blue) !important;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 8px;
    border: 1.5px solid var(--color-brand-blue);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-strobell-outline:hover {
    background-color: var(--color-brand-blue-light);
    border-color: var(--color-brand-blue);
    color: var(--color-brand-blue-hover) !important;
}

.bg-subtle {
    background-color: #f8fafc !important;
}

/* ==========================================================================
   Image Slider, Service Cards & Visual Gallery Extensions
   ========================================================================== */

.hero-slider-section {
    position: relative;
    padding-top: 72px; /* Header navbar offset */
}

.hero-carousel-item {
    height: calc(100vh - 72px);
    min-height: 560px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
}

.hero-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 7s ease-out;
}

.carousel-item.active .hero-carousel-img {
    transform: scale(1.08);
}

.hero-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(0, 102, 204, 0.45) 50%, rgba(15, 23, 42, 0.82) 100%);
    display: flex;
    align-items: center;
}

.hero-carousel-caption {
    color: #ffffff;
    max-width: 820px;
}

.hero-carousel-caption .hero-title {
    color: #ffffff !important;
}

.hero-carousel-caption .hero-subtitle {
    color: #e2e8f0 !important;
}

.carousel-indicators-custom {
    bottom: 28px;
}

.carousel-indicators-custom [data-bs-target] {
    width: 36px;
    height: 6px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.carousel-indicators-custom .active {
    width: 54px;
    background-color: var(--color-brand-blue);
}

/* Service Image Cards (Archetype: https://strobell-africa.vercel.app/) */
.service-image-card {
    position: relative;
    height: 440px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: block;
}

.service-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-card:hover img {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 19, 41, 0.95) 0%, rgba(11, 19, 41, 0.4) 60%, rgba(11, 19, 41, 0.15) 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.4s ease;
}

.service-image-card:hover .service-image-overlay {
    background: linear-gradient(to top, rgba(0, 102, 204, 0.92) 0%, rgba(0, 102, 204, 0.55) 60%, rgba(11, 19, 41, 0.2) 100%);
}

.service-image-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-image-desc {
    color: #e2e8f0;
    font-size: 0.925rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-image-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Full-Bleed Seamless Image Tile Grid (Exact Match for https://strobell-africa.vercel.app/) */
.service-tile-grid {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.service-tile-card {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none !important;
    display: block;
}

.service-tile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-tile-card:hover img {
    transform: scale(1.1);
}

.service-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 2.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-tile-card:hover .service-tile-overlay {
    background: rgba(0, 102, 204, 0.85); /* Signature Cobalt Blue Overlay on Hover */
}

.service-tile-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    text-transform: uppercase;
}

.service-tile-desc {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    max-width: 520px;
}

.service-tile-action {
    align-self: flex-end;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .service-tile-card {
        height: 380px;
    }
    .service-tile-title {
        font-size: 1.5rem;
    }
    .service-tile-overlay {
        padding: 1.75rem;
    }
}

/* Page Hero Header Banner with Background Image */
.page-hero-banner {
    position: relative;
    padding-top: 150px;
    padding-bottom: 85px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 19, 41, 0.9) 0%, rgba(0, 82, 204, 0.65) 60%, rgba(11, 19, 41, 0.88) 100%);
    backdrop-filter: blur(2px);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-hero-content .hero-title {
    color: #ffffff !important;
}

.page-hero-content .hero-subtitle {
    color: #cbd5e1 !important;
}

/* Full Width Consultation Section with Background Image */
.consultation-section-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 110px 0;
    color: #ffffff;
    overflow: hidden;
}

.consultation-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 19, 41, 0.78);
    backdrop-filter: blur(3px);
}

/* Corporate Client Logos Styling */
.client-logo-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px 28px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.client-logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 14px 28px rgba(0, 102, 204, 0.12);
}

.client-logo-img {
    max-height: 60px;
    max-width: 85%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.client-logo-card:hover .client-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Corporate Footer High Contrast & Legibility Fixes */
.site-footer {
    background-color: #0b1329 !important;
    color: #e2e8f0 !important;
    padding-top: 60px;
    padding-bottom: 30px;
}

.site-footer .footer-heading {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.site-footer p,
.site-footer .text-muted,
.site-footer .fs-sm,
.site-footer .fs-xs {
    color: #cbd5e1 !important; /* High contrast legible slate-200 */
    font-size: 0.95rem;
    line-height: 1.6;
}

.site-footer .footer-link {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
    padding: 3px 0;
}

.site-footer .footer-link:hover {
    color: #38bdf8 !important; /* Bright sky blue hover accent */
    padding-left: 4px;
}

.site-footer i.text-primary {
    color: #38bdf8 !important; /* Bright sky blue icon accent */
}

.site-footer .border-top,
.site-footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
}
