/* ============================================
   PAN ENGINEERS — PAGES CSS
   All Inner Pages Styles
============================================ */

/* ---- Page Body Padding ---- */
.pe-page { padding-top: 0; }

/* ---- Section Padding ---- */
.pe-section { padding: 80px 0; }

/* ---- Page Hero Banner ---- */
.page-hero-banner {
    position: relative;
    height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 80px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    transform: scale(1.05);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12,74,110,0.85) 0%, rgba(14,165,233,0.3) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
    color: white;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--pe-sky-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    color: white;
    margin-bottom: 12px;
}

.page-hero-content h1 span { color: var(--pe-sky-light); }

.page-hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

/* ---- About Story Grid ---- */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14,165,233,0.15);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-secondary {
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-badge {
    position: absolute;
    top: 24px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--pe-sky), var(--pe-sky-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(14,165,233,0.4);
    z-index: 2;
}

.badge-year {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.badge-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.badge-label {
    font-size: 9px;
    text-align: center;
    opacity: 0.85;
}

.about-para {
    font-size: 15px;
    color: var(--pe-text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--pe-text-mid);
    font-weight: 500;
}

.highlight-item svg {
    width: 18px;
    height: 18px;
    color: var(--pe-sky);
    flex-shrink: 0;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--pe-sky), var(--pe-sky-dark));
    color: white;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(14,165,233,0.4);
}

.about-cta-btn svg { width: 18px; height: 18px; }

/* ---- Timeline ---- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--pe-sky-light), var(--pe-sky-dark));
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 0;
    margin-bottom: 48px;
    align-items: center;
}

.timeline-item .timeline-year {
    text-align: right;
    padding-right: 32px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--pe-sky);
}

.timeline-item.right .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 32px;
    order: 3;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--pe-sky);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--pe-sky-light);
    justify-self: center;
    z-index: 1;
}

.active-dot {
    background: var(--pe-sky-dark);
    box-shadow: 0 0 0 4px rgba(14,165,233,0.3), 0 0 20px rgba(14,165,233,0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

.timeline-content {
    padding: 20px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--pe-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-left: 32px;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
    margin-right: 32px;
    order: 1;
    text-align: right;
}

.timeline-item.right .timeline-dot { order: 2; }

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--pe-navy);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--pe-text-light);
    line-height: 1.6;
}

.active-content {
    border-color: var(--pe-sky-light);
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

/* ---- Stats Grid ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--pe-border);
    box-shadow: 0 8px 30px rgba(14,165,233,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14,165,233,0.2);
    border-color: var(--pe-sky-lighter);
}

.stat-big {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 900;
    color: var(--pe-sky);
    line-height: 1;
}

.stat-big-plus {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--pe-sky);
}

.stat-card .stat-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--pe-text-mid);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Factory Grid ---- */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.factory-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 240px;
}

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

.factory-img:hover img { transform: scale(1.08); }

.factory-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(12,74,110,0.9), transparent);
    font-size: 13px;
    font-weight: 600;
    color: white;
}

/* ---- Products Page ---- */
.products-filter-bar, .gallery-filter-bar {
    background: white;
    border-bottom: 1px solid var(--pe-border);
    padding: 16px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.products-filter-bar .container, .gallery-filter-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--pe-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--pe-text-mid);
    cursor: pointer;
    transition: all 0.25s ease;
    background: white;
}

.filter-tab.active, .filter-tab:hover {
    background: var(--pe-sky);
    border-color: var(--pe-sky);
    color: white;
}

.download-btn-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--pe-sky), var(--pe-sky-dark));
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.download-btn-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14,165,233,0.4);
}

.download-btn-top svg { width: 16px; height: 16px; }

/* ---- Category Header ---- */
.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(249,115,22,0.06), rgba(249,115,22,0.02));
    border: 1px solid rgba(249,115,22,0.15);
    border-radius: 16px;
}

