:root {
    --primary-color: #003f7d;
    --secondary-color: #005eb8;
    --accent-color: #00a0df;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e1e1e1;
    --dark-gray: #666;
    --white: #fff;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    font-size: 0.95rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.container {
    max-width: 1200px;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
}

.top-bar a:hover {
    color: var(--accent-color);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.main-header {
    padding: 12px 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.logo img {
    max-height: 60px;
}

.search-form .form-control {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.search-form .btn {
    border-radius: 0 4px 4px 0;
}

.header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--dark-gray);
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
}

.main-nav {
    background-color: var(--secondary-color);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a {
    display: block;
    color: var(--white);
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-list>li>a:hover,
.nav-list>li.active>a {
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-list>li>a .fas {
    font-size: 0.8rem;
    margin-left: 5px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 220px;
    padding: 0;
    margin: 0;
    background-color: var(--white);
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: var(--box-shadow);
    display: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.page-header {
    background-color: var(--light-gray);
    padding: 24px 0;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.main-content {
    min-height: 400px;
    flex: 1;
}

.section-title {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.hero-slider {
    margin-bottom: 30px;
}

.hero-slide {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.hero-content p {
    margin-bottom: 1rem;
}

.product-category-item {
    padding: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: categoryFadeIn 0.5s ease forwards;
}

@keyframes categoryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-category-item:nth-child(n) {
    animation-delay: calc(var(--item-index, 0) * 0.05s);
}

.category-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 10px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.category-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 63, 125, 0.12);
    border-color: var(--accent-color);
}

.category-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}

.category-card-wrapper:hover .category-image-container {
    transform: scale(1.1);
}

.category-image-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.category-info {
    width: 100%;
    text-align: center;
}

.category-name {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.category-card-wrapper:hover .category-name {
    color: var(--primary-color);
}

.category-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card-wrapper:hover .category-hover-effect {
    transform: scaleX(1);
}

.news-section {
    background-color: var(--light-gray);
    padding: 45px 0;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.featured-products {
    margin-bottom: 30px;
}

.product-card {
    margin-bottom: 18px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.product-card-image {
    height: 160px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 10px;
}

.product-card-title {
    margin-bottom: 6px;
    font-size: 1rem;
    height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-category {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-card-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-card-buttons {
    display: flex;
    justify-content: space-between;
}

.product-gallery {
    margin-bottom: 30px;
}

.gallery-main {
    margin-bottom: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumb.active {
    border-color: var(--primary-color);
}

.product-info h1 {
    margin-bottom: 10px;
}

.product-category {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 30px;
}

.quantity-input {
    width: 100px;
    margin-right: 15px;
}

.product-actions {
    margin-bottom: 30px;
}

.product-meta {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.product-meta-item {
    display: flex;
    margin-bottom: 5px;
}

.product-meta-label {
    flex: 0 0 100px;
    font-weight: 600;
}

.product-tabs {
    margin-top: 12px;
}

.product-tabs .nav-link {
    color: var(--dark-gray);
    font-weight: 600;
}

.product-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    padding: 20px 0;
}

.cart-table {
    margin-bottom: 30px;
}

.cart-table th {
    background-color: var(--light-gray);
}

.cart-product-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.cart-quantity {
    width: 80px;
}

.cart-remove {
    color: #dc3545;
    cursor: pointer;
}

.cart-summary {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 4px;
}

.cart-summary-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-summary-total {
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--medium-gray);
}

.checkout-section {
    margin-bottom: 30px;
}

.checkout-section-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.payment-methods,
.shipping-methods {
    margin-bottom: 20px;
}

.payment-method,
.shipping-method {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover,
.shipping-method:hover {
    background-color: var(--light-gray);
}

.payment-method.active,
.shipping-method.active {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
}

.contact-info-card {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    background-color: var(--light-gray);
    box-shadow: var(--box-shadow);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-card h4 {
    margin-bottom: 10px;
}

.contact-map {
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
}

.company-image {
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.company-values {
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.value-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card:hover i {
    color: var(--white);
}

.team-member {
    margin-bottom: 30px;
    text-align: center;
}

.team-member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    margin-bottom: 5px;
}

.team-member-position {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.main-footer .container {
    flex: 1 0 auto;
}

.main-footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.main-footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--accent-color);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-social {
    margin-top: 20px;
}

.footer-social .social-icon {
    margin-left: 0;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-social .social-icon:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    margin-top: auto;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--accent-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 250px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #1a365d 100%);
    color: var(--white);
    padding: 20px 0;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.admin-logo {
    padding: 0 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.admin-logo img {
    max-height: 40px;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.admin-logo a:hover img {
    filter: brightness(1.3);
    transform: scale(1.02);
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav-divider {
    padding: 20px 20px 8px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-nav-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}

.admin-nav-divider span {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.admin-nav-item {
    margin-bottom: 1px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    padding: 9px 20px;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease;
    border-radius: 0;
    font-weight: 400;
    font-size: 0.88rem;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    border-left-color: rgba(255, 255, 255, 0.3);
}

.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
    border-left-color: #60a5fa;

}

.admin-nav-link i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.admin-nav-link:hover i,
.admin-nav-link.active i {
    opacity: 1;
}

.admin-nav-section {
    margin-top: 2px;
    margin-bottom: 0;
}

.admin-nav-section:first-child {
    margin-top: 0;
}

.admin-nav-section:last-child {
    margin-bottom: 0;
}

.admin-nav-section-title {
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: none;
    border-left: 3px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    background: none;
}

.admin-nav-section-title.collapsible {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.admin-nav-section-title.collapsible:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.admin-nav-section-title.active,
.admin-nav-section-title.expanded {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.admin-nav-section-title i:first-child {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.admin-nav-section-title .toggle-icon {
    transition: transform 0.25s ease;
    font-size: 10px;
    margin-right: 0;
    width: auto;
    opacity: 0.4;
}

.admin-nav-section-title:hover .toggle-icon {
    opacity: 0.7;
}

.admin-nav-section-title.expanded .toggle-icon,
.admin-nav-section-title .toggle-icon.rotated {
    transform: rotate(180deg);
    opacity: 0.7;
}

.admin-nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
    border-left: none;
}

.admin-nav-submenu.expanded,
.admin-nav-submenu.show {
    max-height: 400px;
    padding: 2px 0;
}

.admin-nav-subsection {
    position: relative;
}

.admin-nav-subsection .admin-nav-link {
    padding-left: 50px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.admin-nav-subsection .admin-nav-link i {
    font-size: 0.75rem;
}

.admin-nav-subsection .admin-nav-link:hover {
    color: #fff;
}

.admin-nav-subsection .admin-nav-link.active {
    color: #fff;
    font-weight: 600;
}

/* old subsection overrides removed — handled above */

.badge-pill {
    padding: 0.5em 0.75em;
}

.font-size-16 {
    font-size: 16px !important;
}

.admin-form-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.admin-form-card .card-header i {
    margin-right: 8px;
    color: var(--primary-color);
}

.form-check {
    margin-bottom: 0.5rem;
}

.custom-control-label {
    font-weight: normal;
}

.property-item,
.media-item,
.spec-item {
    transition: all 0.2s ease;
}

.property-item:hover,
.media-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.admin-content {
    margin-left: 250px;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.admin-user-dropdown {
    position: relative;
}

.admin-user-dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.admin-user-dropdown-toggle img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.admin-user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 200px;
    padding: 10px 0;
    margin: 5px 0 0;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    display: none;
}

.admin-user-dropdown-menu.show {
    display: block;
}

.admin-user-dropdown-item {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
}

.admin-user-dropdown-item:hover {
    background-color: var(--light-gray);
}

.admin-dashboard-card {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.admin-dashboard-card-title {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-dashboard-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.admin-dashboard-card-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.admin-table {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.admin-table th {
    background-color: var(--light-gray);
}

.admin-pagination {
    margin-top: 30px;
}

.admin-form-card {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

@media (max-width: 991.98px) {
    .hero-slide {
        height: 400px;
    }

    .hero-content {
        max-width: 500px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .admin-sidebar {
        width: 200px;
    }

    .admin-content {
        margin-left: 200px;
    }
}

@media (max-width: 767.98px) {
    .hero-slide {
        height: 300px;
    }

    .hero-content {
        max-width: 400px;
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .category-card {
        height: 150px;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .admin-sidebar.show {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }

    .admin-header {
        position: sticky;
        top: 0;
        background-color: var(--white);
        z-index: 900;
    }

    .admin-sidebar-toggle {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .hero-slide {
        height: 250px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .product-card-buttons {
        flex-direction: column;
    }

    .product-card-buttons .btn {
        margin-bottom: 10px;
    }

    .gallery-main img {
        height: 300px;
    }

    .product-actions {
        flex-direction: column;
    }

    .quantity-input {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

.service-card {
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-card ul li {
    margin-bottom: 8px;
}

.service-card .btn {
    margin-top: auto;
}

.products-section {
    padding: 50px 0;
    background-color: var(--white);
}

.products-section [id^="mceu_"] {
    margin-bottom: 14px !important;
}

.products-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.products-section p {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 24px;
}

.process-step {
    padding: 30px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
    position: relative;
}

.process-step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-cta {
    margin: 50px 0;
}

.cta-box {
    background-color: var(--light-gray);
    border-radius: 6px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.cta-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title.text-center:after {
    left: 50%;
    margin-left: -30px;
}

.product-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f0f4fa;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 30px;
    border: 1px solid #dce6f5;
    box-shadow: 0 2px 12px rgba(0, 63, 125, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

.product-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    text-decoration: none;
    color: #5a6a80;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid transparent;
    background: transparent;
}

.product-tab i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.product-tab:hover {
    color: #003f7d;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 63, 125, 0.08);
}

.product-tab:hover i {
    transform: scale(1.1);
    color: #003f7d;
}

.product-tab.active {
    color: white;
    background: linear-gradient(135deg, #003f7d 0%, #0058b0 100%);
    border-color: transparent;
    box-shadow:
        0 4px 14px rgba(0, 63, 125, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.product-tab.active i {
    color: white;
    transform: scale(1.05);
}

.products-main {
    position: relative;
    opacity: 1;
}

.products-sidebar {
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.products-content {
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.ajax-content-fade-in {
    animation: ajaxFadeIn 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

@keyframes ajaxFadeIn {
    from {
        opacity: 0.5;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.category-menu {
    transition: all 0.3s ease;
}

.category-menu-item {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.category-menu.transitioning .category-menu-item {
    opacity: 0;
    transform: translateX(-10px);
}

.category-menu-item:nth-child(1) {
    transition-delay: 0.05s;
}

.category-menu-item:nth-child(2) {
    transition-delay: 0.1s;
}

.category-menu-item:nth-child(3) {
    transition-delay: 0.15s;
}

.category-menu-item:nth-child(4) {
    transition-delay: 0.2s;
}

.category-menu-item:nth-child(5) {
    transition-delay: 0.25s;
}

.category-menu-item:nth-child(6) {
    transition-delay: 0.3s;
}

.category-menu-item:nth-child(7) {
    transition-delay: 0.35s;
}

.category-menu-item:nth-child(8) {
    transition-delay: 0.4s;
}

.video-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.video-card:nth-child(1) {
    animation-delay: 0.1s;
}

.video-card:nth-child(2) {
    animation-delay: 0.15s;
}

.video-card:nth-child(3) {
    animation-delay: 0.2s;
}

.video-card:nth-child(4) {
    animation-delay: 0.25s;
}

.video-card:nth-child(5) {
    animation-delay: 0.3s;
}

.video-card:nth-child(6) {
    animation-delay: 0.35s;
}

.video-card:nth-child(7) {
    animation-delay: 0.4s;
}

.video-card:nth-child(8) {
    animation-delay: 0.45s;
}

.video-card:nth-child(9) {
    animation-delay: 0.5s;
}

.news-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.news-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) {
    animation-delay: 0.15s;
}

.news-card:nth-child(3) {
    animation-delay: 0.2s;
}

.news-card:nth-child(4) {
    animation-delay: 0.25s;
}

.news-card:nth-child(5) {
    animation-delay: 0.3s;
}

.news-card:nth-child(6) {
    animation-delay: 0.35s;
}

.news-card:nth-child(7) {
    animation-delay: 0.4s;
}

.news-card:nth-child(8) {
    animation-delay: 0.45s;
}

.news-card:nth-child(9) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: productFadeIn 0.5s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.05s;
}

.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.15s;
}

.product-card:nth-child(4) {
    animation-delay: 0.2s;
}

.product-card:nth-child(5) {
    animation-delay: 0.25s;
}

.product-card:nth-child(6) {
    animation-delay: 0.3s;
}

.product-card:nth-child(7) {
    animation-delay: 0.35s;
}

.product-card:nth-child(8) {
    animation-delay: 0.4s;
}

.product-card:nth-child(9) {
    animation-delay: 0.45s;
}

@keyframes productFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #003f7d;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 0.3;
    pointer-events: all;
}

.transition-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10000;
    pointer-events: none;
}

.transition-loader.active {
    opacity: 1;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .product-tabs {
        flex-wrap: nowrap;
        gap: 3px;
        padding: 5px;
        border-radius: 12px;
    }

    .product-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 8px;
        gap: 6px;
    }

    .product-tab i {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .product-tabs {
        gap: 2px;
        padding: 4px;
    }

    .product-tab {
        padding: 9px 14px;
        font-size: 0.82rem;
        gap: 5px;
    }

    .product-tab i {
        font-size: 0.9rem;
    }
}

.business-partner-section {
    background: #dededc;
    position: relative;
    padding: 40px 0 80px;
}

.business-partner-section .section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-top: 20px;
}

.business-partner-section p {
    font-size: clamp(0.92rem, 2.5vw, 1.05rem);
    margin-bottom: 20px;
}

.team-image-container {
    position: relative;
    z-index: 1;
}

.team-image-container img {
    max-width: 700px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.stats-cards-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -60px;
    width: 90%;
    max-width: 900px;
    z-index: 2;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 32px 10px;
    text-align: center;
}

.stat-number {
    color: #4a90e2;
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-description {
    font-size: 0.9rem;
    color: #222;
}

.products-section {
    background: #E4E4E4;
    padding: 40px 0 50px 0;
}

.products-section .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.products-section .btn-primary {
    border-radius: 30px;
    font-weight: 600;
    padding: 10px 28px;
}

.product-category-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.product-category-item img {
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.product-category-item:hover img {
    transform: scale(1.05);
}

.product-category-item .category-name {
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease-in-out;
}

.product-category-item:hover .category-name {
    color: #0064D2;
}

.news-section {
    background: #fafafa;
    padding: 40px 0 30px 0;
}

.news-section .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

.news-card-image {
    height: 140px;
    overflow: hidden;
    background: #eee;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
    min-height: 40px;
    line-height: 1.2;
}

.news-card-date {
    font-size: 0.9rem;
    color: #888;
    margin-top: auto;
}

.features {
    background: linear-gradient(180deg, #f7fafd 60%, #eaf2fb 100%);
}

.features .section-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 63, 125, 0.08);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 63, 125, 0.15);
}

.feature-icon {
    font-size: 2.7rem;
    color: #003f7d;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.feature-card p {
    color: #444;
    font-size: 0.95rem;
}

.about-company {
    background: transparent;
}

.about-company-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 63, 125, 0.10);
    padding: 32px 24px;
    text-align: center;
}

.about-company-logo {
    height: 48px;
    margin-bottom: 12px;
}

.about-company .section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #003f7d;
}

.about-company p:first-of-type {
    font-size: 1rem;
    color: #222;
    margin-bottom: 12px;
}

.about-company p:last-of-type {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 20px;
}

.about-company .btn-primary {
    border-radius: 30px;
    font-weight: 600;
    padding: 10px 28px;
}