: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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

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: 1rem;
}

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: 20px 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 {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 1050;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.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;
}

.close-menu {
    text-align: right;
    margin-bottom: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.search-form-mobile {
    margin-bottom: 20px;
}

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

.nav-list-mobile li {
    border-bottom: 1px solid var(--medium-gray);
}

.nav-list-mobile a {
    display: block;
    padding: 12px 0;
    color: var(--text-color);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
}

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

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

.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: 30px;
    padding-bottom: 15px;
}

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

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

.hero-slide {
    position: relative;
    height: 500px;
    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: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.featured-categories {
    margin-bottom: 60px;
}

.category-card {
    display: block;
    position: relative;
    height: 200px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.category-card-content h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.25rem;
}

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

.product-card {
    margin-bottom: 30px;
    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: 200px;
    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: 15px;
}

.product-card-title {
    margin-bottom: 10px;
    font-size: 1.1rem;
    height: 3em;
    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: 50px;
}

.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;
}

.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: 20px 0;
    margin-top: 40px;
    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-item {
    margin-bottom: 5px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    font-weight: 400;
    text-decoration: none;
}

.admin-nav-link:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transform: translateX(3px);
    border-left: 3px solid rgba(255,255,255,0.4);
    padding-left: 23px;
}

.admin-nav-link.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.10) 100%);
    color: var(--white);
    font-weight: 600;
    border-left: 3px solid var(--white);
    padding-left: 23px;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.1);
}

.admin-nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.admin-nav-link:hover i,
.admin-nav-link.active i {
    opacity: 1;
    transform: scale(1.1);
}

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

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

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

.admin-nav-section-title {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
}

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

.admin-nav-section-title.collapsible:hover {
    color: rgba(255,255,255,1);
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
    transform: translateX(2px);
}

.admin-nav-section-title.expanded {
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
    border-bottom-color: rgba(255,255,255,0.15);
}

.admin-nav-section-title i:first-child {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.admin-nav-section-title .toggle-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 11px;
    margin-right: 0;
    width: auto;
    opacity: 0.7;
}

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

.admin-nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.08) 100%);
    border-left: 3px solid rgba(255,255,255,0.1);
}

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

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

.admin-nav-subsection::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.admin-nav-subsection:hover::before {
    background: rgba(255,255,255,0.6);
    transform: translateY(-50%) scale(1.2);
}

.admin-nav-subsection .admin-nav-link.active + ::before,
.admin-nav-subsection:has(.admin-nav-link.active)::before {
    background: var(--white);
    box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.admin-nav-subsection .admin-nav-link {
    padding: 12px 20px 12px 45px;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255,255,255,0.85);
    position: relative;
    font-weight: 400;
}

.admin-nav-subsection .admin-nav-link:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
    border-left-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.95);
    transform: translateX(3px);
    padding-left: 48px;
}

.admin-nav-subsection .admin-nav-link.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.10) 100%);
    border-left-color: var(--white);
    color: var(--white);
    font-weight: 600;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.1);
}

.admin-nav-subsection .admin-nav-link i {
    font-size: 14px;
    width: 18px;
    margin-right: 12px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.admin-nav-subsection .admin-nav-link:hover i,
.admin-nav-subsection .admin-nav-link.active i {
    opacity: 1;
    transform: scale(1.1);
}

.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;
}

.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 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px;
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 63, 125, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 30px;
  overflow: hidden;
}

.product-tabs::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  height: calc(100% - 20px);
  background: linear-gradient(135deg, #003f7d 0%, #0052a5 50%, #006bb3 100%);
  border-radius: 15px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  opacity: 1;
  width: 120px;
  box-shadow: 
    0 4px 16px rgba(0, 63, 125, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-tabs.initialized::before {
  opacity: 1;
}

.product-tabs::before {
  left: 10px !important;
  width: 120px !important;
}

.product-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  text-decoration: none;
  color: rgba(0, 63, 125, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.product-tab i {
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.product-tab:hover {
  color: #003f7d;
  text-decoration: none;
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 63, 125, 0.15);
}

.product-tab:hover i {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(0, 63, 125, 0.2));
}

.product-tab.active {
  color: white !important;
  background: transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.product-tab.active i {
  transform: scale(1.2);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  color: white !important;
}

.products-main {
  position: relative;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.products-main.transitioning {
  opacity: 0;
}

.products-sidebar {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.4s ease;
}

.products-sidebar.transitioning {
  opacity: 0;
  transform: translateX(-20px);
}

.products-content {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.4s ease;
}

.products-content.transitioning {
  opacity: 0;
  transform: translateX(20px);
}

.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: wrap;
        gap: 4px;
        padding: 8px;
        border-radius: 16px;
    }
    
    .product-tab {
        padding: 12px 18px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .product-tab i {
        font-size: 1rem;
    }
    
    .product-tabs::before {
        top: 8px;
        left: 8px;
        height: calc(100% - 16px);
        border-radius: 12px;
    }
    
    .product-tabs::before {
        left: 8px !important;
        width: 110px !important;
    }
}

@media (max-width: 480px) {
    .product-tabs {
        gap: 2px;
        padding: 6px;
    }
    
    .product-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .product-tab i {
        font-size: 0.95rem;
    }
}

/* Critical header styles - moved from header.css for priority loading */
.top-bar-nav {
    display: flex; 
    align-items: center; 
    gap: 30px;
    min-height: 40px;
}
.top-bar-nav .nav-list {
    display: flex; 
    gap: 4px; 
    margin: 0; 
    padding: 0; 
    list-style: none; 
    background: none;
    align-items: center;
}
.top-bar-nav .nav-list li {
    position: relative;
}
.top-bar-nav .nav-list li a {
    color: #fff; 
    font-weight: 500; 
    font-size: 1rem; 
    padding: 8px 12px; 
    background: none;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}
.top-bar-nav .nav-list li a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.mobile-header {
    display: none;
    background: #003f7d;
    padding: 8px 0;
    position: relative;
}
@media (max-width: 991.98px) {
    .top-bar { display: none !important; }
    .mobile-header { 
        display: block !important; 
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
        min-height: 50px;
    }
    body {
        padding-top: 50px;
    }
}
.mobile-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-header .mobile-btn {
    color: #fff;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 8px;
    min-width: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
} 

/* Homepage Styles */
.business-partner-section {
    background: #dededc;
    position: relative;
    padding: 60px 0 120px;
}
.business-partner-section .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-top: 30px;
}
.business-partner-section p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 30px;
}
.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: 2.2rem;
    font-weight: 700;
}
.stat-description {
    font-size: 1rem;
    color: #222;
}

.products-section {
    background: #E4E4E4;
    padding: 60px 0 80px 0;
}
.products-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.products-section .btn-primary {
    border-radius: 30px;
    font-weight: 600;
    padding: 12px 36px;
}
.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: 60px 0 40px 0;
}
.news-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.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: 160px;
    overflow: hidden;
    background: #eee;
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
    min-height: 48px;
    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: 2.2rem;
    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.25rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}
.feature-card p {
    color: #444;
    font-size: 1.05rem;
}

.about-company {
    background: transparent;
}
.about-company-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,63,125,0.10);
    padding: 48px 32px;
    text-align: center;
}
.about-company-logo {
    height: 54px;
    margin-bottom: 18px;
}
.about-company .section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #003f7d;
}
.about-company p:first-of-type {
    font-size: 1.13rem;
    color: #222;
    margin-bottom: 18px;
}
.about-company p:last-of-type {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 32px;
}
.about-company .btn-primary {
    border-radius: 30px;
    font-weight: 600;
    padding: 12px 36px;
} 