/* ==========================================================================
   AP Filterations — Premium Corporate Theme
   Primary Blue: #1E88E5 | Dark Blue: #0B3C6D | Light Blue: #EAF6FF | Orange: #F7931E
   ========================================================================== */

:root {
    --ap-primary: #1E88E5;
    --ap-primary-dark: #1565C0;
    --ap-dark: #0B3C6D;
    --ap-dark-deep: #062847;
    --ap-light: #EAF6FF;
    --ap-accent: #F7931E;
    --ap-accent-dark: #E07D0A;
    --ap-white: #ffffff;
    --ap-gray-50: #f8fafc;
    --ap-gray-100: #f1f5f9;
    --ap-gray-200: #e2e8f0;
    --ap-gray-400: #94a3b8;
    --ap-gray-600: #475569;
    --ap-gray-800: #1e293b;
    --ap-font-heading: 'Outfit', sans-serif;
    --ap-font-body: 'DM Sans', sans-serif;
    --ap-radius: 12px;
    --ap-radius-lg: 20px;
    --ap-shadow: 0 4px 24px rgba(11, 60, 109, 0.08);
    --ap-shadow-lg: 0 12px 48px rgba(11, 60, 109, 0.15);
    --ap-shadow-hover: 0 20px 60px rgba(11, 60, 109, 0.18);
    --ap-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--ap-font-body);
    color: var(--ap-gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.ap-section-title,
.ap-hero-title,
.ap-product-title,
.ap-article-title {
    font-family: var(--ap-font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a { text-decoration: none; transition: var(--ap-transition); }
img { max-width: 100%; height: auto; }

.min-vh-75 { min-height: 75vh; }
.bg-light-subtle { background: var(--ap-gray-50); }

/* ---- Buttons ---- */
.ap-btn-primary {
    background: linear-gradient(135deg, var(--ap-primary) 0%, var(--ap-primary-dark) 100%);
    border: none;
    color: var(--ap-white);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    transition: var(--ap-transition);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.35);
}
.ap-btn-primary:hover {
    background: linear-gradient(135deg, var(--ap-primary-dark) 0%, var(--ap-dark) 100%);
    color: var(--ap-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.45);
}

.ap-btn-accent {
    background: linear-gradient(135deg, var(--ap-accent) 0%, var(--ap-accent-dark) 100%);
    border: none;
    color: var(--ap-white);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    transition: var(--ap-transition);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.35);
}
.ap-btn-accent:hover {
    color: var(--ap-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.45);
}

.ap-btn-outline-primary {
    border: 2px solid var(--ap-primary);
    color: var(--ap-primary);
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    background: transparent;
    transition: var(--ap-transition);
}
.ap-btn-outline-primary:hover {
    background: var(--ap-primary);
    color: var(--ap-white);
    transform: translateY(-2px);
}

.ap-btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--ap-white);
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    background: transparent;
}
.ap-btn-outline-light:hover {
    background: var(--ap-white);
    color: var(--ap-dark);
    border-color: var(--ap-white);
}

