.hero-section {
    color: white;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 50px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-right: 0;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    margin-bottom: 1rem;
    opacity: 0.95;
    white-space: normal;
    padding: 0;
}

.hero-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.hero-specs {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8f9fa;
    margin-bottom: 2rem;
}

.box-md-ly .feature-title {
    margin-bottom: 1rem;
}

.product-image {
    z-index: 2;
    /* transform: perspective(1000px) rotateY(-15deg) rotateX(5deg); */
    transition: transform 0.3s ease;
    width: 100%;
    padding-top: 350px;
    position: relative;
}

.product-image img:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) translateY(-10px);
}

.product-image img {
    margin: 0 auto;
    position: absolute;
    top: 0;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

/* Breadcrumb Styles */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-weight: bold;
    padding: 0 8px;
}

.breadcrumb-item a {
    color: #252525;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #252525;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(90deg, #0ca8b4 0, #02b5c4 35%, rgba(3, 147, 202, 1) 100%);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(107, 206, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(107, 206, 255, 0.4);
    color: white;
    text-decoration: none;
}

.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.box-md-ly .feature-list .img {
    padding: 5px;
    background-color: transparent !important;
}

.box-md-ly .feature-list .img img {

    height: auto;
    left: 47%;
    position: absolute;
    min-width: 21px;
    max-width: 21px;
    height: auto;
    top: 37%;
    transform: translate(-50%, -50%);
}

.box-md-ly .feature-list .feature-item .img .svg_bg path {
    transition: all 0.3s ease;
}

.box-md-ly .feature-list .feature-item:hover .img .svg_bg path {
    fill: #09A9E3;
}

/* Template Gallery Styles */
.box-relation {
    margin: 40px 0;
    padding: 20px 0;
    background: #f8f9fa;
    flex-direction: column;
    padding-bottom: 60px;
}


.section-block-content {
    margin: 40px 0;
    padding: 30px 0;
}

.section-block-content .box-about-content {
    padding: 20px;
    margin-bottom: 20px;
}

.box-relation h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}



#template-gallery>.template-item {
    position: absolute;
    display: block;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

#template-gallery>.template-item:hover {
    transform: translateY(-8px);
    text-decoration: none;
}

#template-gallery img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    max-height: unset;
}

#template-gallery>.template-item:hover img {
    transform: scale(1.05);
}



.template-info {
    align-self: flex-end;
    color: white;
    text-align: left;
}

.template-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.template-category {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.edit-button {
    align-self: center;
    background: linear-gradient(90deg, #0eb1bd 0, #03c6d5 35%, rgba(4, 164, 225, .8799894957983193) 100%);
    color: white;
    padding: 10px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 183, 234, 0.4);
    width: 100%;
    max-width: 150px;
    text-align: center;
}

#template-gallery>.template-item:hover .edit-button {
    opacity: 1;
    transform: translateY(0);
}

.edit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}


/* FAQ Section Styles */
.faq-section {
    margin: 40px 0;
    padding: 30px 0;
}

.faq-section .header-title {
    margin-bottom: 30px;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-number {
    font-size: 40px;
    color: #CBCBCB;
    transition: color 0.3s ease;
    margin-right: 30px;
}

.accordion-item {
    background-color: #ECECEC !important;
    border: unset;
    border-radius: 20px !important;
    padding: 20px 35px 20px 40px;
    transition: all 0.1s ease;
    overflow: hidden;
}

.accordion-item.active {
    background-color: #e8f7ff !important;
}

.accordion-item:hover {
    box-shadow: none;
}

.accordion-button::after {
    display: none !important;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    border-radius: 20px !important;
    font-size: 18px;
    color: #5E6278;
    text-align: left;
    overflow-anchor: none;
    transition: all 0.3s ease;
    box-shadow: none !important;
    animation: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: transparent !important;
    box-shadow: none !important;
}

.accordion-header {
    border-radius: 0;
}


.faq-question-text {
    flex: 1;
    padding-right: 20px;
    color: #5E6278;
    font-size: 20px;
    line-height: normal;
}

.faq-icon i {
    line-height: 35px;
}

.faq-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #252525;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 50%;
    line-height: 35px;
}

.accordion-button:not(.collapsed) .faq-number {
    color: #0eb1bd;

}

.accordion-button:not(.collapsed) .faq-icon {
    transform: rotate(180deg);
}


.accordion-button:not(.collapsed) {
    color: #0eb1bd;
}

.accordion-body {
    border-top: 2px solid #fff;
    padding: 20px 0 0 0;
    color: #252525;
    line-height: 1.6;
    border-radius: 0px;
    font-size: 15px;
    margin-top: 10px;
}