.tractor-header {
    background: linear-gradient(135deg, rgba(14,165,233,0.06), rgba(14,165,233,0.02));
    border-color: rgba(14,165,233,0.15);
}
.oil-gas-category { background: linear-gradient(135deg, #f0f9ff, #ffffff); }
.oil-gas-header { background: linear-gradient(135deg, rgba(14,165,233,0.10), rgba(3,105,161,0.04)); }
.oil-gas-tag { color: var(--pe-sky-darker); background: rgba(14,165,233,0.12); }

.cat-icon {
    width: 56px;
    height: 56px;
    background: rgba(249,115,22,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #f97316;
}

.cat-icon svg { width: 28px; height: 28px; }

.cat-icon-blue {
    background: rgba(14,165,233,0.1);
    color: var(--pe-sky);
}

.category-header h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--pe-navy);
    margin-bottom: 4px;
}

.category-header p {
    font-size: 14px;
    color: var(--pe-text-light);
}

/* ---- Product Items (Clean CVA Parts B2B Catalog Style) ---- */
.product-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-item {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.product-item-img-link {
    display: block;
    text-decoration: none;
}

.product-item-img {
    height: 240px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.product-item-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

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

.product-placeholder-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    height: 100%;
    width: 100%;
    background: #f8fafc;
    border-radius: 6px;
    padding: 16px;
    border: 1px dashed #cbd5e1;
}

.product-placeholder-box span {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-item-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 16px;
    text-transform: uppercase;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.product-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card-title a:hover {
    color: #ef4444;
}

.product-card-actions {
    margin-top: auto;
    width: 100%;
}

.product-see-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 9px 14px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ef4444;
    border: 1.5px solid #ef4444;
    background: transparent;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
}

.product-see-btn:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* ---- Catalogue CTA Section ---- */
.catalogue-cta-box {
    background: linear-gradient(135deg, var(--pe-navy), var(--pe-sky-dark));
    border-radius: 24px;
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-box-content h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.cta-box-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
}

.cta-box-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.catalogue-download-big-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: white;
    color: var(--pe-sky-dark);
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.catalogue-download-big-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.catalogue-download-big-btn svg { width: 20px; height: 20px; }

.catalogue-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    justify-content: center;
}

.catalogue-call-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.catalogue-call-btn svg { width: 18px; height: 18px; }

/* ---- Dealer Page ---- */
.dealer-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.dealer-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--pe-light-bg);
    border-radius: 12px;
    border: 1px solid var(--pe-border);
}

.benefit-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--pe-navy);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 12px;
    color: var(--pe-text-light);
    margin: 0;
}

/* ---- India Map / States ---- */
.india-map-wrap { position: sticky; top: 100px; }

.map-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--pe-border);
    box-shadow: 0 8px 30px rgba(14,165,233,0.1);
    overflow: hidden;
}

.map-card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--pe-navy), var(--pe-sky-dark));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-card-header h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.map-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.states-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 16px;
}

.state-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--pe-text-mid);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.state-item:hover {
    background: var(--pe-light-bg);
    color: var(--pe-sky-dark);
}

.state-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pe-sky);
    flex-shrink: 0;
}

.more-states {
    color: var(--pe-sky);
    font-weight: 600;
    grid-column: span 2;
    justify-content: center;
}

.map-cta {
    padding: 16px 24px;
    background: var(--pe-light-bg);
    text-align: center;
    font-size: 14px;
    color: var(--pe-text-mid);
    border-top: 1px solid var(--pe-border);
}

/* ---- Dealer Form ---- */
.dealer-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(14,165,233,0.1);
    border: 1px solid var(--pe-border);
}

.dealer-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pe-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--pe-border);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--pe-text-dark);
    background: white;
    outline: none;
    transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pe-sky);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.form-group textarea { resize: vertical; }

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--pe-sky), var(--pe-sky-dark));
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-primary);
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(14,165,233,0.4);
}

.form-submit-btn svg { width: 18px; height: 18px; }

