@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0b56a4; /* Royal Blue from FITIT logo */
    --primary-hover: #083f78;
    --primary-light: #eff6ff;
    --secondary: #dc2626; /* Vermilion Red from FITIT logo */
    --secondary-hover: #b91c1c;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --bg-light: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #ffffff;
    
    --border-color: #e2e8f0;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.06), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-premium: 0 10px 30px rgba(11, 86, 164, 0.08);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-height: 120px;
}

/* Global resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Top Bar */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info span {
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-social a {
    color: var(--text-muted);
}

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

/* Main Header */
.main-header {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 55px;
}

/* Search Bar */
.search-form {
    flex: 0 1 450px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 45px 10px 18px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    border-radius: 50px;
    transition: var(--transition-fast);
}

.search-input:focus {
    border-color: var(--primary);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(197, 30, 36, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    gap: 15px;
}

.hotline-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-light);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(197, 30, 36, 0.1);
    color: var(--primary);
}

.hotline-badge i {
    font-size: 1.2rem;
    animation: phone-shake 1.5s infinite;
}

.hotline-badge .phone-num {
    font-weight: 700;
}

/* Navigation menu */
.nav-bar {
    background-color: var(--primary);
    color: var(--text-light);
}

.nav-menu {
    display: flex;
}

.nav-item > a {
    display: block;
    padding: 14px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

/* Dropdown styling */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    color: var(--text-primary);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 99;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

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

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

/* Hero Carousel */
.hero-slider {
    position: relative;
    height: 480px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
    display: flex;
    align-items: center;
}

.slide-content {
    color: white;
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Common Section Styles */
.section {
    padding: 60px 0;
}

.section-bg {
    background-color: var(--bg-card);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 1rem;
}

/* Category Grid list homepage */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.category-card-content {
    padding: 20px;
    text-align: center;
}

.category-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    height: 60px;
    overflow: hidden;
}

/* Styled buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(197, 30, 36, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

/* Product Card Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 30, 36, 0.2);
}

.badge-hot {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.product-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
}

.product-title:hover {
    color: var(--primary);
}

.product-spec {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.product-spec strong {
    color: var(--text-primary);
}

.product-price-row {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.product-price {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.product-price-contact {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Call to Action quote requests bar on cards */
.product-actions-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    transition: var(--transition-normal);
    display: flex;
    gap: 8px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
}

.product-card:hover .product-actions-overlay {
    bottom: 0;
}

/* Public Footer Widget card layout */
.footer-top {
    background-color: var(--bg-dark);
    color: #cbd5e1;
    padding: 70px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-widget h3 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--primary);
}

.footer-widget p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.footer-links a {
    font-size: 0.9rem;
}

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

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact-item strong {
    color: white;
}

.footer-bottom {
    background-color: #020617;
    color: #64748b;
    padding: 20px 0;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-moit {
    margin-top: 24px;
}

.footer-widget .footer-moit {
    flex-shrink: 0;
}

.footer-moit-logo {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.footer-moit-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 60px;
    border: 1px dashed rgba(100, 116, 139, 0.5);
    border-radius: 4px;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.03);
}

.footer-moit-slot--empty .footer-moit-placeholder {
    display: block;
}

.footer-moit-placeholder {
    display: none;
    font-size: 0.7rem;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
    max-width: 140px;
}

/* Policy content pages */
.policy-page {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.policy-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.policy-page-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.policy-page-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

.policy-page-body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 14px;
}

.policy-page-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.policy-page-body p {
    margin-bottom: 14px;
    text-align: justify;
}

.policy-page-body ul,
.policy-page-body ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.policy-page-body li {
    margin-bottom: 10px;
}

.policy-intro,
.policy-closing {
    font-size: 1rem;
}

