/* ══════════════════════════════════════════════════════
   RAJYANTRA — PREMIUM INDUSTRIAL DESIGN SYSTEM
   ══════════════════════════════════════════════════════ */
* { box-sizing: border-box; }

:root {
    --ry-dark: #ffffff;         /* Was #0e1113 (Black) - Now White */
    --ry-panel: #f8f9fa;        /* Was #16191d (Dark Grey) - Now Light Grey */
    --ry-steel: #4b5563;        /* Kept the same (Text Color) */
    --ry-steel-light: #8a929c;
    --ry-accent: #f2a900;       /* Kept the yellow accent */
    --ry-accent-dark: #d49400;
    --ry-light: #f5f5f4;        /* Light sections */
    --ry-white: #ffffff;
    --ry-border: rgba(0, 0, 0, 0.08);
    --ry-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.ry-container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

.ry-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    color: var(--ry-accent);
    margin-bottom: 18px;
    display: inline-block;
}
.ry-kicker::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--ry-accent);
    margin-right: 10px;
    vertical-align: middle;
}

.ry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ry-btn-accent { background: var(--ry-accent); color: #1a1200; }
.ry-btn-accent:hover { background: var(--ry-accent-dark); color: #1a1200; transform: translateY(-2px); }
.ry-btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.ry-btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.ry-btn-dark { background: var(--ry-dark); color: #fff; }
.ry-btn-dark:hover { background: #000; color: #fff; }

/* 1. HERO */
.ry-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--ry-dark);
    overflow: hidden;
}
.ry-hero-overlay-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; z-index: 1; }
.ry-hero-side-accent { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ry-accent); z-index: 2; opacity: 0.7; }
.ry-hero-content { position: relative; z-index: 3; max-width: 780px; padding: 80px 0; margin-left: 40px; }
.ry-hero h1 { color: #fff; font-size: 3.8rem; font-weight: 800; line-height: 1.08; letter-spacing: -1px; margin-bottom: 28px; text-transform: uppercase; }
.ry-hero h1 .ry-accent { color: var(--ry-accent); text-shadow: 0 2px 20px rgba(242, 169, 0, 0.3); }
.ry-hero p { color: rgba(255, 255, 255, 0.8); font-size: 1.15rem; max-width: 580px; margin-bottom: 42px; line-height: 1.7; font-weight: 400; }
.ry-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.ry-hero-specs { display: flex; gap: 50px; flex-wrap: wrap; padding-top: 38px; border-top: 1px solid rgba(255, 255, 255, 0.15); max-width: 620px; }
.ry-hero-spec { display: flex; flex-direction: column; gap: 6px; }
.ry-hero-spec .ry-spec-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.ry-hero-spec .ry-spec-value { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.ry-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.5); font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; }
.ry-scroll-line { width: 1.5px; height: 48px; background: linear-gradient(180deg, transparent, var(--ry-accent), transparent); animation: ry-scroll-pulse 2s infinite; }
@keyframes ry-scroll-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* 2. TRUST BAND */
.ry-trust { background: var(--ry-panel); border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding: 34px 0; }
.ry-trust-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: center; }
.ry-trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 20px; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.ry-trust-item:last-child { border-right: none; }
.ry-trust-item .ry-trust-icon { font-size: 1.5rem; color: var(--ry-accent); margin-bottom: 10px; }
.ry-trust-item .ry-trust-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.ry-trust-item .ry-trust-desc { font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); line-height: 1.4; max-width: 180px; }

/* 3. INDUSTRIES */
.ry-industries { background: var(--ry-light); padding: 90px 0; }
.ry-industries-header { max-width: 700px; margin: 0 auto 55px; text-align: center; }
.ry-industries-header h2 { font-size: 2.4rem; font-weight: 800; color: var(--ry-dark); letter-spacing: -0.5px; margin-bottom: 14px; line-height: 1.2; }
.ry-industries-header p { color: var(--ry-steel); font-size: 1.05rem; line-height: 1.7; max-width: 550px; margin: 0 auto; }
.ry-industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ry-industry-card { background: var(--ry-white); border: 1px solid var(--ry-border); border-radius: 4px; padding: 38px 28px; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; }
.ry-industry-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ry-accent); transform: scaleX(0); transition: transform 0.3s ease; }
.ry-industry-card:hover { box-shadow: var(--ry-shadow); border-color: rgba(0, 0, 0, 0.12); transform: translateY(-4px); }
.ry-industry-card:hover::after { transform: scaleX(1); }
.ry-industry-card .ry-industry-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; background: var(--ry-dark); color: var(--ry-accent); border-radius: 50%; font-size: 1.5rem; }
.ry-industry-card h4 { font-size: 1.05rem; font-weight: 800; color: var(--ry-dark); margin-bottom: 10px; letter-spacing: 0.3px; }
.ry-industry-card p { font-size: 0.85rem; color: var(--ry-steel); line-height: 1.6; margin: 0; }

