/* Vision, Mission, Quality Policy Section */
.vmq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.vmq-section .row {
    display: flex;
    flex-wrap: wrap;
}

.vmq-section .col-md-4 {
    display: flex;
}

.vmq-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vmq-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.vmq-box h3 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.vmq-box .icon {
    text-align: center;
    margin-bottom: 20px;
}

.vmq-box .icon i {
    font-size: 60px;
    color: #3498db;
}

.vmq-box p,
.vmq-box ul {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    flex-grow: 1;
}

.vmq-box ul {
    padding-left: 20px;
}

.vmq-box ul li {
    margin-bottom: 10px;
}

/* Our Story Section */
.our-story-section {
    padding: 80px 0;
    background: #fff;
}

.our-story-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
}

.our-story-section .subtitle {
    font-size: 18px;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 50px;
}

.our-story-section .row {
    display: flex;
    flex-wrap: wrap;
}

.our-story-section .col-md-3,
.our-story-section .col-sm-6 {
    display: flex;
}

.story-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.story-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-card-body h4 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.story-card-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.story-card-body .btn {
    background: #3498db;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.story-card-body .btn:hover {
    background: #2980b9;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #ecf0f1;
}

.features-section .row {
    display: flex;
    flex-wrap: wrap;
}

.features-section .col-md-4 {
    display: flex;
}

.feature-box {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 50px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 15px;
    color: #7f8c8d;
    flex-grow: 1;
}

/* Hero Carousel Section */
.hero-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel-section .carousel {
    width: 100%;
}

.hero-carousel-section .carousel-inner {
    width: 100%;
}

.hero-carousel-section .item {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-carousel-section .item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}

.hero-carousel-section .carousel-caption {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px 50px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
}

.hero-carousel-section .carousel-caption h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-carousel-section .carousel-caption p {
    font-size: 24px;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-carousel-section .carousel-control {
    background: none;
    width: 60px;
    opacity: 0.8;
}

.hero-carousel-section .carousel-control:hover {
    opacity: 1;
}

.hero-carousel-section .carousel-control .fa {
    font-size: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-carousel-section .carousel-indicators {
    bottom: 30px;
}

.hero-carousel-section .carousel-indicators li {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
}

.hero-carousel-section .carousel-indicators .active {
    background-color: #fff;
}

@media (max-width: 768px) {
    .hero-carousel-section .item {
        height: 400px;
    }

    .hero-carousel-section .item img {
        height: 400px;
    }

    .hero-carousel-section .carousel-caption {
        bottom: 50px;
        padding: 20px 30px;
    }

    .hero-carousel-section .carousel-caption h2 {
        font-size: 32px;
    }

    .hero-carousel-section .carousel-caption p {
        font-size: 18px;
    }
}

/* Manufacturer Logo Section */
.manufacturer-section {
    padding: 60px 0;
    /* background: #515F7A; */
    /* background: #747F95; */
    background: #979EAE;
    color: #000000;
}

.manufacturer-section h3 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.logo-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-slider-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    padding: 0 30px;
}

.logo-item img {
    height: 80px;
    width: auto;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Equal Height Footer Columns */
.footer-top .row {
    display: flex;
    flex-wrap: wrap;
}

.footer-top .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Ensure all direct children expand */
.footer-top .col-md-4 > * {
    flex-grow: 0;
}

/* Make footer-top-content expand to fill remaining space */
.footer-top .footer-top-content {
    flex-grow: 1;
}

/* Responsive: Disable flex on mobile */
@media (max-width: 991px) {
    .footer-top .row {
        display: block;
    }
    
    .footer-top .row > [class*='col-'] {
        display: block;
    }
}