.ap-link-arrow {
    color: var(--ap-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.ap-link-arrow:hover { color: var(--ap-dark); gap: 0.55rem; }

/* ---- Topbar ---- */
.ap-topbar {
    background: var(--ap-dark-deep);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.ap-topbar-info a {
    color: rgba(255,255,255,0.85);
    margin-right: 1.5rem;
}
.ap-topbar-info a:hover { color: var(--ap-accent); }
.ap-topbar-info i { color: var(--ap-accent); margin-right: 0.35rem; }
.ap-topbar-social a {
    color: rgba(255,255,255,0.7);
    margin-left: 0.75rem;
    font-size: 1rem;
}
.ap-topbar-social a:hover { color: var(--ap-accent); }

/* ---- Header ---- */
.ap-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(11, 60, 109, 0.06);
    z-index: 1030;
}
.ap-header .navbar { padding: 0.75rem 0; }
.ap-brand .ap-logo { height: 48px; width: auto; }
.ap-brand-text {
    font-family: var(--ap-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ap-dark);
}
.ap-header .nav-link {
    font-weight: 500;
    color: var(--ap-gray-600);
    padding: 0.5rem 1rem !important;
    position: relative;
}
.ap-header .nav-link:hover,
.ap-header .nav-link.active { color: var(--ap-primary); }
.ap-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--ap-primary);
    border-radius: 2px;
}
.ap-header .navbar-toggler { border-color: var(--ap-primary); }
.ap-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230B3C6D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Breadcrumbs ---- */
.ap-breadcrumb-section {
    background: linear-gradient(135deg, var(--ap-dark) 0%, var(--ap-dark-deep) 100%);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.ap-breadcrumb-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30,136,229,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.ap-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.ap-breadcrumb .breadcrumb-item a:hover { color: var(--ap-accent); }
.ap-breadcrumb .breadcrumb-item.active { color: var(--ap-white); }
.ap-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.ap-page-title {
    color: var(--ap-white);
    font-size: 2.25rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ---- Sections ---- */
.ap-section { padding: 5rem 0; }
.ap-section-header { margin-bottom: 3rem; }
.ap-section-header-row { margin-bottom: 3rem; }
.ap-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ap-primary);
    margin-bottom: 0.75rem;
}
.ap-section-label.light { color: var(--ap-accent); }
.ap-section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--ap-dark);
    margin-bottom: 1rem;
}
.ap-section-desc {
    color: var(--ap-gray-600);
    font-size: 1.05rem;
    max-width: 600px;
}

