/**
 * Cortexa - Site Vitrine
 * Styles personnalisés
 */

/* ============================================
   Variables CSS
============================================ */
:root {
    /* Couleurs principales */
    --primary: #00323f;
    --primary-light: #004d5c;
    --primary-dark: #001f28;
    --primary-rgb: 0, 50, 63;

    /* Couleurs secondaires */
    --secondary: #10b981;
    --secondary-light: #34d399;
    --secondary-dark: #059669;

    /* Accent */
    --accent: #f97316;
    --accent-light: #fb923c;

    /* Neutres */
    --white: #ffffff;
    --light: #f8fafc;
    --light-gray: #e2e8f0;
    --gray: #64748b;
    --dark-gray: #334155;
    --dark: #0f172a;

    /* Autres */
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;

    /* Typographie */
    --font-family: 'Familjen Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Espacements */
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============================================
   Reset & Base
============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Utilitaires
============================================ */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-gray { color: var(--gray) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.section-padding {
    padding: var(--section-padding) 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: var(--section-padding-mobile) 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   Boutons
============================================ */
.btn {
    font-family: var(--font-family);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.btn-secondary-custom:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.25rem;
}

/* ============================================
   Navbar
============================================ */
.navbar {
    background-color: var(--primary);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--primary);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--white) !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 10px 16px;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px;
}

.navbar .dropdown-item {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.navbar .dropdown-item:hover {
    background-color: var(--light);
    color: var(--primary);
}

.navbar-cta {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .navbar-cta {
        margin-top: 20px;
        flex-direction: column;
        width: 100%;
    }

    .navbar-cta .btn,
    .navbar-cta .dropdown {
        width: 100%;
    }

    .navbar-cta .dropdown .btn {
        width: 100%;
    }
}

/* ============================================
   Hero Section
============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--secondary);
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stat .label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Dashboard Mockup */
.hero-mockup {
    position: relative;
    z-index: 2;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    max-width: 450px;
    margin-left: auto;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #eab308; }
.dashboard-dots span:nth-child(3) { background: #22c55e; }

.dashboard-title {
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.dashboard-live {
    background: var(--light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.dashboard-kpi {
    text-align: center;
    padding: 15px 10px;
    background: var(--light);
    border-radius: var(--radius);
}

.dashboard-kpi .value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.dashboard-kpi .label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 5px;
}

.dashboard-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.dashboard-feature {
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 500;
}

@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero .lead {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .dashboard-card {
        margin: 40px auto 0;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat {
        width: calc(50% - 10px);
    }
}

/* ============================================
   KPIs Section
============================================ */
.kpis-section {
    background: var(--light);
    padding: 60px 0;
}

.kpi-card {
    text-align: center;
    padding: 30px 20px;
}

.kpi-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.kpi-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.kpi-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.kpi-label {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* ============================================
   How It Works Section
============================================ */
.how-it-works {
    background: var(--white);
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -10%;
    width: 20%;
    height: 2px;
    background: var(--light-gray);
}

@media (max-width: 991px) {
    .step-card::after {
        display: none;
    }
}

.step-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.step-card p {
    font-size: 0.9375rem;
}

/* ============================================
   Features/Advantages Section
============================================ */
.features-section {
    background: var(--light);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-card h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ============================================
   Testimonials Section
============================================ */
.testimonials-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials-section .section-title h2,
.testimonials-section .section-title p {
    color: var(--white);
}

.testimonials-section .section-title .subtitle {
    color: var(--secondary);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 5rem;
    color: var(--light-gray);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info h5 {
    margin-bottom: 2px;
    color: var(--primary);
    font-size: 1rem;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--gray);
}

.testimonial-rating {
    margin-top: 15px;
}

.testimonial-rating i {
    color: var(--warning);
}

/* ============================================
   Sectors Section
============================================ */
.sectors-section {
    background: var(--white);
}

.sector-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    height: 100%;
}

.sector-card:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.sector-card:hover .sector-icon,
.sector-card:hover h5,
.sector-card:hover p {
    color: var(--white);
}

.sector-card:hover .sector-icon {
    background: rgba(255, 255, 255, 0.2);
}

.sector-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.sector-card h5 {
    color: var(--primary);
    margin-bottom: 8px;
    transition: var(--transition);
}

.sector-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
    transition: var(--transition);
}

.sector-card-detail {
    padding: 35px 25px;
}

.sector-card-detail .sector-short {
    font-weight: 600;
    margin-bottom: 10px;
}

.sector-card-detail .sector-detail {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--gray);
}

.sector-card-detail:hover .sector-detail {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   CTA Section
============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.cta-section .btn-light {
    background: var(--white);
    color: var(--secondary-dark);
    font-weight: 600;
}

.cta-section .btn-light:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.cta-section .btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary-dark);
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--primary);
    padding: 80px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 3px;
}

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

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 12px 15px;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
    box-shadow: none;
    color: var(--white);
}

.footer-separator {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 25px;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-link:hover {
    color: var(--secondary);
}

/* ============================================
   Back to Top Button
============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* ============================================
   Page Headers
============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.page-header .breadcrumb {
    justify-content: center;
    margin-top: 20px;
    position: relative;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: var(--secondary);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Bourse de Fret - Annonces
============================================ */
.freight-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    height: 100%;
}

.freight-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.freight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.freight-route {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.freight-route i {
    color: var(--secondary);
}

.freight-date {
    font-size: 0.875rem;
    color: var(--gray);
    background: var(--light);
    padding: 5px 12px;
    border-radius: 20px;
}

.freight-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.freight-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.freight-detail i {
    color: var(--primary);
}

.freight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.freight-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

.freight-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
}

/* ============================================
   Contact Form
============================================ */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form .form-control {
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

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

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.contact-info-text h5 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info-text p,
.contact-info-text a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.contact-info-text a:hover {
    color: var(--secondary);
}

/* ============================================
   Animations
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@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-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease forwards;
}

/* Animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   Responsive Adjustments
============================================ */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .contact-form,
    .contact-info-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        width: 100%;
    }

    .dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .freight-details {
        grid-template-columns: 1fr;
    }

    .footer {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-newsletter form {
        flex-direction: column;
    }
}