/* ---- Gallery Grid ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 260px;
    cursor: pointer;
}

.gallery-item-wide .gallery-img-wrap { height: 280px; }

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

.gallery-img-wrap:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,74,110,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img-wrap:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.gallery-zoom {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--pe-sky-dark);
}

.gallery-zoom svg { width: 20px; height: 20px; }

/* ---- Lightbox ---- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-overlay.active { display: flex; }

.lightbox-img-wrap {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-img-wrap img {
    max-height: 80vh;
    width: auto;
    max-width: 100%;
    border-radius: 12px;
    margin: 0 auto;
}

#lightbox-caption {
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
    font-size: 14px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 28px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 60px;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.5;
    transition: opacity 0.2s;
    line-height: 1;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }

/* ---- Pages Responsive ---- */
@media (max-width: 1024px) {
    .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-badge { right: 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .factory-grid { grid-template-columns: repeat(2, 1fr); }
    .dealer-cta-grid { grid-template-columns: 1fr; }
    .india-map-wrap { position: static; }
    .product-items-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 0 40px 1fr; }
    .timeline-item .timeline-year { display: none; }
    .timeline-item.right { grid-template-columns: 0 40px 1fr; }
    .timeline-item.right .timeline-content { order: 3; margin-right: 0; margin-left: 16px; text-align: left; }
    .timeline-item.right .timeline-dot { order: 2; }
    .timeline-item.right .timeline-year { order: 1; }
    .timeline-content { margin-left: 16px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item-wide { grid-column: span 2; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dealer-benefits { grid-template-columns: 1fr; }
    .catalogue-cta-box { flex-direction: column; padding: 36px 24px; }
    .highlight-item { font-size: 13px; }
    .about-highlights { grid-template-columns: 1fr; }
    .dealer-form-wrap { padding: 28px 20px; }
    .product-items-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
    .page-hero-banner { height: 300px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item-wide { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-big { font-size: 38px; }
    .factory-grid { grid-template-columns: 1fr; }
    .product-items-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   CATALOGUE PAGE — PREMIUM CSS
=============================================== */

/* ---- Intro Bar ---- */
.cat-intro-bar {
    background: var(--pe-navy);
    padding: 16px 0;
    border-bottom: 1px solid rgba(14,165,233,0.2);
}
.cat-intro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cat-quick-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cat-nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.cat-nav-btn:hover {
    background: #0ea5e9;
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
}
.cat-intro-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
}
.cat-intro-text svg { width: 20px; height: 20px; color: var(--pe-sky-light); flex-shrink: 0; }
.cat-intro-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(14,165,233,0.15);
    border: 1px solid rgba(14,165,233,0.3);
    border-radius: 8px;
    color: var(--pe-sky-light);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cat-intro-call svg { width: 14px; height: 14px; }
.cat-intro-call:hover { background: rgba(14,165,233,0.3); color: white; }

/* ---- Catalogue Sections ---- */
.cat-section { padding: 100px 0; }
.cat-section-2 { background: var(--pe-light-bg); }

/* ---- Section Header ---- */
.cat-section-header {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 56px;
}
.cat-section-number {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 900;
    color: rgba(249,115,22,0.12);
    line-height: 0.8;
    flex-shrink: 0;
    user-select: none;
}
.cat-num-blue  { color: rgba(14,165,233,0.12); }
.cat-num-green { color: rgba(16,185,129,0.12); }

.cat-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.25);
    color: #ea580c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 12px;
}
.cat-tag-blue  { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.25); color: var(--pe-sky-dark); }
.cat-tag-green { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25); color: #059669; }

.cat-section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    color: var(--pe-navy);
    line-height: 1.1;
    margin-bottom: 12px;
}
.cat-section-title span { color: #ea580c; }
.blue-hl  { color: var(--pe-sky-dark) !important; }
.green-hl { color: #059669 !important; }
.cat-section-desc { font-size: 16px; color: var(--pe-text-mid); line-height: 1.7; max-width: 620px; }

/* ---- New pulse dot ---- */
.new-pulse {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
}
.new-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(16,185,129,0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

/* ---- Big Card Layout ---- */
.cat-card-big {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--pe-border);
    box-shadow: 0 8px 48px rgba(0,0,0,0.07);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.cat-card-big:hover {
    box-shadow: 0 20px 60px rgba(14,165,233,0.12);
    transform: translateY(-4px);
}
.cat-card-reverse { direction: rtl; }
.cat-card-reverse .cat-card-info,
.cat-card-reverse .cat-card-preview { direction: ltr; }

/* ---- Preview Column ---- */
.cat-card-preview {
    display: flex;
    flex-direction: column;
    background: var(--pe-light-bg);
    border-right: 1px solid var(--pe-border);
}
.cat-card-reverse .cat-card-preview { border-right: none; border-left: 1px solid var(--pe-border); }
.cat-preview-inner {
    position: relative;
    flex: 1;
    overflow: hidden;
    min-height: 280px;
}
.cat-preview-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.5s ease;
    background: white;
}
.cat-card-big:hover .cat-preview-inner img { transform: scale(1.04); }

.cat-preview-overlay {
    position: absolute;
    top: 16px; right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(249,115,22,0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px 14px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}
.cat-overlay-blue  { background: rgba(14,165,233,0.9); }
.cat-overlay-green { background: rgba(16,185,129,0.9); }
.cat-pdf-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}
.cat-pdf-icon svg { width: 20px; height: 20px; }

.cat-preview-badge {
    position: absolute;
    bottom: 12px; left: 12px;
    padding: 5px 14px;
    background: #f97316;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
}
.cat-badge-pe  { background: var(--pe-sky); }
.cat-badge-new { background: #10b981; display: flex; align-items: center; gap: 6px; }
.new-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: white; animation: pulse 1.5s ease-in-out infinite; }

.cat-preview-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-top: 1px solid var(--pe-border);
}
.thumb-img { height: 80px; overflow: hidden; }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.thumb-img:hover img { transform: scale(1.1); }

/* ---- Info Column ---- */
.cat-card-info {
    padding: 40px 44px 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cat-card-reverse .cat-card-info { padding: 40px 0 40px 44px; }

.cat-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(249,115,22,0.08);
    border: 1px solid rgba(249,115,22,0.2);
    color: #ea580c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 8px;
    width: fit-content;
}
.cat-info-tag svg { width: 15px; height: 15px; }
.pe-tag  { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.2); color: var(--pe-sky-dark); }
.new-tag { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.2); color: #059669; }
.mfg-tag { background: rgba(249,115,22,0.08); border-color: rgba(249,115,22,0.2); color: #ea580c; }

.cat-card-info h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--pe-navy);
    line-height: 1.2;
}
.cat-info-desc {
    font-size: 14px;
    color: var(--pe-text-light);
    line-height: 1.8;
}