.accordion-body p {
    margin-bottom: 15px;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.grid {
    display: grid;
    gap: 15px;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.hero .btn-color{
    border-radius: 12px;
}

/* Responsive FAQ */
@media (max-width: 1000px) {

    .container {
        padding: 0 15px;
    }

    .hero-section {
        display: flex;
        align-items: center;
        margin: 15px 0 !important;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 300px;
        padding: 10px 20px;
    }

    .img-bg-gradient {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .product-image img {
        position: absolute;
        top: 0;
        left: 50%;
        max-width: 100%;
        height: auto;
        max-height: 350px;
        border-radius: 15px;
        object-position: center;
        transition: transform 0.3s ease;
        margin: 0 auto;
        transform: translateX(-50%);
    }

    .product-image img:hover {
        transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) translateY(-10px) translateX(-50%);
    }

    .product-image {
        transform: none;
        margin: 10px 0 !important;
    }

    .faq-section {
        padding: 0;
    }

    .faq-section .header-title {
        margin-bottom: 20px;
    }

    .accordion-button {
        padding: 15px 20px;
        font-size: 16px;
    }

    .faq-question-text {
        padding-right: 15px;
    }

    .accordion-body {
        padding: 10px 20px 20px 20px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

#template-gallery>.template-item:hover .edit-button {
    opacity: 1;
    transform: translateY(0);
}

#template-gallery .edit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

#template-gallery .template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;

}

#template-gallery>.template-item:hover .template-overlay {
    opacity: 1;
}

@media (max-width: 768px) {

    .box-relation,
    .section-block-content {
        margin: 20px 0 !important;
        padding: 20px 0 !important;
    }

    .accordion-button {
        padding: 10px;
    }

    .faq-question-text {
        font-size: 16px;
    }

    .faq-number {
        margin-right: 20px;
    }

    .accordion-item {
        padding: 10px 15px 10px 15px;
    }

    .box-relation h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        line-height: normal !important;
    }

    .template-overlay {
        padding: 15px;
    }

    .template-title {
        font-size: 16px;
    }

    .edit-button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .faq-container .accordion {
        grid-template-columns: 1fr !important;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}

.template-gallery-grid .template-item {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.template-gallery-grid .template-item:hover {
    transform: translateY(-6px);
}

.template-gallery-grid .template-item img {
    width: 100%;
    aspect-ratio: 1 !important;
    max-height: unset;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s;
    background: #f6f6f6;
}


.template-gallery-grid .template-item:hover .edit-button {
    opacity: 1;
}

.template-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.template-gallery-grid .edit-button {
    background: linear-gradient(90deg, #0eb1bd 0, #03c6d5 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(11, 177, 189, 0.15);
    margin-top: 8px;
    transition: all 0.2s, transform 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
    position: absolute;
    width: 100%;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
}


.template-gallery-grid .template-link {
    position: relative;
}

.template-gallery-grid .product-info {
    padding: 0 5px;
    padding-top: 12px;
    text-align: left;
}

.template-gallery-grid .product-title {
    font-size: 14px;
    font-weight: 400;
    color: #222;
    margin-bottom: 4px;
    line-height: 1.3;
    display: inline;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    /* Important for long words! */
}

.template-gallery-grid .product-price {
    font-size: 14px;
    font-weight: 700;
    color: #0eb1bd;
    margin-bottom: 6px;
}

.category-tab.active,
#btn-all-templates.active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border-color: transparent !important;
    background:linear-gradient(90deg, #0ca8b4 0, #02b5c4 35%, rgba(3, 147, 202, 1) 100%);
    color: #fff;
}

.category-tab:hover,
#btn-all-templates.hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border-color: transparent !important;
    background:linear-gradient(90deg, #0ca8b4 0, #02b5c4 35%, rgba(3, 147, 202, 1) 100%);
    color: #fff !important;
    transform: translateY(-2px);
}

.category-tab,
#btn-all-templates {
    border: 1px solid #03c6d5 !important;
    font-size: 16px !important;
    padding: 8px 16px !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
}

@media (max-width: 768px) {
    .template-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-gallery-grid .product-title {
        font-size: 13px;
    }

    .template-gallery-grid .product-price {
        font-size: 15px;
    }

    .template-gallery-grid .edit-button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .template-gallery-grid .template-overlay {
        padding: 0;
    }
}

/* Button Xem tất cả styles */
.view-all-designs {
    background: transparent;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 206, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: block;
    width: 200px;
    margin-top: 20px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.view-all-designs:hover {
    box-shadow: 0 8px 25px rgba(107, 206, 255, 0.4);
    transform: translateX(-50%) translateY(-3px);
    border: 2px solid #0eb1bd;
}

.view-all-designs span:hover{
    transform: translateX(-10px);
}

.view-all-designs:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 4px 15px rgba(107, 206, 255, 0.3);
}

/* Alternative styles */
.view-all-designs.style-outline {
    background: transparent;
    color: #0eb1bd;
    border: 2px solid transparent;
    box-shadow: none;
}

.view-all-designs.style-outline:hover {
    background: #0eb1bd;
    color: white;
    box-shadow: 0 8px 25px rgba(107, 206, 255, 0.3);
}

.view-all-designs.style-minimal {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.view-all-designs.style-minimal:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .view-all-designs {
        padding: 10px 24px;
        font-size: 14px;
        min-width: 150px;
    }
}