/* ---- Hero ---- */
.ap-hero {
    position: relative;
    background: linear-gradient(135deg, var(--ap-dark) 0%, #0a2a4a 40%, var(--ap-primary-dark) 100%);
    padding: 5rem 0 2rem;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.ap-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(30,136,229,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(247,147,30,0.1) 0%, transparent 40%);
    pointer-events: none;
}
.ap-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--ap-accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.ap-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    color: var(--ap-white);
    margin-bottom: 1.25rem;
    font-weight: 800;
}
.ap-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
    font-weight: 500;
}
.ap-hero-text {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    max-width: 540px;
    margin-bottom: 2rem;
}
.ap-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.ap-hero-visual { position: relative; }
.ap-hero-image {
    border-radius: var(--ap-radius-lg);
    box-shadow: var(--ap-shadow-lg);
}
.ap-hero-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.08);
    border-radius: var(--ap-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.2);
}
.ap-hero-stat-card {
    position: absolute;
    background: var(--ap-white);
    padding: 1rem 1.25rem;
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow-lg);
    animation: float 4s ease-in-out infinite;
}
.ap-hero-stat-card strong {
    display: block;
    font-family: var(--ap-font-heading);
    font-size: 1.5rem;
    color: var(--ap-primary);
    line-height: 1;
}
.ap-hero-stat-card span {
    font-size: 0.75rem;
    color: var(--ap-gray-600);
    font-weight: 500;
}
.ap-stat-1 { bottom: 20%; left: -10%; }
.ap-stat-2 { top: 15%; right: -5%; animation-delay: -2s; }
.ap-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}
.ap-hero-wave svg { width: 100%; height: 60px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---- Feature Cards ---- */
.ap-feature-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--ap-shadow);
    border: 1px solid var(--ap-gray-100);
    transition: var(--ap-transition);
    text-align: center;
}
.ap-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ap-shadow-hover);
    border-color: var(--ap-light);
}
.ap-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ap-light) 0%, rgba(30,136,229,0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--ap-primary);
    transition: var(--ap-transition);
}
.ap-feature-card:hover .ap-feature-icon {
    background: linear-gradient(135deg, var(--ap-primary) 0%, var(--ap-dark) 100%);
    color: var(--ap-white);
    transform: scale(1.05);
}
.ap-feature-card h4 {
    font-size: 1.15rem;
    color: var(--ap-dark);
    margin-bottom: 0.75rem;
}
.ap-feature-card p {
    color: var(--ap-gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* ---- About Dark Section ---- */
.ap-about-dark {
    background: linear-gradient(135deg, var(--ap-dark) 0%, var(--ap-dark-deep) 100%);
    position: relative;
    overflow: hidden;
}
.ap-about-dark::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(30,136,229,0.08) 0%, transparent 70%);
}
.ap-about-image-wrap { position: relative; }
.ap-about-placeholder {
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.15);
}
.ap-about-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--ap-accent);
    color: var(--ap-white);
    padding: 1rem 1.25rem;
    border-radius: var(--ap-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--ap-shadow-lg);
}
.ap-about-badge i { font-size: 1.75rem; }
.ap-about-badge strong { display: block; font-size: 0.95rem; }
.ap-about-badge span { font-size: 0.75rem; opacity: 0.9; }
.ap-about-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.ap-about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.ap-about-list li {
    color: rgba(255,255,255,0.85);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ap-about-list i {
    color: var(--ap-accent);
    font-size: 1.1rem;
}

/* ---- Product Cards ---- */
.ap-product-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    overflow: hidden;
    box-shadow: var(--ap-shadow);
    border: 1px solid var(--ap-gray-100);
    transition: var(--ap-transition);
}
.ap-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ap-shadow-hover);
}
.ap-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--ap-gray-50);
}
.ap-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ap-product-card:hover .ap-product-image img { transform: scale(1.08); }
.ap-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--ap-gray-200);
    background: var(--ap-light);
}
.ap-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--ap-accent) 0%, var(--ap-accent-dark) 100%);
    color: var(--ap-white);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(247,147,30,0.4);
}
.ap-badge-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ap-primary);
    color: var(--ap-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
    z-index: 2;
}
.ap-badge-lg { font-size: 0.8rem; padding: 0.4rem 1rem; }
.ap-product-body { padding: 1.25rem 1.5rem 1.5rem; }
.ap-product-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ap-primary);
    margin-bottom: 0.5rem;
}
.ap-product-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.ap-product-body h4 a { color: var(--ap-dark); }
.ap-product-body h4 a:hover { color: var(--ap-primary); }
.ap-product-body p {
    color: var(--ap-gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* ---- Industry Cards ---- */
.ap-industry-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--ap-shadow);
    border: 1px solid transparent;
    transition: var(--ap-transition);
    position: relative;
    overflow: hidden;
}
.ap-industry-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--ap-primary), var(--ap-accent));
    transition: height 0.4s ease;
}
.ap-industry-card:hover::before { height: 100%; }
.ap-industry-card:hover {
    border-color: var(--ap-light);
    transform: translateY(-4px);
    box-shadow: var(--ap-shadow-hover);
}
.ap-industry-icon {
    width: 56px;
    height: 56px;
    background: var(--ap-light);
    border-radius: var(--ap-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ap-primary);
    margin-bottom: 1rem;
}
.ap-industry-card h4 { font-size: 1.15rem; color: var(--ap-dark); margin-bottom: 0.5rem; }
.ap-industry-card p { color: var(--ap-gray-600); font-size: 0.9rem; margin: 0; }

/* ---- Process Steps ---- */
.ap-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.ap-process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    box-shadow: var(--ap-shadow);
    position: relative;
    transition: var(--ap-transition);
}
.ap-process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--ap-shadow-hover);
}
.ap-process-number {
    font-family: var(--ap-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ap-primary) 0%, var(--ap-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}
.ap-process-step h4 { font-size: 1.1rem; color: var(--ap-dark); margin-bottom: 0.5rem; }
.ap-process-step p { color: var(--ap-gray-600); font-size: 0.9rem; margin: 0; }

/* ---- Clients ---- */
.ap-clients-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}
.ap-client-logo {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--ap-transition);
    max-width: 140px;
}
.ap-client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}
.ap-client-logo img { max-height: 144px; width: auto; object-fit: contain; }

