/* Smart Cargo Page Styles */

/* Modern Hero Section */
.modern-hero-section {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(110px, 14vh, 140px) 0 clamp(48px, 8vh, 72px);
    margin-top: 0;
    background-attachment: fixed;
    isolation: isolate;
}

.modern-hero-section > .container {
    position: relative;
    z-index: 3;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('https://media.thenetforce.org/ASI_Website/pexels-tomfisk-1554646.webp') center/cover no-repeat;
    background-attachment: fixed;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: white;
    width: min(100%, 880px);
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 123, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modern-hero-section .hero-logo {
    margin-bottom: 1.25rem !important;
    line-height: 0;
}

.modern-hero-section .hero-logo img {
    max-height: clamp(76px, 13vh, 116px) !important;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    border-radius: 8px;

}

.hero-logo img:hover {
    transform: scale(1.05);
     border-radius: 8px;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #007bff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-top: 0;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    margin: 0 auto 1.6rem;
    opacity: 0.9;
    max-width: 820px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(1.25rem, 4vw, 3rem);
    margin: 0 auto 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #007bff;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.hero-cta {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #000;
}

.hero-cta i {
    margin-right: 0.5rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: #007bff;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 3;
}

.image-container {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 150px;
}

.floating-card:not(.bottom) {
    top: 20%;
    right: -10%;
}

.floating-card.bottom {
    bottom: 20%;
    left: -10%;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-indicator a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

/* Overview Section */
.modern-overview-section {
    position: relative;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.section-badge i {
    margin-right: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.overview-highlights {
    list-style: none;
    padding: 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #495057;
}

.highlight-item i {
    font-size: 1.2rem;
}

.overview-image .image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

/* Modern Features Section */
.modern-features-section .section-header {
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #007bff, #0056b3);
    transition: height 0.3s ease;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
    border-color: rgba(0, 123, 255, 0.3);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.5rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #0056b3;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    color: #495057;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 0.9rem;
}

.feature-list i {
    color: #007bff;
    font-size: 0.8rem;
}

/* Demo Request Section */
.demo-request-section {
    position: relative;
    overflow: hidden;
}

.demo-request-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="%23ffffff" opacity="0.05"><circle cx="10" cy="10" r="1"/><circle cx="30" cy="10" r="1"/><circle cx="50" cy="10" r="1"/><circle cx="70" cy="10" r="1"/><circle cx="90" cy="10" r="1"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.demo-content {
    position: relative;
    z-index: 2;
}

.demo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-badge i {
    margin-right: 0.5rem;
}

.demo-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.demo-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.demo-features {
    margin-bottom: 3rem;
}

.demo-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.demo-feature i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.demo-actions {
    text-align: center;
}

.demo-btn {
    background: white;
    color: #007bff;
    border: none;
    font-weight: 600;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    color: #007bff;
}

.demo-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    color: white;
}

.demo-note i {
    margin-right: 0.5rem;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-hero-section {
        min-height: auto;
        padding: 96px 0 48px;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .floating-card {
        position: static;
        margin: 1rem 0;
    }
    
    .demo-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .modern-hero-section {
        padding: 88px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-description {
        line-height: 1.5;
    }

    .stat-item {
        min-width: 90px;
    }
    
    .demo-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
