/* 
 * Custom CSS for Imperial Chain Logistics 
 * Theme: Clean, corporate, trustworthy, neutral palette 
 * Palette: Dark Blue (#0a2540), Grey (#f1f5f9 / #64748b), White (#ffffff)
 */

 :root {
    --primary-color: #0d47a1; /* Trustworthy Corporate Blue */
    --primary-color-hover: #0a3a85;
    --primary-light: #64b5f6;
    --soft-primary: rgba(13, 71, 161, 0.08);
    
    --dark-blue: #0a2540;
    --darker-blue: #051628;
    
    --text-main: #334155;
    --text-muted: #64748b;
    
    --bg-light: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
}

section, header {
    scroll-margin-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-blue);
    letter-spacing: -0.02em;
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-primary-light { color: var(--primary-light) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-soft-primary { background-color: var(--soft-primary) !important; }
.bg-dark { background-color: var(--dark-blue) !important; }
.bg-darker { background-color: var(--darker-blue) !important; }
.bg-light { background-color: var(--bg-light) !important; }

.text-muted { color: var(--text-muted) !important; }
.tracking-wide { letter-spacing: 0.05em; }
.max-w-700 { max-width: 700px; }

.section-padding {
    padding: 100px 0;
}

@media (max-width: 991px) {
    .section-padding { padding: 70px 0; }
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar-brand {
    color: var(--dark-blue) !important;
    font-size: 1.4rem;
}

.nav-link {
    color: var(--text-main);
    transition: color 0.2s;
    font-weight: 500;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 71, 161, 0.2);
}

.pulse-btn {
    animation: pulseShadow 2s infinite;
}

@keyframes pulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(13, 71, 161, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(13, 71, 161, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 71, 161, 0); }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(13,71,161,0.05) 0%, rgba(248,250,252,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.hero-shape-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
}

/* Feature Cards & Services */
.feature-card, .service-card, .why-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-elevate:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

/* Compliance List */
.compliance-list .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Misc UI Elements */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Focus Utility for accessibility without breaking aesthetics */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