/* 4. COMPANY */
.ry-company { background: var(--ry-white); padding: 110px 0; }
.ry-company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ry-company-image { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15); }
.ry-company-image img { width: 100%; height: 500px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ry-company-image:hover img { transform: scale(1.03); }
.ry-company-image::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 35%; background: linear-gradient(180deg, transparent, rgba(14, 17, 19, 0.7)); }
.ry-company-image .ry-image-caption { position: absolute; bottom: 24px; left: 24px; z-index: 2; color: #fff; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.ry-company-content { max-width: 560px; }
.ry-company-content h2 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; color: var(--ry-dark); margin-bottom: 22px; letter-spacing: -0.5px; }
.ry-company-content > p { font-size: 1.05rem; color: var(--ry-steel); line-height: 1.75; margin-bottom: 36px; }
.ry-company-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
.ry-highlight-item { display: flex; align-items: flex-start; gap: 14px; }
.ry-highlight-item .ry-highlight-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(242, 169, 0, 0.12); color: var(--ry-accent); border-radius: 50%; font-size: 1rem; }
.ry-highlight-item h5 { font-size: 0.92rem; font-weight: 800; color: var(--ry-dark); margin-bottom: 4px; letter-spacing: 0.2px; }
.ry-highlight-item p { font-size: 0.82rem; color: var(--ry-steel); line-height: 1.5; margin: 0; }

/* 5. CATALOG */
.ry-catalog { padding: 110px 0; background: var(--ry-light); position: relative; }
.ry-catalog-header { max-width: 750px; margin: 0 auto 50px; text-align: center; }
.ry-catalog-header h2 { font-size: 2.4rem; font-weight: 800; color: var(--ry-dark); letter-spacing: -0.5px; margin-bottom: 14px; line-height: 1.2; }
.ry-catalog-header p { color: var(--ry-steel); font-size: 1.05rem; line-height: 1.7; }
.ry-search-wrap { max-width: 680px; margin: 0 auto 40px; position: relative; }
.ry-search-input { width: 100%; padding: 18px 60px 18px 24px; font-size: 1rem; font-family: inherit; border: 1.5px solid rgba(0, 0, 0, 0.12); border-radius: 2px; background: var(--ry-white); color: var(--ry-dark); transition: all 0.25s ease; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03); }
.ry-search-input:focus { outline: none; border-color: var(--ry-accent); box-shadow: 0 4px 24px rgba(242, 169, 0, 0.1); }
.ry-search-button { position: absolute; right: 6px; top: 6px; bottom: 6px; width: 52px; border: none; background: var(--ry-dark); color: #fff; border-radius: 2px; cursor: pointer; font-size: 1rem; transition: background 0.2s ease; }
.ry-search-button:hover { background: var(--ry-accent); color: #1a1200; }
.ry-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 55px; }
.ry-pills a { padding: 11px 24px; border-radius: 2px; background: var(--ry-white); color: var(--ry-steel); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; text-decoration: none; border: 1px solid rgba(0, 0, 0, 0.1); transition: all 0.2s ease; }
.ry-pills a:hover { border-color: var(--ry-accent); color: var(--ry-dark); background: rgba(242, 169, 0, 0.05); }
.ry-pills a.active { background: var(--ry-dark); color: var(--ry-accent); border-color: var(--ry-dark); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.ry-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.ry-product-card { background: var(--ry-white); border-radius: 4px; overflow: hidden; border: 1px solid var(--ry-border); transition: all 0.3s ease; display: flex; flex-direction: column; }
.ry-product-card:hover { box-shadow: var(--ry-shadow); border-color: rgba(0, 0, 0, 0.15); transform: translateY(-3px); }
.ry-product-card .ry-img-wrap { height: 220px; background: var(--ry-light); overflow: hidden; position: relative; }
.ry-product-card .ry-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ry-product-card:hover .ry-img-wrap img { transform: scale(1.05); }
.ry-product-card .ry-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(14, 17, 19, 0.35)); opacity: 0; transition: opacity 0.3s ease; }
.ry-product-card:hover .ry-img-overlay { opacity: 1; }
.ry-product-card .ry-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.ry-product-card .ry-cat-tag { display: inline-block; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--ry-accent); background: rgba(242, 169, 0, 0.1); padding: 5px 12px; border-radius: 2px; margin-bottom: 14px; align-self: flex-start; }
.ry-product-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--ry-dark); margin-bottom: 20px; line-height: 1.4; flex: 1; }
.ry-product-card .ry-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(0, 0, 0, 0.06); padding-top: 16px; }
.ry-product-card .ry-card-price { font-size: 0.85rem; font-weight: 700; color: var(--ry-steel); }
.ry-product-card button.ry-quote-btn { background: var(--ry-dark); color: #fff; border: none; padding: 11px 20px; border-radius: 2px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.8px; cursor: pointer; transition: all 0.2s ease; }
.ry-product-card button.ry-quote-btn:hover { background: var(--ry-accent); color: #1a1200; }
#ryNoProductsMsg { display: none; text-align: center; padding: 80px 20px; color: var(--ry-steel); font-size: 1.05rem; }
#ryNoProductsMsg a { color: var(--ry-dark); font-weight: 700; text-decoration: underline; }

/* 6. ENGINEERING CAPABILITIES (WITH RIGHT-SIDE IMAGE) */
.ry-features { background: var(--ry-dark); padding: 110px 0; position: relative; overflow: hidden; }
.ry-features::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(135deg, rgba(242, 169, 0, 0.03) 0%, transparent 50%); pointer-events: none; }
.ry-features-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; }
.ry-features-text .ry-features-header { text-align: left; max-width: 100%; margin: 0 0 40px; }
.ry-features-header h2 { font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; margin-bottom: 16px; }
.ry-features-header p { color: rgba(255, 255, 255, 0.6); font-size: 1.05rem; line-height: 1.7; }
.ry-feature-grid { display: flex; flex-direction: column; gap: 0; border: none; }
.ry-feature-cell { padding: 24px 0; text-align: left; display: flex; gap: 24px; align-items: flex-start; border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: relative; transition: all 0.3s ease; }
.ry-feature-cell:last-child { border-bottom: none; }
.ry-feature-cell:hover { background: rgba(255, 255, 255, 0.03); padding-left: 12px; }
.ry-feature-cell .ry-feature-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(242, 169, 0, 0.4); border-radius: 50%; color: var(--ry-accent); font-size: 1.3rem; margin: 0; flex-shrink: 0; }
.ry-feature-cell:hover .ry-feature-icon { background: var(--ry-accent); color: #1a1200; transform: scale(1.05); }
.ry-feature-cell h5 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.ry-feature-cell p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); line-height: 1.65; margin: 0; }
.ry-features-image { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4); }
.ry-features-image img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 400px; transition: transform 0.5s ease; }
.ry-features-image:hover img { transform: scale(1.03); }