/* ---- New Alert Box ---- */
.new-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 12px;
    font-size: 13px;
    color: #065f46;
    line-height: 1.6;
}
.new-alert-box svg { width: 18px; height: 18px; color: #10b981; flex-shrink: 0; margin-top: 2px; }

/* ---- Highlights Grid ---- */
.cat-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.cat-hl {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--pe-text-mid);
    font-weight: 500;
}
.cat-hl svg { width: 16px; height: 16px; color: var(--pe-sky); flex-shrink: 0; }

/* ---- Meta Row ---- */
.cat-meta {
    display: flex;
    gap: 0;
    border: 1px solid var(--pe-border);
    border-radius: 12px;
    overflow: hidden;
}
.cat-meta-item {
    flex: 1;
    padding: 12px 16px;
    border-right: 1px solid var(--pe-border);
    text-align: center;
}
.cat-meta-item:last-child { border-right: none; }
.cat-meta-item span {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pe-text-light);
    margin-bottom: 4px;
}
.cat-meta-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--pe-navy);
}

/* ---- Action Buttons ---- */
.cat-action-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.cat-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    justify-content: center;
}
.cat-download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.cat-download-btn:hover::before { transform: scaleX(1); }
.cat-download-btn:hover { transform: translateY(-3px); }
.cat-download-btn svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.cat-download-btn span { position: relative; z-index: 1; }

