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

/* Main Design System */
:root {
    --primary-blue: #046BD2;
    /* Updated to match reference */
    --accent-blue: #3b82f6;
    --dark-blue: #1e293b;
    --text-main: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --max-width: 1200px;
}

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

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    /* Updated font priority */
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    width: 100%;
    z-index: 1000;
    position: relative;
}

.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-bar-links a {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.main-nav {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
}

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

.logo img {
    height: 50px;
}

.nav-menu ul {
    display: flex;
}

.nav-menu ul li a {
    color: var(--dark-blue);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
    padding: 10px 15px;
    /* Increased horizontal padding */
    display: block;
    margin: 0 5px;
    /* Added margin between items */
}

.nav-menu ul li a:hover {
    color: var(--primary-blue);
}

/* Dropdown Menu */
.nav-menu ul li.dropdown {
    position: relative;
}

.nav-menu ul li.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu ul li.dropdown .dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s;
}

.nav-menu ul li.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

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

.dropdown-menu li {
    margin: 0;
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    color: var(--dark-blue);
    border-bottom: 1px solid #f1f5f9;
}

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

.dropdown-menu li a:hover {
    background: #f8fafc;
    color: var(--primary-blue);
    padding-left: 25px;
    /* slight indent on hover */
}

.cta-button {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 3px;
    font-weight: 600;
}

/* Footer Styles */
footer {
    background-color: #020420 !important;
    /* Footer Override */
    padding: 80px 0 40px !important;
    border-top: none !important;
    color: var(--white);
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: none !important;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 20px;
    font-size: 13px;
    color: #94a3b8;
}

/* Card Styles (News/Products) */
.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-blue);
    font-weight: 600;
    line-height: 1.4;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.btn-more:hover {
    gap: 12px;
}

.btn-more::after {
    content: '→';
    font-size: 16px;
}

/* News Page Specific Styles */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
}

.category-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    padding: 10px 20px;
    border-radius: 25px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-pill:hover {
    background: #e2e8f0;
    color: var(--dark-blue);
}

.filter-pill.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.date-badge {
    display: inline-block;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .category-scroll {
        width: 100%;
        overflow-x: auto;
    }
}


/* =========================================
   Homepage Specific Styles
   ========================================= */

/* Hero Section */
.hero-section {
    padding: 0;
    position: relative;
    background-color: var(--white);
}

