/* Css for the invoice */
.invoice-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #333;
}

.tagline {
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
}

.invoice-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.invoice-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.invoice-number {
    font-size: 1.5rem;
    font-weight: 600;
}

.invoice-date {
    font-size: 1rem;
    color: #666;
}

.inovice-container.section-title {
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.payment-details {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.25rem;
}

.table th {
    font-weight: 600;
    color: #555;
}

.total-row {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

#footer-logo .logo {
    width: 100px;
    /* Adjust as needed */
    height: auto;
    /* Maintain aspect ratio */
}

/* Styling the read page */
.post-header {
    padding: 3rem 0 1.5rem;
    text-align: center;
}
.post-meta {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}
.post-image-container {
    margin: 2rem 0;
    text-align: center;
    max-height: 70vh;
    overflow: hidden;
}
.post-image {
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.tag-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    background-color: #f8f9fa;
    border-radius: 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tag-link:hover {
    background-color: #007bff;
    color: white;
}
.share-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.share-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: none;
    background-color: #f8f9fa;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.share-button:hover {
    background-color: #007bff;
    color: white;
}
.share-button i {
    margin-right: 0.5rem;
}
.copy-message {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}
.comment-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin: 2rem 0;
}
.comment-box {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.comment-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}
.comment-content {
    flex: 1;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.comment-form textarea {
    min-height: 150px;
}
.comment-form button {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.comment-form button:hover {
    background-color: #0069d9;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .post-header {
        padding: 2rem 0 1rem;
    }
    .comment-section {
        padding: 2rem 0;
    }
}

/*style for the icon*/
.icon-3xl i {
    font-size: 3rem;
    color: #141414;
    margin-bottom: 10px;
}

/*style for the customer logo's*/
.client-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


/* Reduce spacing between list items */
.list-inline-sm {
    margin-bottom: 0;
    display: inline-block;
    margin: 0 3px; /* Reduce margin to bring circles closer */
}


.section-xl {
    /* background-image: url('fallback-image.jpg'); */
    background-size: cover;
    background-position: center;
}


/* Styling for the research page  */

.research-hover {
    position: relative;
    height: 500px; /* Default height */
}

@media (max-width: 992px) {
    .research-hover {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .research-hover {
        height: 300px;
    }
}

/* Styling the hero section on the store page  */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('https://cdn.jsdelivr.net/gh/stemaide/reformare-cdn@main/assets/images/heroes/new_web_transparent.webp') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
}

/* fixing image alignment for store page  */
.fixed-height {
    height: 300px;
    width: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    object-position: center; /* Centers the image within the container */
}


#store-hero .hero-section::before {
    content: "";
    position: absolute;
    top: auto;
    left: 0;
    width: 100%;
    height: 60vh;
    background: rgba(0, 0, 0, 0.5);
    /* Adjust darkness */
    z-index: 1;
}

#store-hero .hero-section .container {
    position: relative;
    z-index: 2;
}

/* Styling the featured product section on the store page  */

#store .product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#store .product-main-img {
    max-width: 100%;
    height: auto;
}

#store .product-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#store .product-rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

#store .product-desc {
    margin-bottom: 1.5rem;
}


#store .product-details {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

#store .quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quantity-input {
    width: 60px;
    text-align: center;
    margin: 0 10px;
}

#store .thumbnail-img {
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 5px;
    transition: border-color 0.3s;
    height: 80px;
    width: 80px;
    object-fit: contain;
}

#store .thumbnail-img:hover {
    border-color: #007bff;
}

.related-product-card {
    height: 100%;
    transition: transform 0.3s;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

.related-product-img {
    height: 150px;
    object-fit: contain;
    padding: 1rem;
}

#store .cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    display: none;
}

#store .add-to-cart-btn {
    background-color: #4e9af8;
    border-color: #4e9af8;
}

#store .add-to-cart-btn:hover {
    background-color: #3a89e9;
    border-color: #3a89e9;
}

#store .checkout-btn {
    background-color: #28a745;
    border-color: #28a745;
}

#store .checkout-btn:hover {
    background-color: #218838;
    border-color: #218838;
}

/* Styling the team carousel  */
#teamCarousel .team-img {
    position: relative;
    overflow: hidden;
}

#teamCarousel .team-img img {
    transition: transform 0.3s ease;
}

#teamCarousel .team-img:hover img {
    transform: scale(1.1);
}

#teamCarousel .team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#teamCarousel .team-img:hover .team-overlay {
    opacity: 1;
}

#teamCarousel .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

#teamCarousel .social-links li {
    margin: 0 5px;
}

#teamCarousel .social-links li a {
    color: white;
    font-size: 18px;
}

.section-lg.bg-image.parallax{
    /* filter: brightness(50%); */
    position: relative;
}
.section-lg.bg-image.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% dark overlay; */
    z-index: 1;
}

.section-lg.bg-image.parallax h1, .breadcrumb{
    position: relative;
    z-index: 2;
}
.language-switcher {
    position: absolute;
    top: 15px;
    /* Adjust as needed */
    right: 20px;
    /* Adjust as needed */
    z-index: 1000;
    font-family: Arial, sans-serif;
    /* background-color: rgba(255, 255, 255, 0.9); */
    padding: 5px 10px;
    /* Smaller padding since flags are visual */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    /* Use flexbox for alignment */
    gap: 8px;
    /* Space between flags */
    align-items: center;
    /* Vertically align items */
}

.language-switcher a {
    display: inline-flex;
    /* To correctly center image if needed */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid transparent;
    /* Subtle border for selected state */
    border-radius: 3px;
    /* Slightly rounded corners for flags */
    transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.language-switcher a:hover {
    border-color: #007bff;
    /* Highlight border on hover */
    opacity: 0.8;
    /* Slight opacity change on hover */
}

.language-switcher a.active {
    border-color: #007bff;
    /* Stronger border for active flag */
    opacity: 1;
    cursor: default;
    /* Indicate it's not clickable */
    pointer-events: none;
    /* Make active flag non-clickable */
}

.language-switcher img.flag-icon {
    width: 24px;
    /* Adjust flag size as needed */
    height: 16px;
    /* Maintain aspect ratio (3:2 typical) */
    vertical-align: middle;
    /* Align with text if you add any */
    display: block;
    /* Remove extra space below image */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-switcher {
        position: static;
        width: 100%;
        text-align: center;
        padding: 10px;
        box-shadow: none;
        border-radius: 0;
        background-color: #f8f8f8;
        margin-top: 10px;
        justify-content: center;
    }

    .language-switcher img.flag-icon {
        width: 28px;
        /* Slightly larger on mobile */
        height: 18.66px;
    }
}
