/* ===================================
   Oramet Hammer Mill - Professional CSS
   =================================== */

/* Root Variables */
:root {
    /* Brand Colors - Oramet */
    --primary-color: #F5A623;
    --primary-dark: #D68910;
    --primary-light: #FFB84D;
    --secondary-color: #2E5090;
    --secondary-dark: #1F3A6B;
    --secondary-light: #4A6FB5;
    --accent-color: #F5A623;

    /* Neutral Colors */
    --dark-bg: #000000;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2E5090;
    --text-light: #6c757d;

    /* Spacing */
    --section-padding: 80px 0;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   Global Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    /* background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../assets/images/cer_hero.png') center/contain no-repeat; */
    background-color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"></path></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(245, 166, 35, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    /* text-align: center; */
    color: #fff;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item {
    font-size: 15px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
    padding: 0 12px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-description {
    max-width: 700px;
    /* margin: 0 auto 25px; */
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}




/* ===================================
   Section 1: Overview
   =================================== */

.overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 17px 0;
}

.overview-section .section-header {
    margin-top: 70px;
    margin-bottom: 30px;
}

.overview-section .col-lg-6 {
    display: flex;
}

.overview-content {
    padding: 40px 0;
}

.overview-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
}

.overview-highlights {
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

.highlight-item span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.overview-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-custom {
    background: transparent;
    color: var(--secondary-color);
    padding: 14px 35px;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.btn-outline-custom:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Image Gallery */
.image-gallery-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    flex: 1;
}

.main-image {
    width: 100%;
    /* height: auto; */
    display: block;
    transition: var(--transition-slow);
    height: 100%;
    object-fit: cover;
}

.zoom-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.zoom-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.thumbnail-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0;
    scrollbar-width: none;
}

.thumbnail-container::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 3px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.slider-arrow {
    background: var(--white);
    border: 2px solid var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--primary-color);
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.zoom-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-zoom {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-normal);
}

.close-zoom:hover {
    color: var(--primary-color);
}

.zoom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.zoom-arrow:hover {
    background: var(--primary-color);
}

.zoom-prev {
    left: 40px;
}

.zoom-next {
    right: 40px;
}

/* ===================================
   Section 2: Video Section
   =================================== */

.video-section {
    background: var(--white);
}

.video-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.video-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.video-container::-webkit-scrollbar {
    display: none;
}

.video-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
}

.video-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.video-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.video-arrow-left {
    left: 0;
}

.video-arrow-right {
    right: 0;
}

/* ===================================
   Section: Working Principle
   =================================== */
.working-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.working-section::before,
.working-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.working-section::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.working-section::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* ===================================
           Section Header
           =================================== */
