/* =====================================================
   ELITE LOGISTICS - Components (Blue & White Premium)
   ===================================================== */

/* BUTTONS - A Class Font */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--color-surface);
    transform: translateY(-3px);
}

.btn-lg { padding: 18px 40px; font-size: 15px; }
.btn-sm { padding: 10px 20px; font-size: 12px; }

/* CARDS */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-body { padding: 32px; }

/* Service Card */
.service-card {
    position: relative;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-xl);
    transform: translateY(-12px);
}

.service-card .icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-highlight) 100%);
    transform: scale(1.1);
}

.service-card:hover .icon svg {
    stroke: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card .link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* FORMS */
.form-group { margin-bottom: 24px; }

.form-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: var(--color-text-light);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--color-primary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-highlight) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
}

.logo-icon svg { stroke: white; }

/* Navigation - Bold A Class */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
}

.nav-cta { margin-left: 8px; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

/* Top Bar - Blue A Class */
.top-bar {
    background: var(--color-primary);
    color: white;
    height: 42px;
    padding: 0;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
}

.top-bar a {
    color: rgba(255,255,255,0.8);
}

.top-bar a:hover { color: white; }

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* FOOTER - Blue (Same as Top Bar) */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { color: white; margin-bottom: 20px; }
.footer-brand .logo-icon { background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-highlight) 100%); }

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-title {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 24px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--color-highlight);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: white;
}

/* Designed By Section - Darker Blue */
.designed-by {
    background: #152a45;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.designed-by p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 14px;
    font-family: var(--font-accent);
    font-weight: 500;
}

.designed-by strong {
    color: white;
    font-weight: 700;
}

/* FLOATING BUTTONS */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.float-btn svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: white;
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.float-btn.call {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-highlight) 100%);
}

.float-btn .tooltip {
    position: absolute;
    right: 75px;
    background: var(--color-primary);
    color: white;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
}

.float-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* SECTION HEADERS - A Class Font */
.section-header { margin-bottom: 60px; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 600px;
}

/* STATS COUNTER */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

/* MARQUEE */
.marquee {
    overflow: hidden;
    padding: 20px 0;
    background: var(--color-primary);
    margin: 40px 0;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.marquee-item::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-highlight);
    border-radius: 50%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ALERTS */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--color-primary);
}

/* PAGE HERO - A Class Font */
.page-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--color-surface) 0%, #EFF6FF 100%);
    text-align: center;
}

/* PAGE HERO WITH IMAGE */
.page-hero-with-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top: 0;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none !important;
    image-rendering: auto;
    transform: translateZ(0);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.page-hero-with-image .page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 140px;
}

.page-hero-with-image .page-title {
    color: white;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.page-hero-with-image .page-subtitle {
    color: rgba(255,255,255,0.9);
}

.page-hero-with-image .section-label {
    background: rgba(255,255,255,0.2);
    color: white;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 16px 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.back-to-top:hover svg { stroke: white; }
