/* Our Brands Page Styles */

/* Banner Section - Custom for this page */
.banner-section {
    height: 550px;
    width: 100%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: -120px !important;
}

/* Our Brands Section */
.our-brands-section {
    background-color: #fff;
    padding: 80px 0;
}

/* Brands Logo */
.brands-logo {
    margin-bottom: 60px;
}

.brands-logo img {
    max-width: 100%;
    /* width: 300px; */
    height: auto;
}

/* Brand Rows */
.our-brands-section .bottom_row {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
    align-items: center;
}

/* Brand Logo */
.brand-logo {
    text-align: center;
}

.brand-logo img {
    max-width: 150px;
    height: auto;
}

/* Brand Content */
.brand-content {
    padding: 20px 0;
}

.brand-content .global-p {
    color: #002A88;
    margin: 0;
}

/* Brand Logos Grid */
.brands-logos {
    padding: 20px 0 30px 0;
}

.brands-logos .row {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
}

.brand-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo-container:hover .brand-logo {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .brands-logos .row {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }
    
    .brand-logo-container {
        min-height: 120px;
        padding: 15px;
    }
    
    .brand-logo {
        max-height: 80px;
    }
}
.brand-details-footer{
    margin-top: 80px;
}
.brand-details-heading{
    color: #002d85;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.brand-details-right-image{
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 10px;
}
/* Gallery Section */
.gallery-section {
    background-color: #f8f9fa;
    padding: 80px 0 40px 0;
}

/* Gallery Title */
.gallery-title {
    color: #002d85;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom 5-column grid for large screens */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.gallery-widget {
    margin-bottom: 40px;
}
.gallery-widget .outer{
    padding-top: 10px;
}
.widget-content {
    position: relative;
}

.outer.clearfix {
    overflow: hidden;
}

/* Gallery Images */
.image {
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lightbox-image {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.lightbox-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lightbox-image:hover img {
    transform: scale(1.05);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 45, 133, 0.8); /* MALATIC brand color with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.image-overlay i {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.image:hover .image-overlay {
    opacity: 1;
}
