/* Custom Styles for PrimeScreen */

/* Utilities */
.content-auto {
    content-visibility: auto;
}

/* 1. General High-End Styles */
.text-highlight {
    color: #D4AF37; /* accent */
}

.btn-primary-high {
    background-color: #D4AF37; /* accent */
    color: #ffffff;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition-property: all;
    transition-duration: 300ms;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-high:hover {
    background-color: rgba(212, 175, 55, 0.9); /* accent/90 */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* high-end-hover */
}

.btn-outline-high {
    border: 1px solid #1A2C42; /* primary */
    color: #1A2C42; /* primary */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition-property: all;
    transition-duration: 300ms;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline-high:hover {
    background-color: rgba(26, 44, 66, 0.05); /* primary/5 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
}

.section-padding-high {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding-high {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.container-high {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container-high {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .container-high {
        padding-left: 4rem;
        padding-right: 4rem;
        max-width: 1536px; /* 2xl breakpoint usually, or just large enough */
    }
}

.card-high {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    overflow: hidden;
    transition-property: all;
    transition-duration: 300ms;
}

.card-high:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* high-end-hover */
    transform: translateY(-0.25rem);
}

.section-title-high {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1F2429; /* neutral-900 */
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title-high::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 4rem;
    height: 0.25rem;
    background-color: #D4AF37; /* accent */
    border-radius: 9999px;
}

.section-desc-high {
    color: #333840; /* neutral-800 */
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    line-height: 1.625;
}

.nav-link-high {
    font-weight: 500;
    color: #333840; /* neutral-800 */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: 300ms;
}

.nav-link-high:hover {
    color: #1A2C42; /* primary */
}

/* 2. Dropdown Menus */
.dropdown-menu {
    position: absolute;
    left: 0;
    margin-top: 0.5rem;
    width: 16rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    opacity: 0;
    visibility: hidden;
    transition-property: all;
    transition-duration: 300ms;
    transform: translateY(0.5rem);
    z-index: 50;
}

.dropdown-item {
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #333840; /* neutral-800 */
    font-size: 0.875rem;
    font-weight: 500;
    transition-property: color, background-color;
    transition-duration: 300ms;
}

.dropdown-item:hover {
    background-color: #F5F7F9; /* neutral-100 */
    color: #1A2C42; /* primary */
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    width: 16rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    opacity: 0;
    visibility: hidden;
    transition-property: all;
    transition-duration: 300ms;
    transform: translateX(0.5rem);
    z-index: 50;
}

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

.dropdown-item-has-submenu:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Dropdown */
.mobile-dropdown-menu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid #E4E7EB; /* neutral-200 */
}

.mobile-dropdown-menu > * + * {
    margin-top: 0.25rem;
}

.mobile-dropdown-submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid #C9CDD2; /* neutral-300 */
}

.mobile-dropdown-submenu > * + * {
    margin-top: 0.25rem;
}

/* 3. Page Components (Page, News, Products, Certs) */
.section-subtitle-high {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #333840; /* neutral-800 */
    margin-bottom: 1rem;
}

.breadcrumb-high {
    font-size: 0.875rem;
    color: #4B5563; /* neutral-600 approx */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-content-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .page-content-card {
        padding: 2rem;
    }
}

.page-sidebar {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    padding: 1.5rem;
    position: sticky;
    top: 6rem; /* top-24 */
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.375rem;
    color: #374151; /* neutral-700 approx */
    font-weight: 500;
    border-left: 2px solid transparent;
    transition-property: all;
    transition-duration: 300ms;
}

.sidebar-nav-item:hover {
    background-color: #F9FAFB; /* neutral-50 approx */
    color: #1A2C42; /* primary */
    border-color: #1A2C42; /* primary */
}

.sidebar-nav-item.active {
    background-color: rgba(26, 44, 66, 0.05); /* primary/5 */
    color: #1A2C42; /* primary */
    border-color: #1A2C42; /* primary */
}

/* 4. Product List Page */
.product-subcat-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    padding: 1rem;
    transition-property: all;
    transition-duration: 300ms;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.product-subcat-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* high-end-hover */
    border-color: #D4AF37; /* accent */
}

