/* Custom CSS for LuziCargo Website */

/* Form styling improvements */
.form-control {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background-color: transparent !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4c46c0 !important;
    box-shadow: 0 0 0 0.2rem rgba(76, 70, 192, 0.25) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

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

/* Button hover effects */
.btn-gradient-orange-sky-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease;
}

.btn-box-shadow:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* Video styling */
video {
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    max-width: 100%;
    height: auto;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Section spacing adjustments */
section {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Alert styling */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 15px;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Visually hidden class for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation enhancements */
.animation-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive improvements */
@media (max-width: 991px) {
    .text-center.text-md-start {
        text-align: center !important;
    }
    
    .ps-8 {
        padding-left: 0 !important;
    }
    
    .w-70 {
        width: 100% !important;
    }
    
    .w-80 {
        width: 100% !important;
    }
}

/* Loading spinner for form submission */
.btn-loading span {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}