/* 7. FINAL CTA */
.ry-cta { background: var(--ry-panel); color: #fff; padding: 110px 0; text-align: center; position: relative; }
.ry-cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 169, 0, 0.5), transparent); }
.ry-cta h2 { font-size: 2.6rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; line-height: 1.2; }
.ry-cta h2 .ry-accent { color: var(--ry-accent); }
.ry-cta p { color: rgba(255, 255, 255, 0.65); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.05rem; line-height: 1.7; }
.ry-cta .ry-btn { font-size: 0.95rem; padding: 18px 40px; }

/* VIDEO MODAL */
.video-modal { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92); z-index: 9999; justify-content: center; align-items: center; }
.video-modal-content { position: relative; width: 90%; max-width: 850px; background: #000; border-radius: 4px; overflow: hidden; }
.close-btn { position: absolute; top: -40px; right: 0; font-size: 2rem; color: #fff; cursor: pointer; z-index: 10; background: none; border: none; }
.alert-success { max-width: 600px; margin: 0 auto 30px; text-align: center; border-radius: 3px; padding: 14px 20px; background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.3); color: #27ae60; font-size: 0.9rem; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .ry-hero h1 { font-size: 3rem; }
    .ry-hero-content { margin-left: 20px; }
}
@media (max-width: 1000px) {
    .ry-industries-grid { grid-template-columns: repeat(2, 1fr); }
    .ry-company-grid { grid-template-columns: 1fr; gap: 40px; }
    .ry-company-image img { height: 350px; }
}
@media (max-width: 900px) {
    .ry-trust-band { grid-template-columns: repeat(2, 1fr); }
    .ry-trust-item:nth-child(2) { border-right: none; }
    .ry-trust-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding: 20px; }
    .ry-trust-item:nth-child(3), .ry-trust-item:nth-child(4) { border-bottom: none; }
    .ry-product-grid { grid-template-columns: repeat(2, 1fr); }
    .ry-features-layout { grid-template-columns: 1fr; }
    .ry-features-image { order: -1; }
    .ry-features-image img { min-height: 300px; }
    .ry-features-header { text-align: center; }
    .ry-feature-cell { text-align: left; }
}
@media (max-width: 768px) {
    .ry-hero { min-height: 85vh; }
    .ry-hero-content { margin-left: 0; padding: 60px 0; }
    .ry-hero h1 { font-size: 2.2rem; }
    .ry-hero p { font-size: 1rem; }
    .ry-hero-specs { gap: 28px; }
    .ry-scroll-indicator { display: none; }
    .ry-cta h2 { font-size: 2rem; }
    .ry-cta { padding: 80px 0; }
}
@media (max-width: 600px) {
    .ry-industries-grid { grid-template-columns: 1fr; }
    .ry-company-highlights { grid-template-columns: 1fr; }
    .ry-company-content h2 { font-size: 2rem; }
    .ry-product-grid { grid-template-columns: 1fr; }
    .ry-pills { gap: 6px; }
    .ry-pills a { padding: 9px 16px; font-size: 0.7rem; }
}
@media (max-width: 480px) {
    .ry-trust-band { grid-template-columns: 1fr; }
    .ry-trust-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    .ry-trust-item:last-child { border-bottom: none; }
}