.hero-box {
    background: url('../img/backgrounds/hero_bg.png') no-repeat center center;
    background-size: cover;
    background-color: #046BD2;
    border-radius: 0;
    padding: 150px 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-box::before,
.hero-box::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-btn {
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
    text-transform: uppercase;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

/* Feature Blocks */
.feature-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: -80px auto 80px;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.feature-block {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.feature-block:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.feature-block h3 {
    font-size: 16px;
    color: var(--dark-blue);
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-block p {
    color: #64748b;
    line-height: 1.4;
    font-size: 13px;
}

/* Catalog Banner */
.catalog-banner {
    background: linear-gradient(90deg, #5b21b6 0%, #4361ee 100%);
    border-radius: 10px;
    padding: 40px 60px;
    margin: 80px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.catalog-content {
    flex: 1;
    z-index: 1;
}

.catalog-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.catalog-image {
    width: 300px;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.service-item h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
}

/* Stats Section */
.stats-section {
    background: #f1f4f8;
    border-radius: 0;
    padding: 80px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(4, 107, 210, 0.05);
    border-radius: 50px;
    transform: rotate(45deg);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: rgba(4, 107, 210, 0.03);
    border-radius: 60px;
    transform: rotate(-30deg);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-label {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Brands Page Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.brand-card {
    background: white;
    border-radius: 12px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.brand-logo-wrapper {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 10px;
}

.brand-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.brand-card:hover .brand-logo-wrapper img {
    transform: scale(1.1);
}

.brand-card h3 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.brand-link {
    margin-top: auto;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s;
}

.brand-card:hover .brand-link {
    opacity: 1;
    gap: 12px;
}

/* Brands & Clients Carousel */
.partners-carousel-wrapper {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.partnersSwiper {
    padding-bottom: 50px;
}

.partner-slide {
    background: white;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.partner-slide:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.partner-slide img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s;
}

.partner-slide:hover img {
    transform: scale(1.05);
}

.partnersSwiper .swiper-pagination {
    bottom: 0;
}

.partnersSwiper .swiper-pagination-bullet {
    background: var(--primary-blue);
    opacity: 0.3;
}

.partnersSwiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Old carousel styles - keep for backward compatibility */
.brands-carousel {
    overflow: hidden;
    margin: 60px 0;
    padding: 0 20px;
    max-width: 1200px;
    margin: 60px auto;
}

.brands-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

.brand-logo {
    min-width: 150px;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
    opacity: 1;
    transition: 0.3s;
}

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

.clients-section {
    background: #f8fafc;
    padding: 80px 20px;
    margin-top: 80px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo {
    background: white;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.client-logo:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: none;
    /* Colored by default */
    opacity: 1;
    transition: all 0.3s;
}

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


/* Contact Section Updates */
.contact-form-section {
    position: relative;
    overflow: hidden;
    /* Ensure image doesn't overflow rounded corners if needed */
    display: flex !important;
    /* Changed to flex to handle alignment better */
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px !important;
    background: url('../img/backgrounds/hero_bg.png'), linear-gradient(135deg, #5b21b6 0%, #4361ee 100%);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    color: white;
    margin: 80px auto;
    max-width: 1200px;
}

.contact-text {
    flex: 1;
    max-width: 50%;
    z-index: 2;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.contact-form input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: white;
    color: var(--primary-blue);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}


.contact-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 50px;
    height: 110%;
    /* Allow it to overlap top slightly if needed, or 100% bottom aligned */
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.contact-person-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-form-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 0 20px !important;
        min-height: 750px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .contact-text {
        max-width: 100%;
        margin-bottom: 30px;
        position: relative;
        z-index: 2;
    }

    .contact-text h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .contact-text p {
        margin-bottom: 20px;
    }

    .contact-form {
        position: relative;
        z-index: 2;
        margin-bottom: 200px;
    }

    .contact-image-wrapper {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 350px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        max-width: 100%;
        z-index: 1;
        pointer-events: none;
    }

    .contact-person-img {
        height: 100%;
        width: auto;
        object-fit: contain;
        object-position: bottom;
        max-width: 100%;
    }
}

/* =========================================
   Catalog Page Styles
   ========================================= */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.breadcrumbs {
    color: #64748b;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--primary-blue);
    font-weight: 500;
}

.breadcrumbs span {
    margin: 0 5px;
}

.breadcrumbs .current {
    color: #64748b;
}

/* Catalog Layout */
.catalog-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding-bottom: 80px !important;
}

/* Sidebar */
.catalog-sidebar {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 35px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

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

.filter-list a {
    display: block;
    padding: 8px 12px;
    color: #475569;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.filter-list a:hover {
    background: #f1f5f9;
    color: var(--primary-blue);
    padding-left: 15px;
}

.filter-list a.active {
    background: var(--primary-blue);
    color: white;
    font-weight: 500;
}

/* Category Visual Grid */
.categories-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 107, 210, 0.05) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 1;
    z-index: -1;
    transition: opacity 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(4, 107, 210, 0.15);
}

.cat-image-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.category-card h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.cat-link {
    font-size: 0.9rem;
    color: var(--primary-blue);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    font-weight: 500;
}

.category-card:hover .cat-link {
    opacity: 1;
    transform: translateY(0);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}


/* Updated Product Card */
.product-card {
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-image {
    position: relative;
    padding: 20px;
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 107, 210, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    background: white;
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.product-card:hover .view-btn {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    margin-bottom: 10px;
}

.brand-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.product-title a {
    color: var(--dark-blue);
}

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

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

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

.icon-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

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

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: #f8fafc;
    border-radius: 10px;
}

.no-products i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.no-products p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 20px;
}

.reset-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-blue);
    color: white;
    border-radius: 5px;
    font-weight: 500;
}

/* Responsive Catalog */
@media (max-width: 900px) {
    .catalog-container {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
        margin-bottom: 40px;
    }
}

/* Mobile Menu Button - Default Hidden */
.mobile-menu-btn {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Header */
    .top-bar {
        display: none;
        /* Optional: hide top bar on mobile to save space */
    }

    .main-nav {
        padding: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: var(--dark-blue);
        background: none;
        border: none;
    }

    .mobile-menu-close {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding: 100px 20px 40px;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }

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

    .nav-menu.active .mobile-menu-close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 32px;
        color: white;
        cursor: pointer;
        z-index: 10;
        transition: transform 0.3s;
    }

    .nav-menu.active .mobile-menu-close:hover {
        transform: rotate(90deg);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .nav-menu ul li {
        margin-bottom: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu ul li a {
        font-size: 18px;
        color: white;
        display: block;
        padding: 20px 15px;
    }

    .nav-menu ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* Dropdown in mobile */
    .nav-menu ul li.dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        display: none;
        border-radius: 0;
    }

    .nav-menu ul li.dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-menu ul li.dropdown .dropdown-menu li {
        border-bottom: none;
    }

    .nav-menu ul li.dropdown .dropdown-menu li a {
        padding: 15px 30px;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-menu ul li.dropdown .dropdown-menu li a:hover {
        color: white;
        padding-left: 35px;
    }

    .cta-button {
        display: none;
        /* Hide CTA in header on mobile if needed, or move into menu */
    }

    /* Hero Section - Fix spacing */
    .hero-box {
        padding: 80px 0 60px;
    }

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

    .hero-content p {
        font-size: 16px;
    }

    /* Feature Blocks - Fix negative margin issue */
    .feature-blocks {
        margin: 40px auto;
        grid-template-columns: 1fr;
    }

    /* Services Grid (Tender Support) */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-item {
        padding: 0 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}