/*
Theme Name: Vantasource Theme
Author: Vantasource
Description: Custom Corporate Logistics Theme
Version: 1.3
*/

/* =========================================
   1. GLOBAL RESETS & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 86px; /* Space for fixed navbar (corporate header) */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0f172a;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =========================================
   2. NAVBAR (CORPORATE WHITE) + DROPDOWNS
   ========================================= */

.navbar {
    background: #ffffff !important;
    transition: all 0.3s ease;
    padding: 16px 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: none !important; /* remove glass */
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}

.navbar.scrolled {
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Brand */
.navbar-brand {
    font-size: 1.65rem !important;
    color: #0f172a !important;
}

/* Nav links */
.nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 6px;
    color: #0f172a !important;
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6 !important;
}

/* Services dropdown toggle should not look like a "language button" */
.navbar .nav-link.dropdown-toggle {
    border: none;
}

/* Dropdown menu */
.dropdown-menu {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    min-width: 220px;
    animation: fadeIn 0.2s ease-out;
    margin-top: 10px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown items */
.dropdown-item {
    padding: 12px 18px !important;
    margin: 4px 8px;
    border-radius: 10px;
    border-left: 4px solid transparent;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    width: calc(100% - 16px);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(59, 130, 246, 0.10) !important;
    color: #0f172a !important;
    transform: translateX(4px);
    border-left-color: #3b82f6;
    box-shadow: none;
}

/* Flag Icons */
.dropdown-item .me-2 {
    font-size: 1.2rem;
    min-width: 24px;
}

/* Active dropdown item */
.dropdown-item.active {
    background: rgba(59, 130, 246, 0.12) !important;
    color: #0f172a !important;
}

/* Mobile menu */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 16px;
        border-radius: 14px;
        margin-top: 12px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }

    .dropdown-menu {
        margin: 6px 0 !important;
    }

    .nav-link.dropdown-toggle {
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-wave-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    padding-top: 60px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(12, 35, 120, 0.92) 0%, rgba(30, 80, 220, 0.85) 100%),
        url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #ffffff;
    padding-bottom: 120px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #ffffff;
    max-width: 600px;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* =========================================
   4. WAVE DIVIDER
   ========================================= */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #FFFFFF !important;
}

/* =========================================
   5. BUTTONS
   ========================================= */
.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    padding: 14px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.5);
}

.btn-outline-light {
    border-width: 2px;
    padding: 14px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #0f172a;
    transform: translateY(-2px);
}

/* =========================================
   6. TRUST BAR
   ========================================= */
.trust-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
}

.trust-stat-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

/* =========================================
   7. SERVICES SECTION
   ========================================= */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

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

/* =========================================
   8. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-wave-section {
        min-height: 80vh;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .trust-stat-number {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-outline-light {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 10px;
    }

    .custom-shape-divider-bottom svg {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem !important;
    }
}

/* =========================================
   9. GRADIENT EFFECTS
   ========================================= */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* =========================================
   10. FEATURE CARDS
   ========================================= */
.feature-card {
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   11. PRICING CARDS
   ========================================= */
.pricing-card {
    position: relative;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: #667eea;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 1.5rem 0;
}

.price-currency {
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

/* =========================================
   12. TESTIMONIALS
   ========================================= */
.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.testimonial-author {
    font-weight: 600;
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #64748b;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

/* =========================================
   13. PORTFOLIO SECTION
   ========================================= */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* =========================================
   14. FORMS
   ========================================= */
.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
}

.form-label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

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

/* =========================================
   15. SECTION HEADERS
   ========================================= */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #667eea;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* =========================================
   16. TIMELINE
   ========================================= */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    margin-bottom: 3rem;
    margin-left: 4rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #667eea;
}

.timeline-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #64748b;
    font-size: 0.95rem;
}

/* =========================================
   17. CTA SECTION
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =========================================
   18. HOVER EFFECTS
   ========================================= */
.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

/* =========================================
   19. ANIMATIONS
   ========================================= */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

/* =========================================
   20. UTILITIES
   ========================================= */
.breadcrumb-nav {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin: 0 0.5rem;
}

.divider-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    margin: 0 auto 2rem;
}

.section-space {
    padding: 5rem 0;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

/* =========================================
   FLOATING CONTACT BUTTON
========================================= */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3b82f6;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-contact-btn:hover {
    background: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.floating-contact-btn i {
    font-size: 1.2rem;
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .floating-contact-btn span {
        display: none;
    }

    .floating-contact-btn {
        padding: 16px;
        border-radius: 50%;
    }
}

/* =========================================
   21. RESPONSIVE IMPROVEMENTS
   ========================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .hero-wave-section {
        min-height: 70vh;
    }

    .section-space {
        padding: 3rem 0;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-item {
        margin-left: 2.5rem;
    }

    .timeline-item::before {
        left: -2.5rem;
    }
}
