/* Custom Animations & Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #111111;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: 'Poppins', sans-serif;
}

.glowing-icon {
    filter: drop-shadow(0 0 10px rgba(227, 30, 36, 0.6));
}

.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.08);
}

/* Swiper Customizations */
.swiper-pagination-bullet-active {
    background-color: #E31E24 !important;
}

/* Add padding to wrapper to prevent shadow clipping on hover */
.product-swiper {
    padding-bottom: 60px !important;
    padding-top: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin: -10px !important;
}

/* Testimonial Swiper Unique Design */
.testimonial-swiper {
    padding-bottom: 60px !important;
    padding-top: 20px !important;
}

.testimonial-swiper .swiper-slide {
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.85) translateY(20px);
    filter: grayscale(100%);
}

.testimonial-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: grayscale(0%);
    z-index: 10;
}

/* Navbar Scroll Effects */
#navbar {
    background-color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
}

#navbar .navbar-brand .default-logo {
    opacity: 1;
    width: 150px;
    margin-top: 10px;
}

#navbar .navbar-brand .alt-logo {
    opacity: 0;
    width: 0px;
}

#navbar.is-scrolled .navbar-brand .default-logo {
    opacity: 0;
    width: 0px;
    margin-top: 0px;
}

#navbar.is-scrolled .navbar-brand .alt-logo {
    opacity: 1;
    width: 100px;
}

#navbar.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0;
    padding-bottom: 0;
}

#navbar .logo-primary,
#navbar .logo-secondary {
    color: white;
    transition: color 0.3s ease;
}

#navbar.is-scrolled .logo-primary,
#navbar.mobile-menu-open .logo-primary {
    color: #231F20;
}

#navbar.mobile-menu-open .logo-primary {
    color: white !important;
}

#navbar.is-scrolled .logo-secondary,
#navbar.mobile-menu-open .logo-secondary {
    color: #E31E24;
}

#navbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

#navbar .nav-link:hover {
    color: white;
}

#navbar.is-scrolled .nav-link {
    color: #4b5563;
}

#navbar.is-scrolled .nav-link:hover {
    color: #E31E24;
}

/* Mobile Menu Button Color */
#mobile-menu-btn {
    color: white;
    transition: color 0.3s ease;
}

#navbar.is-scrolled #mobile-menu-btn {
    color: #231F20;
}

#navbar.mobile-menu-open #mobile-menu-btn {
    color: white !important;
}

/* Staggered Mobile Menu Item Animations */
.mobile-nav-item {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- NEW COVERFLOW HERO STYLES --- */
.hero-coverflow-wrapper {
    background-color: #0b111a;
    /* Deep industrial dark background */
    background-image: radial-gradient(circle at 50% 50%, #1a2333 0%, #0b111a 100%);
}

.hero-coverflow-swiper {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-coverflow-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 85%;
    max-width: 1100px;
    height: 65vh;
    min-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Customize the swiper pagination dots for the hero */
.hero-coverflow-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.hero-coverflow-swiper .swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 30px;
    border-radius: 10px;
}

/* Floating Collage Images Animation */
.collage-img {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9) translate(20px, 0);
    opacity: 0;
}

.swiper-slide-active .collage-img {
    transform: scale(1) translate(0, 0);
    opacity: 1;
}

.swiper-slide-active .collage-delay-1 {
    transition-delay: 0.3s;
}

.swiper-slide-active .collage-delay-2 {
    transition-delay: 0.5s;
}

.swiper-slide-active .collage-delay-3 {
    transition-delay: 0.7s;
}

/* Content Reveal Animations inside Swiper */
.slide-content-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.swiper-slide-active .slide-content-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.2s;
}

.delay-200 {
    transition-delay: 0.4s;
}

.delay-300 {
    transition-delay: 0.6s;
}

/* Timeline Vertical Line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e5e7eb;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 16px;
        /* Centered perfectly with w-8 (32px) circle */
        transform: none;
    }
}

/* Lightbox Modal Specifics */
#image-modal {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#image-modal.open {
    opacity: 1;
    visibility: visible;
}

#modal-image {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.95);
}

#image-modal.open #modal-image {
    transform: scale(1);
}