/* ======== UNIVERSAL VARIABLES ======== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #f97316;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ======== BASE STYLES ======== */
body {
    background-color: var(--light);
    color: var(--secondary);
    min-height: 100vh;
    padding-top: 56px; /* For fixed navbar */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* ======== NAVBAR ======== */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.navbar-brand i {
    color: var(--accent);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--secondary);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* ======== HOMEPAGE COMPONENTS ======== */
/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: white;
    padding: 50px 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Cards */

.category-card {
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border-radius: 10px;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.category-header {
    padding: 20px;
    background-color: var(--primary);
    color: white;
}

.category-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 12px 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li i {
    color: var(--primary);
}

/* Industry Cards */
.industry-card {
    height: 100%;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    background-color: white;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.industry-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.industry-card ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.industry-card ul li i {
    color: var(--accent);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

/* ======== CATALOG PAGE COMPONENTS ======== */
/* Breadcrumb */
.breadcrumb {
    background-color: #f1f5f9;
    padding: 12px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray);
}

/* Software Card */
.software-card {
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.software-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.software-image {
    height: 180px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
    position: relative;
}

.software-features {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.feature-badge {
    background-color: white;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-badge i {
    color: var(--accent);
}

.software-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.software-description {
    color: var(--gray);
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.software-meta {
    border-top: 1px solid var(--light-gray);
    padding-top: 15px;
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--gray);
}
.card-body {
    display: flex;
    flex-direction: column;
}
.card-title{
    text-decoration: none;
}

.rating {
    color: #f59e0b;
}

/* ======== DETAIL PAGE COMPONENTS ======== */
/* Detail Header */
.detail-header {
    margin-bottom: 40px;
}

.detail-category {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f5f9;
    padding: 8px 15px;
    border-radius: 20px;
}

/* Detail Section */
.detail-section {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.detail-section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.detail-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
    background-color: #f8fafc;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.feature-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-content h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pricing-table th {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
}

.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.pricing-table tr:hover {
    background-color: #eff6ff;
}

/* Specifications */
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-gray);
    overflow-x: auto;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:nth-child(even) {
    background-color: #f8fafc;
}

/* Reviews */
.review-item {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* ======== SIDEBAR ======== */
.sidebar {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background-color: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.similar-software a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.similar-software a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* ======== FOOTER ======== */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer-column h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ======== RESPONSIVE ADJUSTMENTS ======== */
@media (max-width: 768px) {
    .features-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-section {
        padding: 20px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .software-card {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .software-image {
        width: 100% !important;
        height: 150px !important;
        min-height: 150px !important;
    }
    
    .software-description {
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box !important;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

}
.spec-item {
    gap: 15px;
}



.gallery-item {
    cursor: pointer;
}

.video-container {
    position: relative;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.video-container:hover .play-button {
    background: rgba(255, 0, 0, 1);
}

.navbar-nav {
    margin-left: 30px;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.software-image {
    height: 300px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.show-filter {
    display: block !important;
}

.company-logo img {
    max-width: 50px;
}