/*--------------------------------------------------------------
3. Carousel Section
--------------------------------------------------------------*/
.c-item {
    height: 700px;
}

.c-img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

/* Main Title Styling */
.carousel-main-title {
    font-size: 4rem;
    font-weight: 200;
    font-style: italic;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    position: absolute;
    bottom: 500px;
    left: 50%;
    width: 80%;
    max-width: 1000px;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

/* Custom styles for titles and paragraphs in the carousel */
#id_carousel h5 {
    font-size: 3rem;
    margin-top: 3rem;
    /* mt-5 equivalent */
}

#id_carousel p {
    font-size: 1.5rem;
    margin-top: 1rem;
    /* mt-2 equivalent */
}

/*--------------------------------------------------------------
4. About Us Section
--------------------------------------------------------------*/

/* Section: About Us */
.about-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Custom margin for the about section */
.about-content {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Spacing for content in the about section */
.about-content p {
    line-height: 1.6;
}

/* Image hover effect for About Us section */
.about-images img {
    transition: transform 0.3s ease;
}

.about-images img:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Ensure equal padding between image rows */
.about-images .col-6 {
    padding: 10px;
}

/*--------------------------------------------------------------
5. B2B/B2C Section
--------------------------------------------------------------*/

/* Customize buttons in the About section */
.btn-custom {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: var(--secondary);
    color: #fff;
}

/* Custom styling for buttons in the index page */
.btn-primary-index {
    background-color: var(--primary);
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary-index:hover {
    background-color: var(--secondary);
    color: white;
}

/* Custom border for sections */
.custom-section-border {
    border-top: 2px solid var(--primary);
    margin: 20px 0;
}

/*--------------------------------------------------------------
6. Feature Section
--------------------------------------------------------------*/

/* Styles for the feature section */
#id_feature {
    max-width: 500px;
    margin: 0 auto;
}

#id_feature h3 {
    font-size: 2.5rem;
    font-weight: 500;
    font-style: italic;
    text-align: center;
}

#id_feature p {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
7. Separator Line
--------------------------------------------------------------*/

.separator-line {
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #ccc;
    /* Adjust thickness and color */
    width: 70%;
}

/*--------------------------------------------------------------
8. Footer Section
--------------------------------------------------------------*/

/* Footer styling */
.footer {
    background-color: var(--dark);
    color: #b0b9ae;
    padding: 50px 0;
}

.footer a {
    color: #b0b9ae;
}

.footer a:hover {
    color: #fff;
}

.footer h4 {
    color: var(--primary);
}

/* Styling for quick links in the footer */
.footer .quick-links {
    display: flex;
    flex-wrap: wrap;
}

.footer .quick-links a {
    flex: 0 50%;
    /* Make each link take 50% of the space */
    color: #b0b9ae;
    transition: color 0.3s ease;
    text-align: left;
    /* Align text to the left */
    margin-bottom: 10px;
    /* Add space between the links */
}

.footer .quick-links a:hover {
    color: white;
}

/* Custom list item styling in the footer */
.footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
}

/* Footer business hours */
.footer .business-hours h6 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Social Media Buttons in Footer */
.footer .btn-square {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer .btn-square:hover {
    opacity: 0.8;
}

/*--------------------------------------------------------------
9. Newsletter Signup
--------------------------------------------------------------*/

/* Newsletter styling */
.newsletter-signup input {
    border-radius: 50px;
    padding: 10px 20px;
    border: 1px solid #ddd;
}

.newsletter-signup button {
    background-color: var(--primary);
    border-radius: 50px;
    padding: 10px 20px;
}

.newsletter-signup button:hover {
    background-color: var(--secondary);
}

/*--------------------------------------------------------------
10. Back to Top Button
--------------------------------------------------------------*/

/* Scroll to top button */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--secondary);
}

/*--------------------------------------------------------------
11. Links and Hover Effects
--------------------------------------------------------------*/

/* General link styling */
a {
    cursor: pointer;
    /* Show a pointer cursor when hovering over the block */
}

a .bg-white:hover {
    background-color: #f8f9fa;
    /* Light gray background on hover */
    transform: translateY(-5px);
    /* Lift the button slightly on hover */
    transition: all 0.3s ease-in-out;
    /* Smooth transition effect */
}

/*--------------------------------------------------------------
12. Equal Height Cards
--------------------------------------------------------------*/

/* Equal Height Cards */
.equal-height {
    height: 100%;
    /* Make sure both cards take up equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.equal-height img {
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for image zoom */
    object-fit: contain;
}

.equal-height:hover img {
    transform: scale(1.1);
    /* Zoom in on image */
}

h4 {
    margin-top: auto;
    /* Push the heading to the bottom */
}

/*--------------------------------------------------------------
13. Mobile View Adjustments 
--------------------------------------------------------------*/

/* Media Query with Both Width and Height (for smaller landscape screens) */
@media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape) {
    .c-item {
        height: 500px;
    }

    .carousel-main-title {
        font-size: 3.5rem;
        bottom: 280px;
        width: 100%;
        max-width: 1000px;
    }

    #id_carousel h5 {
        font-size: 3rem;
    }

    #id_carousel p {
        font-size: 1rem;
    }
}