.product-spec-card {
    background-color: #F5F7F9; /* neutral-100 */
    border-radius: 0.5rem;
    padding: 1.25rem;
    font-size: 0.875rem;
}

.product-spec-card > * + * {
    margin-top: 0.75rem;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.spec-highlight {
    color: #1A2C42; /* primary */
    font-weight: 600;
}

.product-tag {
    display: inline-block;
}

/* 5. News Page */
.news-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    overflow: hidden;
    transition-property: all;
    transition-duration: 300ms;
}

.news-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* high-end-hover */
}

.news-category-tag {
    background-color: rgba(26, 44, 66, 0.1); /* primary/10 */
    color: #1A2C42; /* primary */
    font-size: 0.75rem;
    font-weight: 700;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.news-sidebar {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    padding: 1.5rem;
    position: sticky;
    top: 6rem; /* top-24 */
}

.pagination-item {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    background-color: #ffffff;
    border: 1px solid #E4E7EB; /* neutral-200 */
    color: #4B5563; /* neutral-600 approx */
    transition-property: all;
    transition-duration: 300ms;
    cursor: pointer;
}

.pagination-item:hover {
    background-color: #1A2C42; /* primary */
    color: #ffffff;
    border-color: #1A2C42; /* primary */
}

.pagination-item.active {
    background-color: #1A2C42; /* primary */
    color: #ffffff;
    border-color: #1A2C42; /* primary */
}

/* 6. Certificates Page */
.cert-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    overflow: hidden;
    transition-property: all;
    transition-duration: 300ms;
}

.cert-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* high-end-hover */
    transform: translateY(-0.25rem);
}

.cert-img-container {
    overflow: hidden;
    background-color: #F5F7F9; /* neutral-100 */
    position: relative;
}

.cert-detail-img {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #F5F7F9; /* neutral-100 */
}

.cert-info-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 1rem;
}

@media (min-width: 768px) {
    .cert-info-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cert-info-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #F5F7F9; /* neutral-100 */
    padding-bottom: 0.75rem;
}

.cert-info-label {
    font-size: 0.75rem;
    color: #6B7280; /* neutral-500 approx */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.cert-info-value {
    color: #1F2429; /* neutral-900 */
    font-weight: 500;
}

/* 7. Feature Cards */
.feature-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* high-end */
    padding: 1.5rem;
    transition-property: all;
    transition-duration: 300ms;
    text-align: center;
    border: 1px solid #F5F7F9; /* neutral-100 */
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* high-end-hover */
    transform: translateY(-0.25rem);
}
/* 8. Product Detail Sidebar Navigation */
.sidebar-nav {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    position: sticky;
    top: 6rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    color: #4B5563;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    background-color: transparent;
}

.sidebar-item:hover {
    background-color: #F5F7F9;
    color: #1A2C42;
    border-left-color: #D4AF37;
}

.sidebar-item.active {
    background-color: rgba(26, 44, 66, 0.08);
    color: #1A2C42;
    border-left-color: #1A2C42;
    font-weight: 600;
}

.sidebar-item i {
    width: 1.25rem;
    text-align: center;
    color: inherit;
}

/* 9. Product Application Cards */
.app-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.app-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
}

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

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

.app-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 44, 66, 0.9) 0%, rgba(26, 44, 66, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #ffffff;
}

.app-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.app-card-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* 13. Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-wrapper .a1 {
    padding: 0.625rem 1rem;
    background-color: #ffffff;
    border: 1px solid #E4E7EB;
    border-radius: 0.5rem;
    color: #4B5563;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.pagination-wrapper .a1:hover {
    background-color: #1A2C42;
    color: #ffffff;
    border-color: #1A2C42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 44, 66, 0.15);
}

.pagination-wrapper a:not(.a1) {
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #E4E7EB;
    border-radius: 0.5rem;
    color: #4B5563;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-wrapper a:not(.a1):hover {
    background-color: #1A2C42;
    color: #ffffff;
    border-color: #1A2C42;
    box-shadow: 0 2px 8px rgba(26, 44, 66, 0.15);
}

.pagination-wrapper span {
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A2C42 0%, #2A4C72 100%);
    border: 1px solid #1A2C42;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(26, 44, 66, 0.2);
}
