/* Custom Styles for QDT Inc. Website */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    padding: 0.25rem 0;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: filter 0.3s ease;
}

.navbar-brand:hover img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.15);
    color: #ffc107 !important;
}

.dropdown-menu {
    border-radius: 12px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a:hover {
    color: #ffc107 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fa-microchip {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Text Colors */
.text-primary {
    color: #1e3a8a !important;
}

.text-warning {
    color: #ffc107 !important;
}

/* Background Colors */
.bg-primary {
    background-color: #1e3a8a !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

/* Part Search Styles */
.input-group-lg .form-control {
    border-radius: 12px 0 0 12px;
    border: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.input-group-lg .btn {
    border-radius: 0 12px 12px 0;
    padding: 1rem 2rem;
    font-weight: 600;
}

.input-group-lg .form-control:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Logo Styles */
.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Responsive Logo */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 30px !important;
    }
    
    .hero-section .d-flex img {
        height: 60px !important;
    }
}