/* Products Page Styles */

/* Tab Navigation - Initially in normal flow, becomes sticky when scrolling */
.product-tabs-nav {
    position: sticky;
    top: var(--header-height, 80px); /* Stick below header */
    left: 0;
    right: 0;
    background: #F2F2F2;
    border-bottom: 1px solid #e5e5e5;
    z-index: 999; /* Below header but above content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

/* When header is sticky, adjust stick position */
.header-sticky .product-tabs-nav {
    top: var(--sticky-header-height, 60px);
}

/* Add visual feedback when tabs become sticky */
.product-tabs-nav.is-sticky {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-tabs-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.product-tab-item {
    /* flex: 1; */
    text-align: center;
}

.product-tab-link {
    display: block;
    padding: 15px 40px;
    text-decoration: none;
    color: #000000;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 0.75rem; /* 12px = 12 / 16 = 0.75rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0rem; /* 0% = 0rem */
    text-align: center;
    text-decoration-style: solid;
    text-decoration-offset: 0rem; /* 0% = 0rem */
    text-decoration-thickness: 0rem; /* 0% = 0rem */

}

.product-tab-item.active .product-tab-link,
.product-tab-link:hover {
    background-color: #062267;
    color: #FFFFFF !important;

}

/* Hero Banner Section - Normal spacing since tabs are in document flow */
.product-hero-banner {
    margin-top: 0; /* Remove margin since tabs are in normal flow */
}

.container.product {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0px;
}

.hero-banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero-banner-left {
    text-align: center;

    height: 100%;
}

.hero-image img {
    max-width: 100%;
    height: 100%;
}

.hero-banner-right {
    color: #fff;
    padding: 60px;
}

.hero-title.product {
    color: white;
    margin-bottom: 20px;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 2rem; /* 32px = 32 / 16 = 2rem */
    line-height: 0.2; /* 20% = 0.2 */
    letter-spacing: 0rem; /* 0% = 0rem */

}

.hero-description.product{
color: white;
    margin-bottom: 30px;
    opacity: 0.9;
    font-family: Montserrat;
    font-weight: 300;
    font-size: 1rem; /* 16px = 16 / 16 = 1rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0rem; /* 0% = 0rem */
    text-align: justify;

}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-content.product {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;

}

.section-title.product,
.section-title.product-recommended {
    border:none !important;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.5rem; /* 24px = 24 / 16 = 1.5rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0rem; /* 0% = 0rem */
    text-align: center;
    color: #6D6C7B !important;
}

.hero-btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1rem; /* 16px = 16 / 16 = 1rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0rem; /* 0% = 0rem */
    text-align: center;

}

.hero-btn-primary.product {
    background: #fff;
    color: #1e3a8a;
    border: 2px solid #fff;
}

.hero-btn-primary:hover {
    background: transparent;
    color: #fff;
}

.hero-btn-secondary.product {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.hero-image{
    height: 100% !important;
}
.hero-btn-secondary:hover {
    background: #fff;
    color: #1e3a8a;
}

/* Customer Journey Section */
.product-customer-journey {
    padding: 60px 0;
    background: #F2F2F2;
}

.journey-image-container {
    text-align: center;
    margin-top: 30px;
}

.journey-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Recommended Products Section */
.product-recommended-section {
    padding: 30px 0;
    background: #F2F2F2;
}

.recommended-products-slider {
    position: relative;
    margin-top: 40px;
}

.recommended-products-container {
    overflow: hidden;
}

.recommended-products-grid {
    display: flex;
    transition: transform 0.3s ease;
    gap: 30px;
}

.recommended-product-item {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.recommended-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1f2937;
}

.recommended-product-item:hover .product-content {
    background: #001D67;
    position: absolute;
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    bottom: 0px;
    gap: 15px;
    width: 100%;
}

.recommended-product-item:hover .product-title,
.recommended-product-item:hover .product-description {
    color: #ffffff;
}

.recommended-product-item:hover .product-buttons {
    display: flex;
}

.product-description {
    color: #6b7280;
    margin-bottom: 20px;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 0.75rem; /* 12px = 12 / 16 = 0.75rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0rem; /* 0% = 0rem */
    text-align: justify;

}

.recommended-product-item:hover .product-description {
    max-height: 200px;
}

.product-buttons {
    display: none;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.product-btn:last-child {
    background: white !important;
    color: #001D67 !important;
}

.product-btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 0.9375rem; /* 15px = 15 / 16 = 0.9375rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0rem; /* 0% = 0rem */
    text-align: center;
    border: 1px solid white !important;

}

.product-btn-primary {
    background: #1e3a8a;
    color: #fff;
    border: 1px solid #1e3a8a;
}

.product-btn-primary:hover {
    background: #1e40af;
}

.product-btn-secondary {
    background: transparent;
    color: #1e3a8a;
    border: 1px solid #1e3a8a;
}

.product-btn-secondary:hover {
    background: #1e3a8a;
    color: #fff;
}

.recommended-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Stories Section */
.product-success-stories {
    padding: 60px 0;
    background: #f8fafc;
}

.success-stories-slider {
    position: relative;
}

.success-stories-container {
    position: relative;
    overflow: hidden;
}

.success-story-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-story-slide.active {
    display: block;
    opacity: 1;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-left {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.story-title {

    margin-bottom: 20px;
    color: #1f2937;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.5rem; /* 24px = 24 / 16 = 1.5rem */
    line-height: 0.2; /* 20% = 0.2 */
    letter-spacing: 0rem; /* 0% = 0rem */

}

.story-description {

    color: #6b7280;
    font-family: Montserrat;
    font-weight: 300;
    font-size: 1rem; /* 16px = 16 / 16 = 1rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0rem; /* 0% = 0rem */

}

.story-right img {
    width: 550px;
    height: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-stories-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.stories-dots {
    display: flex;
    gap: 8px;
}

.story-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.story-dot.active,
.story-dot:hover {
    background: #1e3a8a;
}

/*!* Contact Section *!*/
/*.product-contact-section {*/
/*  padding: 60px 0;*/
/*  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);*/
/*}*/

/* Bottom Section */
.product-bottom-section {
    padding: 60px 0;
    background: #F2F2F2;
}

/* Industry Solutions */
.industry-solutions-grid {
    position: relative;
    margin-top: 40px;
}

.industry-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    transition: transform 0.3s ease;
}

.industry-solution-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.industry-solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.industry-image {
    height: 200px;
    overflow: hidden;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-content {
    padding: 20px;
}

.industry-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1f2937;
}

.industry-description {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 20px;
}

.industry-btn {
    background: #1e3a8a;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.industry-btn:hover {
    background: #1e40af;
}

.industry-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.industry-dots {
    display: flex;
    gap: 8px;
}

.industry-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.industry-dot.active,
.industry-dot:hover {
    background: #1e3a8a;
}

/* Business Solutions */
.business-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 40px;
    border-radius: 10px;
}

.business-solution-card {
    background: #fff;
    padding: 30px 20px;
    text-align: left;
    transition: all 0.3s ease;
  position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.business-solution-card:first-child {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;


}
.business-solution-card.fade-in:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: #ccc;
}

.business-solution-card:last-child {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;


}


.business-icon {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.business-solution-card:hover .business-icon {
    filter: grayscale(0%);
}

.business-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-title {

    color: #1f2937;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1rem; /* 16px = 1rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0rem; /* 0% = 0rem */
    text-decoration-style: solid;
    text-decoration-offset: 0rem; /* 0% = 0rem */
    text-decoration-thickness: 0rem;
    text-align: left /* 0% = 0rem (ẩn nét gạch dưới) */

}

.business-description {
    color: #6b7280;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1rem;           /* 16px = 16 / 16 = 1rem */
    line-height: 1.5;          /* 150% = 1.5 */
    letter-spacing: 0rem;      /* 0% = 0rem */

}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
}

/*.section-title:after {*/
/*  content: "";*/
/*  display: block;*/
/*  width: 60px;*/
/*  height: 3px;*/
/*  background: #1e3a8a;*/
/*  margin: 15px auto 0;*/
/*}*/

/* Responsive Design */
@media (max-width: 1024px) {
    .recommended-product-item {
        flex: 0 0 calc(50% - 15px);
    }

    .hero-banner-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .story-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .product-tabs-list {
        flex-wrap: wrap;
    }

    .product-tab-item {
        flex: 1 1 50%;
    }

    .product-tab-link {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .recommended-product-item {
        flex: 0 0 100%;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .story-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .business-solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .industry-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-tab-item {
        flex: 1 1 100%;
    }

    .hero-banner-content {
        gap: 30px;
    }

    .story-content {
        gap: 30px;
    }

    .hero-btn,
    .product-btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
  