/* ---- Testimonials ---- */
.ap-testimonials-section {
    background: linear-gradient(180deg, var(--ap-gray-50) 0%, var(--ap-light) 100%);
}
.ap-testimonial-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--ap-shadow);
    border: 1px solid var(--ap-gray-100);
    position: relative;
}
.ap-testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: var(--ap-light);
    font-family: Georgia, serif;
    line-height: 1;
}
.ap-testimonial-rating { color: var(--ap-accent); margin-bottom: 1rem; font-size: 0.9rem; }
.ap-testimonial-text {
    color: var(--ap-gray-600);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.ap-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ap-testimonial-author img,
.ap-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.ap-testimonial-avatar {
    background: var(--ap-primary);
    color: var(--ap-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.ap-testimonial-author strong { display: block; color: var(--ap-dark); font-size: 0.95rem; }
.ap-testimonial-author span { font-size: 0.8rem; color: var(--ap-gray-400); }
.ap-testimonial-slider .swiper-pagination-bullet-active { background: var(--ap-primary); }

/* ---- FAQ Accordion ---- */
.ap-accordion .accordion-item {
    border: 1px solid var(--ap-gray-200);
    border-radius: var(--ap-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.ap-accordion .accordion-button {
    font-weight: 600;
    color: var(--ap-dark);
    background: var(--ap-white);
    padding: 1.1rem 1.25rem;
    box-shadow: none !important;
}
.ap-accordion .accordion-button:not(.collapsed) {
    background: var(--ap-light);
    color: var(--ap-primary);
}
.ap-accordion .accordion-body {
    color: var(--ap-gray-600);
    padding: 0 1.25rem 1.25rem;
}

/* ---- CTA Banner ---- */
.ap-cta-banner { padding: 0 0 5rem; }
.ap-cta-inner {
    background: linear-gradient(135deg, var(--ap-primary) 0%, var(--ap-dark) 100%);
    border-radius: var(--ap-radius-lg);
    padding: 3rem;
    color: var(--ap-white);
    box-shadow: var(--ap-shadow-lg);
    position: relative;
    overflow: hidden;
}
.ap-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(247,147,30,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.ap-cta-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    position: relative;
}
.ap-cta-inner p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    position: relative;
}

/* ---- About Page ---- */
.ap-mv-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--ap-radius-lg);
    padding: 2.5rem;
    height: 100%;
    backdrop-filter: blur(8px);
}
.ap-mv-icon {
    width: 60px;
    height: 60px;
    background: rgba(247,147,30,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ap-accent);
    margin-bottom: 1.25rem;
}
.ap-mv-card h3 { color: var(--ap-white); margin-bottom: 1rem; }
.ap-mv-card p { color: rgba(255,255,255,0.8); margin: 0; }

.ap-value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    box-shadow: var(--ap-shadow);
    height: 100%;
    transition: var(--ap-transition);
}
.ap-value-card:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-hover); }
.ap-value-icon {
    width: 64px;
    height: 64px;
    background: var(--ap-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--ap-primary);
}
.ap-value-card h4 { color: var(--ap-dark); margin-bottom: 0.5rem; }
.ap-value-card p { color: var(--ap-gray-600); font-size: 0.9rem; margin: 0; }

/* ---- Timeline ---- */
.ap-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.ap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--ap-primary), var(--ap-accent));
    border-radius: 3px;
}
.ap-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
}
.ap-timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.ap-timeline-item:nth-child(odd) .ap-timeline-content { padding-right: 2.5rem; padding-left: 0; }
.ap-timeline-item:nth-child(even) .ap-timeline-content { padding-left: 2.5rem; }
.ap-timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ap-primary);
    color: var(--ap-white);
    font-family: var(--ap-font-heading);
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(30,136,229,0.35);
}
.ap-timeline-content {
    width: 50%;
    background: var(--ap-white);
    padding: 1.5rem;
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow);
}
.ap-timeline-content h4 { color: var(--ap-dark); margin-bottom: 0.5rem; font-size: 1.05rem; }
.ap-timeline-content p { color: var(--ap-gray-600); font-size: 0.9rem; margin: 0; }

