/* Main CSS file for PASS Engineering Website */

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Shadows */
.custom-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.custom-shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Text Shadow for hero text */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Custom Dropdown Styles */
.dropdown-enter-active, .dropdown-leave-active {
    transition: all 0.3s ease;
}

.dropdown-enter-from, .dropdown-leave-to {
    opacity: 0;
    transform: translateY(-10px);
}

/* Enhanced Dropdown Visibility */
.force-visible {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.group:hover .group-hover\:visible,
.force-visible {
    display: block !important;
    transform: translateY(0) !important;
    transition: all 0.3s ease !important;
}

/* Custom Gradients */
.custom-gradient-primary {
    background: linear-gradient(135deg, #0a2d52 0%, #1a4980 100%);
}

.custom-gradient-secondary {
    background: linear-gradient(135deg, #e63946 0%, #f07178 100%);
}

/* Custom Hover Effects */
.hover-zoom {
    transition: transform 0.3s ease;
}

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

/* Custom Button Styles */
.btn-primary {
    @apply bg-primary text-white px-6 py-3 rounded-md font-medium transition-all;
}

.btn-primary:hover {
    @apply bg-opacity-90;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 45, 82, 0.2);
}

.btn-secondary {
    @apply bg-secondary text-white px-6 py-3 rounded-md font-medium transition-all;
}

.btn-secondary:hover {
    @apply bg-opacity-90;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

/* Custom Media Queries */
@media (max-width: 768px) {
    .reverse-cols {
        flex-direction: column-reverse;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0a2d52;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a4980;
}

/* For Firefox */
html {
    scrollbar-color: #0a2d52 #f1f1f1;
    scrollbar-width: thin;
}

/* Loader Animation */
.loader {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #0a2d52;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom List Style */
.custom-list li {
    position: relative;
    padding-left: 1.5rem;
}

.custom-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #e63946;
    border-radius: 50%;
} 