/* Global Styles */
* {
    font-family: 'Poppins', sans-serif;
}

body {
    color: #424242;
    margin: 0;
    padding: 0;
}


.h1{
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
}

p.fs5 { font-size: 1.15em }

.font14 {font-size: 14px;}
.font12 {font-size: 12px;}

a {color: #5bc0de}

#faqs h6 { 
    border-left:3px solid #ef9621;
    padding-left: 5px;
}

#faqs p { 
    border-left:3px solid #eaeaea;
    padding-left: 5px;
}

.blue { color: #3f9dd2; }
.orange { color: #ef9621 }
.bg-highlight { background: #f7f6db }
.bg-blue-light { background: #e8f3f9 }
.bg-orange-light { background: #fcebd5 }

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(135deg, #444 0%, #555 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 100%;
    padding: 0;
}

.logo-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 15px 40px;
    width: 270px;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.logo-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    width: 170px;
    height: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle:hover {
    /* make the icon change color when hovered */
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 31px;
    height: 100%;
}

.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
    height: 100%;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    padding: 37px 20px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(135deg, rgba(91, 192, 222, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);*/
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    /*background: linear-gradient(90deg, #5bc0de, #46b8da);*/
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    transform: translateY(0);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #5bc0de;
    background-color: rgba(255, 255, 255, 0.95);
    /*transform: translateY(-2px);*/
 }

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

.nav-link.active::after {
    width: 100%;
    /*background: linear-gradient(90deg, #5bc0de, #46b8da);*/
}

.nav-text {
    position: relative;
    z-index: 1;
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-inline: 10px;
}

.btn {
    font-size: 14px;
    color: #fff !important;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.btn-icon {
    font-size: 14px;
}

.btn-text {
    font-weight: 600;
}

.quote-badge {
    background: #fcfc95;
    color: #333;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Button Styles - Flat Design */
.btn-quote { 
    background-color: #6f9b37;
}

.btn-quote:hover { 
    background-color: #7cb342;
}

.btn-contact { 
    background-color: #5bc0de;
}

.btn-contact:hover { 
    background-color: #46b8da;
}

.btn-submit { 
    background-color: #5bc0de;
}

.btn-submit:hover { 
    background-color: #46b8da;
}

/* Layout Styles */
.main-content {
    margin-top: 70px;      /* Updated to match new header height */
    margin-left: 270px;    /* Updated to match new logo section width */
    transition: margin-left 0.3s ease;
}

.main-content-home {
    margin-top: 70px;      /* Updated to match new header height */
}

.content-wrapper {
    display: flex;
    min-height: calc(100vh - 70px);  /* Updated to match new header height */
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 70px;              /* Updated to match new header height */
    left: 0;
    width: 270px;           /* Updated to match new logo section width */
    height: calc(100% - 70px);  /* Updated to match new header height */
    overflow-y: auto;
    background: #f8f8f8;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    border-bottom: 1px dotted #ccc;
}

.sidebar a {
    display: block;
    padding: 20px 30px;
    color: #252525;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    background-color: #e9ecef;
    color: #252525;
}

.sidebar a.active {
    border-left-color: #ff9800;
    background-color: #e9ecef;
    font-weight: 500;
}

.footer-date {
    position: absolute;
    width: 100%;
    bottom:0;
    border-top: 1px solid #e0e0e0;
    font-size: 11px;
    padding: 10px;
    text-align: center
}

.footer-date a { 
    display: inline-flex; 
    padding: 0;
    font-size: 11px;
}

/* Main Content Area Styles */
.main-content {
    flex: 1;
    padding: 40px 50px;
}


.intro-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #252525;
}

/*
.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
*/

/* Home Page Specific Styles */
.home-hero { padding: 60px 50px; }

.home-hero h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 30px;
}

.home-hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* Category Card Styles */
.category-card {
    text-align: center;
    padding: 30px 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    color: inherit;
    text-decoration: none;
}

.category-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: #252525;
}
.tab-content {
    margin-bottom: 60px
}

.tab-pane > .row > .d-flex {margin-bottom: 30px!important}

.card { margin: 0 0 0 }

.card-body { padding: 20px 30px 30px;}

.card-body ul { padding-left: 1rem; }

.product-title { font-weight: 600; }

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio = 9/16 = 0.5625 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Product Tabs Styles */
.product-tabs {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.nav-tabs { border: none; }

.nav-tabs .nav-link {
    color: #252525;
    border: none;
    font-size: 14px;
    padding: 10px 20px;
    margin-right: 30px;
    border-bottom: 3px solid transparent;
    background: none;
    position: relative;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #5bc0de, #46b8da);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.nav-tabs .nav-link:hover::after {
    width: 100%;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #5bc0de;
}

.nav-tabs .nav-link.active {
    background: #F3FDFF;
    color: #5bc0de;
    border: none;
    font-weight: 600;
}

.nav-tabs .nav-link.active::after {
    width: 100%;
}

/* Touchscreen Styles */
.touchscreen-15 {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #5bc0de, #46b8da);
    border-radius: 8px;
    border: 3px solid #333;
    position: relative;
}


/* Add to Quote Checkbox */
.add-to-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #252525;
    padding-bottom: 10px;
}

.add-to-quote input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

/* Side Panel Styles */
.side-panel {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -3px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
}

.side-panel.active { right: 0; }

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-top: 100px
}

.panel-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close-panel {
    background: #5bc0de;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.panel-content { padding: 30px; }

/* Quote Item Styles */
.quote-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dotted #ccc;
}

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

.quote-item-image {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-item-details { flex: 1; }

.quote-item-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.quote-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.qty-input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.remove-item {
    background: #dc3545;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

/* Form Styles */
.form-group { margin:30px 0; }

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

label {font-size: 12px;}

/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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


/* Responsive Styles */
@media (max-width: 1300px) {
    .nav-link {
        font-size: 14px;
        padding: 25px 14px;
    }
    
    .logo-section {
        width: 240px;
        padding: 15px 30px;
    }
    
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
    }
    .btn {
        padding: 10px 14px;
        font-size: 11px;
    }
}

@media (max-width: 992px) {
    .nav-link {
        font-size: 13px;
        padding: 25px 12px;
    }
    
    .header-buttons {
        gap: 8px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 11px;
    }
    
    .btn-text {
        display: none;
    }
    
    .btn-icon {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    
    .header-container {
        position: relative;
        justify-content: space-between;
    }
    
    .logo-section {
        width: auto;
        flex: none;
        padding: 10px 20px;
        height: 60px;
    }
    
    .logo-section::after {
        display: none;
    }
    
    .logo {
        width: 140px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1200;
        background: none;
        border: none;
    }
    
    .nav-section {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #444 0%, #555 100%);
        flex-direction: column;
        padding: 0;
        height: calc(100vh - 60px);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1150;
    }
    
    .nav-section.active {
        transform: translateX(0);
    }
    
    .main-nav {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        gap: 0;
        height: auto;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        width: 100%;
        padding: 20px 30px;
        font-size: 16px;
        justify-content: flex-start;
        height: auto;
        border-radius: 0;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
        box-shadow: none;
    }
    
    .nav-link::before,
    .nav-link::after {
        display: none;
    }
    
    .nav-link.active {
        background: rgba(91, 192, 222, 0.2);
        border-left: 4px solid #5bc0de;
    }
    
    .header-buttons {
        padding: 20px 30px;
        justify-content: center;
        gap: 15px;
        margin-top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-text {
        display: inline;
    }
    
    .btn-icon {
        font-size: 14px;
    }
    
    /* Layout adjustments for mobile */
    .main-content {
        margin-top: 60px;
        margin-left: 0;
    }
    
    .main-content-home {
        margin-top: 60px;
    }
    
    .sidebar {
        top: 60px;
        width: 100%;
        height: calc(100% - 60px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .content-wrapper {
        flex-direction: column;
        min-height: calc(100vh - 60px);
    }
    
    .main-content {
        padding: 20px;
    }
    
    .home-categories {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .intro-section {
        grid-template-columns: 1fr;
    }
    
    .side-panel {
        width: 100%;
        right: -100%;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        height: 55px;
    }
    
    .logo-section {
        padding: 8px 15px;
        height: 55px;
    }
    
    .logo {
        width: 120px;
    }
    
    .mobile-menu-toggle {
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .nav-section {
        top: 55px;
        height: calc(100vh - 55px);
    }
    
    .nav-link {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .header-buttons {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .main-content,
    .main-content-home {
        margin-top: 55px;
    }
    
    .sidebar {
        top: 55px;
        height: calc(100% - 55px);
    }
}