/* ---- Team ---- */
.ap-team-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    overflow: hidden;
    box-shadow: var(--ap-shadow);
    transition: var(--ap-transition);
    text-align: center;
}
.ap-team-card:hover { transform: translateY(-6px); box-shadow: var(--ap-shadow-hover); }
.ap-team-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ap-light);
}
.ap-team-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ap-team-card:hover .ap-team-image img { transform: scale(1.05); }
.ap-team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--ap-primary);
    background: var(--ap-light);
}
.ap-team-body { padding: 1.25rem; }
.ap-team-body h4 { font-size: 1.05rem; margin-bottom: 0.25rem; color: var(--ap-dark); }
.ap-team-role { color: var(--ap-primary); font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 0.5rem; }
.ap-team-body p { font-size: 0.85rem; color: var(--ap-gray-600); }
.ap-team-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ap-light);
    color: var(--ap-primary);
    margin: 0 0.25rem;
    font-size: 0.9rem;
}
.ap-team-social a:hover { background: var(--ap-primary); color: var(--ap-white); }

/* ---- Certificates ---- */
.ap-certificates-section { background: var(--ap-light); }
.ap-cert-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--ap-shadow);
    height: 100%;
    transition: var(--ap-transition);
}
.ap-cert-card:hover { transform: scale(1.03); }
.ap-cert-card img { max-height: 100px; object-fit: contain; margin-bottom: 1rem; }
.ap-cert-card h5 { font-size: 0.95rem; color: var(--ap-dark); margin-bottom: 0.25rem; }
.ap-cert-card p { font-size: 0.8rem; color: var(--ap-gray-600); margin: 0; }

/* ---- Filter Sidebar ---- */
.ap-filter-sidebar {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--ap-shadow);
    border: 1px solid var(--ap-gray-100);
    position: sticky;
    top: 100px;
}
.ap-filter-title {
    font-size: 1.1rem;
    color: var(--ap-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ap-light);
}
.ap-filter-categories { display: flex; flex-direction: column; gap: 0.35rem; }
.ap-filter-cat {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: var(--ap-gray-600);
    font-size: 0.9rem;
    transition: var(--ap-transition);
}
.ap-filter-cat:hover,
.ap-filter-cat.active {
    background: var(--ap-light);
    color: var(--ap-primary);
    font-weight: 600;
}

/* ---- Product Detail ---- */
.ap-product-title { font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--ap-dark); margin: 0.5rem 0 1rem; }
.ap-product-short-desc { color: var(--ap-gray-600); font-size: 1.05rem; margin-bottom: 1.5rem; }
.ap-gallery-main { position: relative; overflow: hidden; border-radius: var(--ap-radius-lg); background: var(--ap-gray-50); }
.ap-gallery-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ap-gallery-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: none;
    transition: var(--ap-transition);
}
.ap-gallery-thumb.active,
.ap-gallery-thumb:hover { border-color: var(--ap-primary); }
.ap-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ap-product-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ap-product-features-list li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ap-gray-600);
}
.ap-product-features-list i { color: var(--ap-primary); }
.ap-specs-table th {
    background: var(--ap-light);
    color: var(--ap-dark);
    font-weight: 600;
    width: 40%;
    padding: 0.85rem 1rem;
}
.ap-specs-table td { padding: 0.85rem 1rem; }
.ap-application-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--ap-gray-50);
    border-radius: var(--ap-radius);
    font-size: 0.9rem;
}
.ap-application-item i { color: var(--ap-accent); font-size: 1.1rem; }