.mfg-download { background: linear-gradient(135deg, #f97316, #ea580c); }
.mfg-download:hover { box-shadow: 0 12px 35px rgba(249,115,22,0.45); }
.pe-download   { background: linear-gradient(135deg, var(--pe-sky), var(--pe-sky-dark)); }
.pe-download:hover  { box-shadow: 0 12px 35px rgba(14,165,233,0.45); }
.new-download  { background: linear-gradient(135deg, #10b981, #059669); }
.new-download:hover { box-shadow: 0 12px 35px rgba(16,185,129,0.45); }

.cat-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 22px;
    border: 1.5px solid var(--pe-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pe-text-mid);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cat-preview-btn svg { width: 16px; height: 16px; }
.cat-preview-btn:hover { border-color: var(--pe-sky); color: var(--pe-sky-dark); background: var(--pe-light-bg); }

/* ---- Bottom CTA ---- */
.cat-bottom-cta {
    padding: 64px 0;
    background: var(--pe-navy-darker);
}
.cat-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 48px 56px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
}
.cat-cta-left h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}
.cat-cta-left p { font-size: 15px; color: rgba(255,255,255,0.45); max-width: 440px; }
.cat-cta-right { display: flex; gap: 12px; flex-wrap: wrap; }
.cat-cta-call, .cat-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.cat-cta-call { background: linear-gradient(135deg, var(--pe-sky), var(--pe-sky-dark)); color: white; }
.cat-cta-call:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(14,165,233,0.4); }
.cat-cta-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: white; }
.cat-cta-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(37,211,102,0.4); }
.cat-cta-call svg, .cat-cta-whatsapp svg { width: 18px; height: 18px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cat-card-big { grid-template-columns: 1fr; }
    .cat-card-preview { border-right: none; border-bottom: 1px solid var(--pe-border); }
    .cat-card-reverse { direction: ltr; }
    .cat-card-info { padding: 32px !important; }
    .cat-preview-inner { min-height: 240px; }
    .cat-preview-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .cat-section { padding: 60px 0; }
    .cat-section-header { flex-direction: column; gap: 12px; }
    .cat-section-number { font-size: 56px; }
    .cat-highlights-grid { grid-template-columns: 1fr; }
    .cat-meta { flex-wrap: wrap; }
    .cat-meta-item { flex: 1 1 40%; }
    .cat-cta-box { flex-direction: column; padding: 32px 24px; }
    .cat-cta-right { flex-direction: column; width: 100%; }
    .cat-cta-call, .cat-cta-whatsapp { justify-content: center; }
    .cat-action-btns { flex-direction: column; }
    .cat-download-btn { justify-content: center; }
}

/* ============================================================
   PRODUCTS PAGE — DYNAMIC CATEGORIES & VIEW MORE STYLES
============================================================ */

.cat-header-text {
    flex: 1;
}

.cat-count-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(14,165,233,0.12);
    color: var(--pe-sky-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 6px;
}

/* Extra Products Hidden by Default */
.pe-extra-product {
    display: none;
}

/* Product Card Actions */
.product-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.product-enquire-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.earth-enquire {
    background: linear-gradient(135deg, #f97316, #ea580c);
}
.earth-enquire:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249,115,22,0.35);
}

.tractor-enquire {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}
.tractor-enquire:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14,165,233,0.35);
}

.oilgas-enquire {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}
.oilgas-enquire:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2,132,199,0.35);
}

.product-call-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #334155;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.product-call-icon-btn:hover {
    background: #0f172a;
    color: white;
    transform: translateY(-2px);
}

.oil-gas-tag {
    background: rgba(2,132,199,0.1);
    color: #0284c7;
}

/* "View More Products" Button Container */
.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: #ffffff;
    color: var(--pe-navy);
    font-size: 15px;
    font-weight: 700;
    border: 2px solid rgba(14,165,233,0.3);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(14,165,233,0.12);
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: linear-gradient(135deg, var(--pe-sky), var(--pe-sky-dark));
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14,165,233,0.35);
}

