/* Custom Styles for Firbeson Landing Page */
 :root {
    --color-primary: #012269;
}

.text-primary {
    color: var(--color-primary);
}

.bg-primary {
    background-color: var(--color-primary);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}


/* Navbar Styling */
#navbar {
    background-color: transparent;
}

#navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Hero Section */
#home img {
    object-fit: cover;
    object-position: center;
}

/* Slick Slider Customization */
.slick-prev,
.slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 40px;
    opacity: 0.75;
    color: #2563eb;
}

.slick-prev:hover:before,
.slick-next:hover:before {
    opacity: 1;
}

.slick-dots {
    bottom: -50px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #2563eb;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #2563eb;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Card Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button Hover Effects */
button,
.btn {
    transition: all 0.3s ease;
}

/* Responsive Utilities */
/* @media (max-width: 768px) {
    .products-slider .slick-prev,
    .products-slider .slick-next {
        display: none !important;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
} */

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background-color: #1e40af;
    transform: translateY(-5px);
}

/* Certificate Icons Animation */
#certificates .flex:hover {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Product Cards */
.products-slider .slick-slide {
    padding: 0 10px;
}

/* News Cards Date Badge */
.news-date {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

/* Contact Form Validation */
/* input:invalid,
textarea:invalid {
    border-color: #ef4444;
}

input:valid,
textarea:valid {
    border-color: #10b981;
} */

/* Footer Links Hover */
footer a:hover {
    text-decoration: underline;
}

/* Gradient Overlay for Hero */
/* #home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
} */

#home > div {
    position: relative;
    z-index: 2;
}

/* Section Padding */
section {
    scroll-margin-top: 80px;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    #navbar,
    #scrollToTop,
    footer {
        display: none;
    }
}