.ap-inquiry-sidebar,
.ap-contact-form-card,
.ap-contact-info-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    padding: 2rem;
    box-shadow: var(--ap-shadow);
    border: 1px solid var(--ap-gray-100);
}
.ap-inquiry-sidebar h4,
.ap-contact-form-card h4,
.ap-contact-info-card h4 {
    color: var(--ap-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.ap-inquiry-sidebar h4 i,
.ap-contact-form-card h4 i,
.ap-contact-info-card h4 i { color: var(--ap-primary); margin-right: 0.5rem; }

/* ---- Blog ---- */
.ap-blog-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    overflow: hidden;
    box-shadow: var(--ap-shadow);
    transition: var(--ap-transition);
}
.ap-blog-card:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-hover); }
.ap-blog-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ap-light);
}
.ap-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.ap-blog-card:hover .ap-blog-image img { transform: scale(1.06); }
.ap-blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--ap-gray-200);
}
.ap-blog-cat-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--ap-primary);
    color: var(--ap-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ap-blog-body { padding: 1.25rem 1.5rem 1.5rem; }
.ap-blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--ap-gray-400);
    margin-bottom: 0.75rem;
}
.ap-blog-meta i { margin-right: 0.25rem; }
.ap-blog-body h3, .ap-blog-body h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.ap-blog-body h3 a, .ap-blog-body h4 a { color: var(--ap-dark); }
.ap-blog-body h3 a:hover, .ap-blog-body h4 a:hover { color: var(--ap-primary); }
.ap-blog-body p { color: var(--ap-gray-600); font-size: 0.9rem; margin-bottom: 0.75rem; }

.ap-blog-sidebar { position: sticky; top: 100px; }
.ap-sidebar-widget {
    background: var(--ap-white);
    border-radius: var(--ap-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--ap-shadow);
    margin-bottom: 1.5rem;
    border: 1px solid var(--ap-gray-100);
}
.ap-widget-title {
    font-size: 1.05rem;
    color: var(--ap-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ap-light);
}
.ap-sidebar-list { list-style: none; padding: 0; margin: 0; }
.ap-sidebar-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--ap-gray-600);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--ap-gray-100);
}
.ap-sidebar-list li a:hover,
.ap-sidebar-list li a.active { color: var(--ap-primary); font-weight: 600; }
.ap-sidebar-list .badge {
    background: var(--ap-light);
    color: var(--ap-primary);
    font-weight: 600;
}
.ap-sidebar-post {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--ap-gray-100);
}
.ap-sidebar-post img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.ap-sidebar-post a {
    color: var(--ap-dark);
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
}
.ap-sidebar-post a:hover { color: var(--ap-primary); }
.ap-sidebar-post small { color: var(--ap-gray-400); font-size: 0.75rem; }

/* ---- Blog Detail ---- */
.ap-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--ap-gray-400);
}
.ap-article-meta .ap-blog-cat-badge { position: static; }
.ap-article-title { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--ap-dark); margin-bottom: 1rem; }
.ap-article-excerpt { color: var(--ap-gray-600); margin-bottom: 2rem; }
.ap-article-content { font-size: 1.05rem; line-height: 1.8; }
.ap-article-content h2, .ap-article-content h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--ap-dark); }
.ap-article-content img { border-radius: var(--ap-radius); margin: 1.5rem 0; }
.ap-content img { max-width: 100%; height: auto; border-radius: var(--ap-radius); }

.ap-share-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ap-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--ap-transition);
    color: var(--ap-white);
}
.ap-share-btn.facebook { background: #1877F2; }
.ap-share-btn.twitter { background: #000; }
.ap-share-btn.linkedin { background: #0A66C2; }
.ap-share-btn.whatsapp { background: #25D366; }
.ap-share-btn.copy { background: var(--ap-gray-600); }
.ap-share-btn:hover { opacity: 0.85; transform: translateY(-2px); color: var(--ap-white); }

/* ---- Contact ---- */
.ap-contact-info-list { list-style: none; padding: 0; margin: 0; }
.ap-contact-info-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ap-gray-100);
}
.ap-contact-icon {
    width: 48px;
    height: 48px;
    background: var(--ap-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-primary);
    flex-shrink: 0;
}
.ap-contact-info-list strong { display: block; color: var(--ap-dark); font-size: 0.9rem; }
.ap-contact-info-list p { margin: 0; color: var(--ap-gray-600); font-size: 0.9rem; }
.ap-contact-info-list a { color: var(--ap-primary); }
.ap-contact-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ap-light);
    color: var(--ap-primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}
.ap-contact-social a:hover { background: var(--ap-primary); color: var(--ap-white); }
.ap-map-wrapper iframe { display: block; width: 100%; min-height: 400px; }

/* ---- Inquiry ---- */
.ap-inquiry-product-banner {
    background: var(--ap-light);
    border-radius: var(--ap-radius);
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--ap-primary);
}
.ap-inquiry-product-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

