/* Custom styles for Bridge Warranties, enhancing Posh v2.0.0 theme */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    background-color: #f8f9fa;
}

.navbar {
    background-color: #6b48ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 70px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
    transform: translateY(-2px);
}

.hero-carousel .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-carousel .carousel-caption {
    background: rgba(107, 72, 255, 0.85);
    padding: 2rem;
    border-radius: 8px;
    bottom: 80px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hero-carousel .carousel-item.active .carousel-caption {
    transform: translateY(-10px);
}

.hero-carousel .carousel-caption h1 {
    font-size: calc(1.6rem + 2.5vw);
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-carousel .carousel-caption p {
    font-size: 1.25rem;
    font-weight: 300;
}

.features, .testimonials, .faq, .cta {
    padding: 5rem 0;
}

.features .card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.features .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.features .card img {
    max-width: 80px;
    margin: 1rem auto;
}

.features .card h3 {
    font-weight: 400;
    color: #6b48ff;
}

.testimonials {
    background-color: #f1f3f5;
}

.testimonials .swiper-slide {
    padding: 1rem;
}

.testimonials .card {
    border: none;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.testimonials .card p {
    font-style: italic;
    color: #555;
}

.faq {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/hero2.jpg');
    background-size: cover;
}

.faq .accordion-button {
    font-weight: 400;
    color: #333;
    border-radius: 0;
}

.faq .accordion-button:not(.collapsed) {
    background-color: #e6e1ff;
    color: #6b48ff;
}

.cta {
    background: linear-gradient(rgba(107, 72, 255, 0.9), rgba(107, 72, 255, 0.9)), url('images/hero3.jpg');
    background-size: cover;
    color: #fff;
}

.btn-primary {
    background-color: #6b48ff;
    border-color: #5a3cd6;
    font-weight: 400;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #5a3cd6;
    border-color: #4e33bf;
    transform: translateY(-3px);
}

.btn-light {
    background-color: #fff;
    border-color: #ccc;
    color: #333;
    font-weight: 400;
    border-radius: 8px;
}

.btn-light:hover,
.btn-light:focus {
    background-color: #f8f9fa;
    border-color: #bbb;
}

.form-control, .form-select {
    font-size: 0.9rem;
    border-radius: 8px;
    border-color: #ccc;
}

.form-control:focus, .form-select:focus {
    border-color: #b3a4ff;
    box-shadow: 0 0 0 0.25rem rgba(107, 72, 255, 0.25);
}

.alert-success {
    color: #1b452a;
    background-color: #d9eee1;
    border-color: #b4dec3;
}

.alert-danger {
    color: #601a0e;
    background-color: #fcd9d3;
    border-color: #f9b3a7;
}

.parallax {
    position: relative;
    z-index: 1;
}