/* Adjustments for large mobile devices and tablets (up to 768px) */
@media (max-width: 768px) and (orientation: portrait) {
    .about-content {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .about-section-title {
        font-size: 2rem;
    }

    .about-images img {
        width: 100%;
        height: auto;
    }

    .c-item {
        height: 480px;
    }

    /* Carousel Headline and Paragraph */
    #id_carousel h5 {
        font-size: 1.75rem;
        margin-top: 1.5rem;
    }

    #id_carousel p {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .carousel-main-title {
        font-size: 3rem;
        bottom: 320px;
        width: 100%;
        max-width: 1000px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .about-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .about-section-title {
        font-size: 1.75rem;
    }

    .about-images img {
        width: 90%;
        height: auto;
    }

    .c-item {
        height: 400px;
    }

    /* Carousel Headline and Paragraph */
    #id_carousel h5 {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    #id_carousel p {
        font-size: 0.9rem;
        margin-top: 0.4rem;
    }

    .carousel-main-title {
        font-size: 2.5rem;
        bottom: 300px;
        width: 100%;
        max-width: 1000px;
    }
}


/*--------------------------------------------------------------
 Surface Duo (540 x 720)
--------------------------------------------------------------*/
@media (max-width: 540px) and (max-height: 720px) and (orientation: portrait) {
    .c-item {
        height: 480px;
    }

    .carousel-main-title {
        font-size: 2.8rem;
        bottom: 280px;
        width: 100%;
        max-width: 1000px;
    }

    #id_carousel h5 {
        font-size: 1.5rem;
    }

    #id_carousel p {
        font-size: 1rem;
    }


}

@media (max-width: 720px) and (max-height: 540px) and (orientation: landscape) {
    .c-item {
        height: 450px;
    }

    .carousel-main-title {
        font-size: 2.8rem;
        bottom: 290px;
        width: 100%;
        max-width: 1000px;
    }

    #id_carousel h5 {
        font-size: 1.5rem;
    }

    #id_carousel p {
        font-size: 1rem;
    }

}

/*--------------------------------------------------------------
 iPhone 14 Pro Max (430 x 932)
--------------------------------------------------------------*/
@media (max-width: 430px) and (max-height: 932px) and (orientation: portrait) {

    .carousel-main-title {
        font-size: 2.2rem;
        bottom: 290px;
        width: 100%;
        max-width: 1000px;
    }

    #id_carousel h5 {
        font-size: 1.3rem;
    }

    #id_carousel p {
        font-size: 0.8rem;
    }
}

@media (max-width: 932px) and (max-height: 430px) and (orientation: landscape) {
    .c-item {
        height: 380px;
    }

    .carousel-main-title {
        font-size: 2.8rem;
        bottom: 220px;
        width: 100%;
        max-width: 1000px;
    }

    #id_carousel h5 {
        font-size: 1.5rem;
    }

    #id_carousel p {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
 iPhone XR (414 x 896)
--------------------------------------------------------------*/



/*--------------------------------------------------------------
 iPhone 6-8 Plump (414 x 667)
--------------------------------------------------------------*/
@media (max-width: 414px) and (max-height: 667px) and (orientation: portrait) {
    .c-item {
        height: 500px;
    }

    #id_carousel h5 {
        font-size: 1.2rem;
    }

    #id_carousel p {
        font-size: 0.8rem;
    }

    .carousel-main-title {
        font-size: 2.2rem;
        bottom: 290px;
        width: 100%;
        max-width: 1000px;
    }
}

@media (max-width: 667px) and (max-height: 414px) and (orientation: landscape) {
    .c-item {
        height: 360px;
    }

    .carousel-main-title {
        font-size: 2.5rem;
        bottom: 220px;
        width: 100%;
        max-width: 1000px;
    }

    #id_carousel h5 {
        font-size: 0.7rem;
    }

    #id_carousel p {
        font-size: 1rem;
    }

}

/*--------------------------------------------------------------
 Pixel (412 x 915)
--------------------------------------------------------------*/


/*--------------------------------------------------------------
 Samsung Galaxy S8 (412 x 915)
--------------------------------------------------------------*/

@media (max-width: 915px) and (max-height: 412px) and (orientation: landscape) {
    .c-item {
        height: 320px;
    }

    .carousel-main-title {
        font-size: 2.2rem;
        bottom: 170px;
        width: 100%;
        max-width: 1000px;
    }

    #id_carousel h5 {
        font-size: 1.5rem;
    }

    #id_carousel p {
        font-size: 0.8rem;
    }

}

/*--------------------------------------------------------------
 Samsung Galaxy A51/71 (412 x 914)
--------------------------------------------------------------*/


@media (max-width: 914px) and (max-height: 412px) and (orientation: landscape) {
    .c-item {
        height: 370px;
    }

    .carousel-main-title {
        bottom: 270px;
    }
}

/*--------------------------------------------------------------
 iPhone 12 Pro (390 x 844)
--------------------------------------------------------------*/

@media (max-width: 844px) and (max-height: 390px) and (orientation: landscape) {

    .c-item {
        height: 350px;
    }

    .carousel-main-title {
        bottom: 210px;

    }
}

/*--------------------------------------------------------------
 iPhone SE (375 x 667)
--------------------------------------------------------------*/


@media (max-width: 667px) and (max-height: 375px) and (orientation: landscape) {
    .c-item {
        height: 330px;
    }

    .carousel-main-title {
        bottom: 190px;

    }
}

/*--------------------------------------------------------------
 Samsung Galaxy S8 (360 x 740)
--------------------------------------------------------------*/


@media (max-width: 740px) and (max-height: 360px) and (orientation: landscape) {
    .c-item {
        height: 320px;
    }

    .carousel-main-title {
        bottom: 175px;

    }
}

/*--------------------------------------------------------------
 Galaxy Z Fold 5 (344 x 882)
--------------------------------------------------------------*/

@media (max-width: 882px) and (max-height: 344px) and (orientation: landscape) {
    .c-item {
        height: 300px;
    }

    .carousel-main-title {
        bottom: 160px;

    }
}