/* ---- Footer ---- */
.ap-footer-main {
    background: linear-gradient(180deg, var(--ap-dark) 0%, var(--ap-dark-deep) 100%);
    padding: 4rem 0 2rem;
    color: rgba(255,255,255,0.75);
}
.ap-footer-logo { height: 44px; width: auto; }
.ap-footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.ap-footer-title {
    color: var(--ap-white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-family: var(--ap-font-heading);
}
.ap-footer-links { list-style: none; padding: 0; margin: 0; }
.ap-footer-links li { padding: 0.35rem 0; }
.ap-footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.ap-footer-links a:hover { color: var(--ap-accent); padding-left: 4px; }
.ap-footer-contact { list-style: none; padding: 0; margin: 0; }
.ap-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}
.ap-footer-contact i { color: var(--ap-accent); margin-top: 3px; }
.ap-footer-contact a { color: rgba(255,255,255,0.7); }
.ap-footer-contact a:hover { color: var(--ap-accent); }
.ap-footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    margin-right: 0.5rem;
    transition: var(--ap-transition);
}
.ap-footer-social a:hover { background: var(--ap-accent); color: var(--ap-white); }
.ap-newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 0.65rem 1rem;
}
.ap-newsletter-form .ap-btn-accent {
    border-radius: 0 50px 50px 0;
    padding: 0.65rem 1.25rem;
}
.ap-footer-bottom {
    background: var(--ap-dark-deep);
    padding: 1.25rem 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}
.ap-footer-credit { color: var(--ap-accent); font-weight: 600; }

/* ---- Utilities ---- */
.ap-empty-state i { opacity: 0.3; }
.ap-alert { border-radius: var(--ap-radius); border: none; }
.ap-content-block h3 { color: var(--ap-dark); margin-bottom: 1rem; font-size: 1.35rem; }

.form-control:focus {
    border-color: var(--ap-primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.15);
}

/* ---- Pagination ---- */
.pagination .page-link {
    color: var(--ap-primary);
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid var(--ap-gray-200);
}
.pagination .page-item.active .page-link {
    background: var(--ap-primary);
    border-color: var(--ap-primary);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .ap-section { padding: 3.5rem 0; }
    .ap-hero { min-height: auto; padding: 5rem 0 0; }
    .ap-hero-stat-card { display: none; }
    .ap-filter-sidebar { position: static; margin-bottom: 2rem; }
    .ap-blog-sidebar { position: static; }
    .ap-timeline::before { left: 20px; }
    .ap-timeline-item,
    .ap-timeline-item:nth-child(odd) { flex-direction: column; text-align: left; }
    .ap-timeline-item:nth-child(odd) .ap-timeline-content,
    .ap-timeline-item:nth-child(even) .ap-timeline-content {
        width: 100%;
        padding-left: 3rem;
        padding-right: 0;
        margin-top: 2rem;
    }
    .ap-timeline-year { left: 20px; transform: none; }
    .ap-cta-inner { padding: 2rem; text-align: center; }
    .ap-cta-inner .text-lg-end { text-align: center !important; margin-top: 1.5rem; }
}

@media (max-width: 575.98px) {
    .ap-hero-actions { flex-direction: column; }
    .ap-hero-actions .btn { width: 100%; text-align: center; }
    .ap-share-buttons { flex-direction: column; }
    .ap-share-btn { justify-content: center; }
}