.section-header {
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* ===================================
           Working Content Layout
           =================================== */
.working-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.working-left {
    flex: 0 0 42%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.working-left img {
    width: 100%;
    border: 1px;
    border-radius: 10px;
}

.working-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.working-right {
    flex: 0 0 53%;
}

/* ===================================
           Image Container
           =================================== */
.working-image-container {
    /* background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--primary-color) 100%); */
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}

.working-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.working-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.working-image-container img {
    width: 100%;
    height: auto;
    max-width: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
    transition: var(--transition-slow);
    position: relative;
    z-index: 2;
}

.working-image-container:hover img {
    transform: scale(1.08) rotate(2deg);
}

/* ===================================
           Timeline Container
           =================================== */
.timeline-container {
    position: relative;
    padding-left: 0;
}

/* ===================================
           Timeline Steps
           =================================== */
.timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    transition: var(--transition-normal);
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step:hover {
    transform: translateX(5px);
}

/* ===================================
           Step Circle
           =================================== */
.step-circle {
    position: relative;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all var(--transition-normal);
    border: 3px solid var(--white);
}

.step-circle span {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition-normal);
}

/* Hover Effect on Step Circle */
.timeline-step:hover .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.timeline-step:hover .step-circle span {
    color: var(--white);
}

/* ===================================
           Connecting Lines
           =================================== */
.connecting-line {
    position: absolute;
    left: 34px;
    top: 70px;
    width: 3px;
    height: 75px;
    background: linear-gradient(180deg, #e0e0e0, #f0f0f0);
    z-index: 1;
    transition: var(--transition-normal);
}

.timeline-step:hover .connecting-line {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    width: 4px;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.3);
}

.timeline-step:last-child .connecting-line {
    display: none;
}

/* ===================================
           Step Content
           =================================== */
.step-content {
    flex: 1;
    padding-top: 8px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-left: 4px solid transparent;
}

.timeline-step:hover .step-content {
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, #FFFAF0 100%);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: var(--transition-normal);
}

.timeline-step:hover .step-content h4 {
    color: var(--primary-dark);
}

.step-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
           Responsive Design
           =================================== */
@media (max-width: 992px) {
    .working-content-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .working-left,
    .working-right {
        flex: 0 0 100%;
    }

    .working-image-container {
        min-height: 450px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .step-circle {
        width: 60px;
        height: 60px;
    }

    .step-circle span {
        font-size: 1.2rem;
    }

    .connecting-line {
        left: 29px;
        height: 70px;
    }

    .step-content h4 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .working-image-container {
        padding: 40px;
        min-height: 400px;
    }

    .working-image-container img {
        max-width: 300px;
    }

    .working-content-wrapper {
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .working-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .timeline-step {
        gap: 20px;
        margin-bottom: 35px;
    }

    .step-circle {
        width: 55px;
        height: 55px;
    }

    .step-circle span {
        font-size: 1.1rem;
    }

    .connecting-line {
        left: 26px;
        height: 65px;
    }

    .step-content {
        padding: 15px;
    }

    .step-content h4 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .working-image-container {
        padding: 30px;
        min-height: 350px;
    }

    .working-image-container img {
        max-width: 260px;
    }
}

@media (max-width: 400px) {
    .section-title {
        font-size: 1.7rem;
    }

    .working-content-wrapper {
        gap: 40px;
    }
}

/* ===================================
   Section 4: Features
   =================================== */

/* Features Section - FIXED */
.features-section {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.features-section .section-header {
    margin-bottom: 0px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid #f0f0f0;
    height: 100%;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-product {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-product {
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Ensure proper spacing */
.features-section .row {
    margin-top: 20px;
}

.features-section .col-md-6,
.features-section .col-lg-4 {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .feature-card {
        margin-bottom: 20px;
    }
}

/* ===================================
   Section 5: Advantages
   =================================== */

.advantages-section {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.advantages-section .section-title,
.advantages-section .section-description {
    color: var(--white);
}

.advantages-section .section-title::after {
    background: linear-gradient(90deg, var(--primary-color), var(--white));
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.advantage-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.advantage-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Horizontal scroll container */
.advantages-scroll {
    display: flex;
    gap: 30px;
    /* spacing between cards */
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
}

/* Hide scrollbar for modern browsers */
.advantages-scroll::-webkit-scrollbar {
    display: none;
}

/* Make cards not shrink */
.advantage-card {
    flex: 0 0 25%;
    /* 4 cards per view on large screens */
    max-width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .advantage-card {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media (max-width: 992px) {
    .advantage-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .advantage-card {
        flex: 0 0 80%;
        max-width: 80%;
    }
}


/* Horizontal scroll wrapper with buttons */
.advantages-wrapper {
    position: relative;
}

.advantages-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.advantages-scroll::-webkit-scrollbar {
    display: none;
}

/* Cards */
.advantage-card {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Responsive */
@media (max-width: 1200px) {
    .advantage-card {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media (max-width: 992px) {
    .advantage-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .advantage-card {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.left-btn {
    left: -25px;
}

.right-btn {
    right: -25px;
}

/* Hide buttons on small screens */
@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
}




/* ===================================
   Section 6: Specifications
   =================================== */

.specifications-section {
    background: var(--white);
}

.specifications-wrapper {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.specifications-table {
    width: 100%;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.specifications-table thead {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
}

.specifications-table th {
    padding: 20px;
    font-weight: 600;
    text-align: left;
    border: none;
}

.specifications-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e9ecef;
    color: var(--text-light);
}

.specifications-table tbody tr:hover {
    background: var(--light-bg);
}

.specifications-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===================================
   Section 7: Why Choose
   =================================== */

.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.why-choose-content {
    padding: 20px 0;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.why-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.why-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.why-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.why-choose-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Section 8: Applications
   =================================== */

.applications-section {
    background: var(--white);
}

.application-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.application-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.application-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.application-card:hover .application-image img {
    transform: scale(1.1);
}

.application-content {
    padding: 25px;
}

.application-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.application-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Section 9: FAQ
   =================================== */

.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.accordion-item {
    background: var(--white);
    border: none;
    border-radius: 15px !important;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    border: none;
    box-shadow: none !important;
    font-family: var(--font-body);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232E5090'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 25px;
    color: var(--text-light);
    line-height: 1.8;
    background: var(--white);
}

/* ===================================
   Section 10: Related Products
   =================================== */

.related-section {
    background: var(--white);
}

.related-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.related-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.related-container::-webkit-scrollbar {
    display: none;
}

.related-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.related-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 25px;
}

.related-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.related-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.related-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.related-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.related-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.related-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.related-arrow-left {
    left: 0;
}

.related-arrow-right {
    right: 0;
}


/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }

    .overview-content,
    .working-content,
    .why-choose-content {
        margin-bottom: 40px;
    }

    .video-card,
    .related-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 280px;
    }

    .video-slider-wrapper,
    .related-slider-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .overview-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
    }

    .video-card,
    .related-card {
        flex: 0 0 100%;
        min-width: 250px;
    }

    .specifications-table {
        font-size: 0.9rem;
    }

    .specifications-table th,
    .specifications-table td {
        padding: 12px;
    }

    .feature-card,
    .advantage-card {
        margin-bottom: 20px;
    }

    .working-step {
        flex-direction: column;
    }

    .why-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .thumbnail {
        width: 80px;
        height: 60px;
    }

    .video-slider-wrapper,
    .related-slider-wrapper {
        padding: 0 40px;
    }

    .video-arrow,
    .related-arrow {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   Animation Utilities
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: var(--white);
}