.btn-view-more.expanded {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

/* Card Zoom Badge on /products Page */
.product-item-img {
    position: relative;
    height: 270px !important; /* Larger image frame */
}

.card-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.product-item:hover .card-zoom-badge {
    opacity: 1;
    transform: translateY(0);
}

.product-title-link {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title-link:hover {
    color: #0ea5e9;
}

/* ============================================================
   PAN ENGINEERS - CONTACT US PAGE STYLES
============================================================ */
.pe-contact-page {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 90px;
    padding-bottom: 80px;
}

.contact-hero-banner {
    background: linear-gradient(135deg, #071529 0%, #0c2340 100%);
    padding: 60px 0 50px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero-content {
    max-width: 700px;
}

.contact-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.contact-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 12px;
}

.contact-sub {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Contact Grid */
.contact-main-section {
    padding-top: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 36px;
    align-items: start;
}

/* Left Column: Info Card */
.contact-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.c-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.c-info-item:last-child {
    margin-bottom: 0;
}

.c-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-info-text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}

.c-info-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.c-info-text a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.c-info-text a:hover {
    color: #0369a1;
    text-decoration: underline;
}

.c-map-link, .c-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0ea5e9 !important;
    margin-top: 4px;
}

.contact-map-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Right Column: Form Card */
.contact-form-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.form-header h2 {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 6px;
}

.form-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px;
}

/* Form Success Alert */
.form-success-alert {
    background: #ecfdf5;
    border: 1.5px solid #10b981;
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    animation: fadeIn 0.4s ease;
}

.success-icon-box {
    width: 44px;
    height: 44px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-text h4 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800;
    color: #065f46;
}

.success-text p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #047857;
}

/* Form Inputs */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.form-group .req {
    color: #ef4444;
}

.form-ctrl {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-ctrl:focus {
    background: #ffffff;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.btn-submit-message {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(12, 74, 110, 0.35);
    transition: all 0.25s ease;
    margin-top: 8px;
}

.btn-submit-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(12, 74, 110, 0.45);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .contact-form-card, .contact-card {
        padding: 24px;
    }
}

/* ==============================================
   MACHINERY BRANDS & OEM APPLICATIONS SECTION
=============================================== */
.pe-brands-section {
    padding: 90px 0;
    background: #0b1329;
    position: relative;
    overflow: hidden;
}

.pe-brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
}

.brands-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
}

.brands-header .section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.brands-header .section-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
}

.brands-header .section-desc {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.65;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.brand-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 12px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 16px 36px rgba(14, 165, 233, 0.12);
    background: rgba(15, 23, 42, 0.95);
}

.brand-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.brand-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.brand-badge.earthmoving-badge {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.brand-badge.tractor-badge {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.brand-oem-tag {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
}

.brand-name span {
    color: #38bdf8;
    font-size: 15px;
    font-weight: 600;
}

.brand-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.brand-popular-parts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.part-pill {
    font-size: 11.5px;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.8);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(71, 85, 105, 0.4);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.brand-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* ---- Brand Marquee / Strip ---- */
.brands-marquee-wrap {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
}

.marquee-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.brands-marquee {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.marquee-item {
    font-size: 13.5px;
    color: #e2e8f0;
}

.marquee-item strong {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.marquee-item span {
    color: #94a3b8;
    font-size: 12px;
    margin-left: 4px;
}

.marquee-sep {
    color: #0ea5e9;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .brands-grid { grid-template-columns: 1fr; }
    .brands-header .section-title { font-size: 28px; }
    .brands-marquee-wrap { flex-direction: column; align-items: flex-start; }
}

/* ==============================================
   OFFICIAL LEADING BRANDS SECTION (1:1 with Live Site)
============================================== */
.pe-leading-brands-section {
    padding: 85px 0 90px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.leading-brands-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.brands-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.brands-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0284c7;
    box-shadow: 0 0 8px #0284c7;
}

.brands-main-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.brands-main-title span {
    color: #0ea5e9;
}

.brands-main-desc {
    font-size: 15.5px;
    line-height: 1.7;
    color: #475569;
    margin: 0 auto;
}

.official-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: stretch;
}

.brand-logo-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-card:hover {
    transform: translateY(-6px);
    border-color: #0ea5e9;
    box-shadow: 0 16px 36px rgba(14, 165, 233, 0.12);
}

.brand-img-wrap {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 14px;
}

.brand-img-wrap img {
    max-width: 85%;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
    transition: transform 0.3s ease;
}

.brand-logo-card:hover .brand-img-wrap img {
    transform: scale(1.08);
}

.brand-subtext {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
    width: 100%;
}

@media (max-width: 1024px) {
    .official-brands-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .official-brands-grid { grid-template-columns: repeat(2, 1fr); }
    .pe-leading-brands-section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .official-brands-grid { grid-template-columns: 1fr; }
}


