@font-face {
    font-family: 'Avenir-Next-Medium';
    src: url('../fonts/avenir-next-medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir-Next-Regular';
    src: url('../fonts/avenir-next-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'RobotoCondensed-Black';
    src: url('../fonts/RobotoCondensed-Black.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
}

.cust-navbar {
    background-color: white;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-family: Arial, sans-serif;
    height: 6rem;
}

.cust-navbar .cust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.cust-navbar .cust-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.cust-navbar .cust-logo img {
    height: 3rem;
    margin: 0 2rem;
}

.cust-navbar .cust-logo .tagline {
    font-size: 14px;
    color: #555;
    font-style: italic;
}

/* Nav Links */
.cust-navbar .cust-nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 20;
}

.cust-navbar .cust-nav-links li {
    margin: 0 15px;
}

.cust-navbar .cust-nav-links a {
    text-decoration: none;
    font-size: 1.09rem;
    color: #006694;
    transition: color 0.3s ease;
}

.cust-navbar .cust-nav-links a:hover {
    color: #006694;
}

.roboto-condensed-nav {
    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.header {
    background: #fff;
    padding: 3rem 3rem 0;
}

.top-right-image img {
    position: absolute;
    right: 0;
    height: 45rem;
    z-index: 1001;
}

.brand-logo-container {
    display: flex;
    justify-content: center; /* Horizontally center the image */
    align-items: center; /* Vertically center the image (optional) */
}

.brand-logo {
    width: 12rem; /* Set the width of the logo */
    height: auto; /* Maintain aspect ratio */
}

.product-info img {
    width: 20rem;
}

.product-image-section img {
    width: 60%;
}

/* .product-info {
    margin-left: 40px;
    max-width: 500px;
} */

.product-title {
    font-size: 5rem;
    color: #000;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
}

.product-features {
    /* list-style: none; */
    padding: 0;
    font-size: 1.2rem;
    font-family: 'Avenir-Next-Medium';
    list-style-type: disc; /* Use bullet points */
    padding-left: 1rem; /* Indent bullet points */
}

.product-features li {
    margin-bottom: 8px;
    /* Space between list items */
    list-style-position: outside;
    /* Proper bullet alignment */
}

.contact-form {
    background: #E6F0FA;
        padding: 2rem 18rem;
    text-align: center;
}

.contact-form h2 {
    color: #006694;
    font-size: 4rem;
    font-weight: bold;
    font-family: 'RobotoCondensed-Black';
    margin-bottom: -2rem;
}

.contact-form p {
    color: #006694;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Avenir-Next-Medium';
}

.form-group {
    display: flex;
    gap: 20px;
    margin: 0 auto 15px;
    width: 80%;
}

.form-group>* {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.3rem;
    color: #586a73;
    background: linear-gradient(to right, #eef5fb, #a2ccdf);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    font-family: 'Avenir-Next-Regular';
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
    font-weight: bold;
}

.form-group textarea {
    min-height: 150px;
    /* Increased height */
    resize: none;
}

.submit-btn {
    background: #006694;
    color: white;
    padding: 0.5rem 3rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-top: 0rem;
    font-family: 'RobotoCondensed-Black';
}

.submit-btn:hover {
    background: #002244;
}

.explore-section {
    background: url('/images/products/explore-more-bg.png') no-repeat center center;
    background-size: cover;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.explore-title {
    font-size: 2.5rem;
    /* font-weight: bold; */
    color: #006694;
    margin-bottom: 2rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.explore-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.explore-box {
    width: 18rem;
    height: 15rem;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align title to bottom */
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.explore-img-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.explore-box:hover {
    transform: translateY(-5px);
}

.exp-more {
    max-height: 9rem; /* limit image size */
    width: auto;
    object-fit: contain;
    margin-top: auto;
    margin-bottom: auto; /* centers the image vertically */
}

/* Container for the product section */
.product-container {
    justify-content: center;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    align-items: center; /* Vertically center the content */
    margin-top: 0rem;
    min-height: 70vh;
    max-height: 70vh;
}

/* Left Part: Product Image Section */
.product-image-section {
    flex: 1; /* Take up equal space */
    max-width: 50%; /* Ensure it doesn't exceed half the container */
    display: flex;
    justify-content: end; /* Horizontally center the image */
    align-items: center; /* Vertically center the image */
    padding-right: 5rem;
}

/* Right Part: Product Info Section */
.product-info {
    flex: 1; /* Take up equal space */
    max-width: 50%; /* Ensure it doesn't exceed half the container */
    padding-right: 5rem;
}

/* Product Image Styling */
.product-image {
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: Add rounded corners */
}

/* Product Info Styling */
.product-title {
    font-size: 3rem;
    margin: 0rem auto 1rem 0rem;
}

.product-desc {
    font-size: 1.4rem;
    color: #000;
    margin: 0rem;
    font-family: 'Avenir-Next-Medium';
    padding-right: 5rem;
}

.product-features li {
    margin-bottom: 10px;
}

.download-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
}

.download-link {
    padding: 10px 20px;
    background-color: #006694;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-family: 'Avenir-Next-Medium';
}

.download-link:hover {
    background-color: #0056b3;
}

/* Screensize Boxes */
.screensize-boxes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-family: 'Avenir-Next-Medium';
    margin-top: -4rem;
    z-index: 10;
    position: relative;
}

.screensize-box {
    padding: 10px 20px;
    border: 2px solid #007bff;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    background-color: #f9f9f9;
    transition: background-color 0.3s, border-color 0.3s;
}

.screensize-box:hover {
    background-color: #e9ecef;
}

.screensize-box.active {
    background-color: #006694;
    color: white;
    border-color: #007bff;
}

.navx-navbar {
    z-index: auto !important;
}

.navx-nav-links {
    z-index: 1001;
}

.exp-title {
    color: #006694;
    font-size: 1.2rem;
    font-family: 'Avenir-Next-Medium';
    margin-top: auto;
}

.explore-box a {
    text-decoration: none;
    color: inherit;
}

.explore-box img.exp-more {
    max-width: 150px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.explore-box img.exp-more:hover {
    transform: scale(1.05);
}

.swiper-wrapper {
    height: auto !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: 'neoxt' !important;
}


@media (max-width: 768px) {
    .product-container {
        flex-direction: column; /* Stack sections vertically */
        min-height: auto; /* Reset height for mobile */
    }

    .product-image-section,
    .product-info {
        max-width: 100%; /* Take full width on smaller screens */
    }
    
    .navx-navbar {
        z-index: 1000;
    }
    
    .back-arrow{
        top: 7rem !important;
        left: 1rem !important;
        z-index: 999 !important;
    }
        
    .cust-navbar {
        height: auto;
    }

    .cust-navbar .cust-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .cust-navbar .cust-logo img {
        height: 2.5rem;
        margin: 0 1rem 1rem 0;
    }

    .cust-navbar .cust-nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .cust-navbar .cust-nav-links li {
        margin: 0.5rem 0;
    }

    .header {
        padding: 2rem 1rem 0;
    }

    .top-right-image img {
        display: none;
    }

    .product-container {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        max-height: none;
    }

    .product-image-section,
    .product-info {
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .product-image-section img,
    .product-info img {
        width: 80%;
        margin: auto;
    }

    .product-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .product-desc {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .product-features {
        font-size: 1rem;
        text-align: left;
        padding: 0 1.5rem;
    }

    .contact-form {
        padding: 2rem 1rem 1rem;
    }

    .contact-form h2 {
        font-size: 2.5rem;
    }

    .contact-form p {
        font-size: 1.2rem;
    }

    .form-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .submit-btn {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }

    .explore-section {
        padding: 3rem 1rem;
    }

    .explore-title {
        font-size: 2rem;
    }

    .explore-container {
        flex-direction: column;
        align-items: center;
    }

    .explore-box {
        width: 90%;
        /*height: auto;*/
        padding: 2rem 1rem;
        font-size: 1rem;
    }

    .screensize-boxes {
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .screensize-box {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .download-section {
        flex-direction: column;
        padding: 1rem;
    }

    .download-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .brand-logo-container {
        justify-content: center;
    }

    .brand-logo {
        width: 8rem;
    }

    .exp-more {
        height: auto;
        max-width: 100%;
        width: 150px; 
    }
    
    .contact-form h2 {
        margin: -1rem auto;
    }
}