.policy-closing {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Category Detail Template & Sidebar */
.page-wrapper {
    padding: 40px 0;
}

.shop-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Styling */
.sidebar-box {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.category-menu-list li {
    margin-bottom: 8px;
}

.category-menu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
}

.category-menu-list a:hover, .category-menu-list li.active > a {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Subcategories Menu Indent */
.category-menu-list ul {
    margin-left: 15px;
    margin-top: 5px;
}

/* Breadcrumbs navigation */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    align-items: center;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs i {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Product Detail layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

/* Gallery slider in product detail */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-view {
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
}

.main-image-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-row {
    display: flex;
    gap: 15px;
}

.thumb-item {
    width: 90px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-fast);
}

.thumb-item:hover, .thumb-item.active {
    border-color: var(--primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product specs/info column */
.product-info-col h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.product-sku-badge {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.detail-price-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 15px 25px;
    margin-bottom: 25px;
}

.detail-price-box .price-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.detail-price-box .price-value {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
}

.detail-price-box .price-contact {
    color: var(--secondary);
    font-size: 1.4rem;
    font-weight: 800;
}

/* Attribute Table */
.spec-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.spec-list-table tr {
    border-bottom: 1px solid var(--border-color);
}

.spec-list-table td {
    padding: 10px 15px;
    font-size: 0.95rem;
}

.spec-list-table td.label-cell {
    color: var(--text-secondary);
    font-weight: 500;
    width: 150px;
}

.spec-list-table td.value-cell {
    color: var(--text-primary);
    font-weight: 600;
}

/* Colors palette in product detail */
.color-swatches {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.action-buttons-row {
    display: flex;
    gap: 15px;
}

.action-buttons-row .btn {
    flex-grow: 1;
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* Tabbed details description */
.tabs-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tabs-header {
    display: flex;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 16px 28px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: none;
    border: none;
    border-right: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--bg-card);
    color: var(--primary);
}

.tabs-content {
    padding: 35px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel p {
    margin-bottom: 15px;
}

.tab-panel ul {
    margin-left: 20px;
    list-style-type: disc;
    margin-bottom: 15px;
}

/* Modal Popup styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-header {
    background-color: var(--primary);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-close {
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

/* Standard form controls */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(197, 30, 36, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* Contact page styling */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.office-info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.office-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-details h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.office-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.map-container {
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* News/Blog Layout */
.news-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Admin Dashboard Styling */
.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background-color: var(--bg-light);
}

.admin-sidebar {
    background-color: var(--bg-dark);
    color: #cbd5e1;
    padding: 30px 20px;
}

.admin-logo {
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-logo span {
    color: var(--primary);
}

.admin-menu li {
    margin-bottom: 10px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
}

.admin-menu a:hover, .admin-menu li.active a {
    background-color: rgba(255,255,255,0.05);
    color: white;
}

.admin-menu li.active a {
    background-color: var(--primary);
    color: white;
}

.admin-main {
    padding: 40px;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

/* Admin summary cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-info h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-info .stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--primary);
    background-color: var(--primary-light);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Table in Admin Panel */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.admin-table th, .admin-table td {
    padding: 15px 20px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: #f8fafc;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background-color: #fafafa;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-completed {
    background-color: #d1fae5;
    color: #059669;
}

.badge-new {
    background-color: #dbeafe;
    color: #2563eb;
}

/* Animations */
@keyframes phone-shake {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

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

/* Responsive breakdowns */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .policy-page {
        padding: 30px 20px;
    }
    .shop-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout, .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .top-bar {
        display: none;
    }
    .main-header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    .search-form {
        flex: 1 1 100%;
        width: 100%;
    }
    .news-layout {
        grid-template-columns: 1fr;
    }
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    .slide-content h2 {
        font-size: 2rem;
    }
    .action-buttons-row {
        flex-direction: column;
    }
}

/* ==========================================================================
   Laravel Pagination - Premium Custom Styles (No-Tailwind Fallback)
   ========================================================================== */

/* Universal navigation wrapper */
nav[role="navigation"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 15px 0;
    width: 100%;
}

/* 1. Hide the raw/broken mobile-only pagination flex container */
nav[role="navigation"] > div:first-child.sm\:hidden,
nav[role="navigation"] > div.flex.sm\:hidden {
    display: none !important;
}

/* 2. Desktop/Full pagination container (forced display and styled) */
nav[role="navigation"] > div:nth-child(2),
nav[role="navigation"] > div.hidden.sm\:flex-1 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    nav[role="navigation"] > div:nth-child(2),
    nav[role="navigation"] > div.hidden.sm\:flex-1 {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }
}

/* "Showing X to Y of Z results" text */
nav[role="navigation"] p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

nav[role="navigation"] p span {
    font-weight: 700;
    color: var(--text-primary);
}

/* Page links outer container */
nav[role="navigation"] span.inline-flex.shadow-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-sm);
    background: transparent;
    box-shadow: none !important;
}

/* Individual page items & buttons (links, active span, disabled span) */
nav[role="navigation"] span.inline-flex.shadow-sm a,
nav[role="navigation"] span.inline-flex.shadow-sm span[aria-disabled="true"] > span,
nav[role="navigation"] span.inline-flex.shadow-sm span[aria-current="page"] > span,
nav[role="navigation"] span.inline-flex.shadow-sm span > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-sizing: border-box;
}

/* Hover effect for clickable page items */
nav[role="navigation"] span.inline-flex.shadow-sm a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Active current page item */
nav[role="navigation"] span.inline-flex.shadow-sm span[aria-current="page"] > span {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 10px rgba(11, 86, 164, 0.2) !important;
    cursor: default;
    transform: none !important;
}

/* Disabled page item */
nav[role="navigation"] span.inline-flex.shadow-sm span[aria-disabled="true"] > span {
    color: var(--text-muted) !important;
    background-color: var(--bg-light) !important;
    border-color: var(--border-color) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}

/* 3. Simple-Tailwind Pagination Button Specific Styling */
nav[role="navigation"] > a,
nav[role="navigation"] > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

nav[role="navigation"] > a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

nav[role="navigation"] > span {
    color: var(--text-muted) !important;
    background-color: var(--bg-light) !important;
    border-color: var(--border-color) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* 4. Enforce strict constraint on massive raw SVG arrows */
nav[role="navigation"] svg {
    width: 18px !important;
    height: 18px !important;
    display: inline-block;
    vertical-align: middle;
    color: inherit;
    fill: currentColor;
}

