/* Sutorang Courier - Premium Custom Styling Override Stylesheet */

/* Root Configuration & Colors */
:root {
    --bs-primary: #0f172a;       /* Deep slate navy */
    --bs-primary-rgb: 15, 23, 42;
    --bs-danger: #ea2027;        /* Crimson courier red */
    --bs-danger-rgb: 234, 32, 39;
    --bs-warning: #ea580c;       /* Orange courier accent */
    --bs-body-font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Header Overrides */
.header-top {
    background-color: #0f172a;
    font-size: 13px;
}
.header-top a {
    transition: color 0.3s ease;
}
.header-top a:hover {
    color: var(--bs-danger) !important;
}

.site-logo-badge {
    border-width: 2px !important;
}
.site-logo-badge h1 {
    letter-spacing: -1px;
    font-weight: 800;
}

.navbar {
    transition: all 0.3s ease;
}
.navbar-nav .nav-link {
    color: #475569;
    font-size: 15px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: var(--bs-danger);
    background-color: #f1f5f9;
}
.navbar-nav .nav-link.active {
    background-color: var(--bs-danger) !important;
    color: white !important;
}

/* Carousel Hero Slider */
.carousel-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
.carousel-image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8));
    z-index: 2;
}
.carousel-caption {
    z-index: 3;
    left: 10%;
    right: 10%;
}
.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

/* Tracking form & Box overlay */
.tracking-box-container {
    z-index: 10;
}
.tracking-form-wrap {
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

/* Counter & Stats Section */
.stat-item {
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
}
.stat-icon-wrapper i {
    transition: transform 0.4s ease;
}
.stat-item:hover .stat-icon-wrapper i {
    transform: scale(1.1) rotate(5deg);
}

/* Side Zoom Image Effect */
.zoom-hover-effect {
    transition: transform 0.6s ease;
}
.zoom-hover-effect:hover {
    transform: scale(1.05);
}

/* Common Hover Animations */
.hover-translate-y {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-translate-y:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15) !important;
}

.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* Service Card Design overrides */
.service-col-card {
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}
.service-badge-icon {
    box-shadow: 0 4px 10px rgba(234, 32, 39, 0.3);
}

/* Shipping Partners & Custom Logos */
.partner-card {
    transition: all 0.3s ease;
}
.partner-card:hover {
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.15) !important;
}

/* Timeline Stepper for Track result */
.shipment-timeline {
    border-left: 0 !important;
}
.timeline-step-item {
    position: relative;
}

/* Contact page custom overrides */
.backdrop-blur {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Section */
.main-footer {
    background-color: #0f172a;
    border-top: 3px solid var(--bs-danger);
    color: #cbd5e1; /* Slate-300: High-contrast light gray */
}
.main-footer .text-secondary-subtle {
    color: #94a3b8 !important; /* Slate-400: clearly visible muted text */
}
.main-footer a.text-secondary-subtle {
    color: #94a3b8 !important;
    transition: all 0.3s ease;
}
.main-footer a.text-secondary-subtle:hover {
    color: var(--bs-danger) !important;
}
.footer-links li a {
    transition: all 0.3s ease;
}
.footer-links li a:hover {
    color: var(--bs-danger) !important;
    padding-left: 5px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-btn:hover {
    color: white;
    transform: scale(1.1);
}
.social-btn.facebook:hover { background-color: #1877f2; }
.social-btn.twitter:hover { background-color: #1da1f2; }
.social-btn.linkedin:hover { background-color: #0077b5; }
.social-btn.instagram:hover { background-color: #e4405f; }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 450px !important;
    }
    .carousel-caption h2 {
        font-size: 2.2rem !important;
    }
    .tracking-box-container {
        position: relative !important;
        bottom: 0 !important;
        transform: none !important;
        left: 0 !important;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .about-stats-section {
        margin-top: 20px !important;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 350px !important;
    }
    .carousel-caption h2 {
        font-size: 1.5rem !important;
    }
    .carousel-caption {
        left: 5%;
        right: 5%;
    }
}