/*NAVIGATION: Navbar*/
.navbar {
    padding: 10px 0;
    z-index: 1000;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover {
    color: #00b4ff;
}

.btn-primary {
    background-color: #00b4ff;
    border-color: #00b4ff;
    padding: 8px 15px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #46c7ff;
    border-color: #46c7ff;
}

/*NAVIGATION: Hero*/
.hero-section {
    position: relative;
}

@keyframes breathing-bg {
    0% {
        background-size: 100%;
    }

    50% {
        background-size: 105%;
    }

    100% {
        background-size: 100%;
    }
}

.hero-bg {
    background: url('../images/factory/1.jpg') center/cover no-repeat;
    position: relative;
    transition: background-image 1s ease-in-out;
}

/* Apply the breathing animation only for screens wider than 768px */
@media (min-width: 768px) {
    .hero-bg {
        animation: breathing-bg 8s infinite ease-in-out;
    }
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-logo {
    max-width: 100%;
    height: auto;
}

/* Typography */
.hero-title {
    font-size: 2rem;
    font-weight: bold;
    color: #00b4ff;
}

.hero-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Button Styles */
.hero-btn {
    border-color: #00b4ff;
    color: #00b4ff;
    padding: 10px 20px;
    font-weight: 500;
}

.hero-btn:hover {
    background-color: #00b4ff;
    color: #fff;
}

.animated-element {
    opacity: 0;
    /* Hide initially */
}

/* Mobile adjustments */
@media (max-width: 991px) {

    /* Apply only for tablets and smaller screens */
    .hero-content {
        padding: 40px 15px;
        /* Adds spacing for better readability */
        text-align: center;
        /* Centers text */
    }
}


/*Navigation: Partners*/
/* Reduce section height */
.partners-section {
    background-color: #ebebeb;
    padding: 20px 0;
    /* Reduced padding */
    text-align: center;
}

/* Fixed size for logos */
.partner-logo {
    width: 150px;
    /* Adjust as needed */
    height: 100px;
    /* Adjust as needed */
    object-fit: contain;
    padding: 10px;
    filter: grayscale(100%);
    /* Make logos gray */
    transition: filter 0.3s ease-in-out;
}

/* Restore original color on hover */
.partner-logo:hover {
    filter: grayscale(0%);
}

/*NAVIGATION: Custom Styling for Partners*/
/* Custom styling to avoid overriding Bootstrap */
.custom-partner-section {
    background-color: #ebebeb;
    padding: 20px 0;
    text-align: center;
}

.custom-partner-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-partner-logo {
    width: 100px;
    /* Adjust as needed */
    height: 80px;
    object-fit: contain;
    padding: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.custom-partner-logo:hover {
    filter: grayscale(0%);
}

/* Desktop: 6 logos per row */
@media (min-width: 768px) {
    .custom-partner-row .col-4 {
        flex: 0 0 16.666%;
        max-width: 16.666%;
    }
}

/* Mobile: 3 logos per row */
@media (max-width: 767.98px) {
    .custom-partner-row .col-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/*Navigation: Products*/
/* Header Styling */
.products-header {
    background-color: #f8f9fa;
    /* Very light gray */
    border-bottom: 4px solid #bcbcbc;
    /* Thicker and slightly darker gray */
    padding: 30px 0;
}

.products-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.products-subtitle {
    font-size: 1.2rem;
    color: #555;
}

/* Product Card Styling */
.product-card {
    padding: 15px;
}

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

/* Apply max-width only on desktop (≥992px) */
@media (min-width: 992px) {
    .product-img {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

.product-img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Disable grayscale on small screens (mobile/touch) */
@media (max-width: 991.98px) {
    .product-img {
        filter: none;
    }
}

.product-title {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/*NAVIGATION: Texture BG*/
.textured-bg {
    background: url('../images/others/paper-texture.jpg') center/cover repeat;
    background-attachment: fixed;
    /* Enables parallax effect */
    background-size: cover;
    /* Ensures the image covers the whole section */
    background-position: center;
}


.textured-bg-2 {
    background: url('../images/others/paper-texture-2.jpg') center/cover repeat;
}

.text-border-left {
    border-left: 6px solid #00b4ff;
    padding-left: 15px;
}

.text-border-x {
    border-left: 6px solid #00b4ff;
    border-right: 6px solid #00b4ff;
    padding-left: 15px;
    padding-right: 15px;
}

/*NAVIGATION: ABOUT Stats*/
.stat-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
}

.stat-text {
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}

/*NAVIGATION: About*/
/* Header Section */
.about-header {
    background-color: #f8f9fa;
    border-bottom: 5px solid #bcbcbc;
    padding: 30px 0;
}

.about-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #555;
}

/* Content Layout */
.about-content {
    padding: 50px 0;
}

.about-text {
    padding: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.about-text ul {
    list-style-type: disc;
    padding-left: 20px;
}

.about-text li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #555;
}

/* Highlight MIP */
.highlight-mip {
    color: #00b4ff;
    /* Bluish Theme Color */
    font-weight: bold;
}

.highlight-active {
    color: #00b4ff !important;
    /* Bluish Theme Color */
}

/* Image Frame */
.photo-frame {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
    /* Creates the photograph effect */
    width: 100%;
}

/* Aspect Ratio for Image (16:10) */
.about-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 5px;
    object-fit: cover;
}

/* Image Slider Indicators */
.image-indicators {
    margin-top: 10px;
}

.indicator {
    all: unset; /* Reset all default button styles */
    width: 12px;
    height: 12px;
    background: #ccc;
    display: inline-block;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.indicator.active {
    background: #00b4ff;
}

/* New Rows with Titles */
.single-column-row {
    padding: 20px 0;
}

.section-title {
    color: #00b4ff;
    /* Bluish Theme Color */
    font-size: 1.8rem;
    font-weight: bold;
    text-align: left;
}

.section-text {
    font-size: 1.1rem;
    color: #555;
    text-align: left;
}

/*NAVIGATION: Team image*/
.custom-img {
    height: 350px !important;
    /* Default for desktop */
}

@media (min-width: 767px) and (max-width: 991.98px) {

    /* Between sm and md */
    .custom-img {
        height: 155px !important;
    }
}

@media (max-width: 575.98px) {

    /* Mobile */
    .custom-img {
        height: 350px !important;
        width: 100% !important;
    }
}

/*NAVIGATION: Team*/
.timeline {
    list-style: none;
    padding: 0;
}

.timeline li {
    padding: 8px 0;
    font-size: 1.1rem;
}

/*Navigation: Contact*/
/* Remove text-secondary color on hover */
.contact-link:hover {
    color: #00b4ff !important;
    /* Change to any color you prefer */
}

.contact-link:hover i {
    color: #00b4ff !important;
    /* Ensures the icon color also changes */
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: black;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
}

/*NAVIGATION: Global/Common*/
/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
}

/* Headings & Section Title */
h1, h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

p,
label,
input,
textarea {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/* Button Styling */
.btn-primary {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}