/* ====================================================================
   SHARED STYLES — QUALITY / CAREERS / CONTACT PAGES
   Built on top of index.css + manufacturing.css (m- utility system)
   Fonts: Outfit (display) + Inter (body) | Red #C8102E | Navy #0A1128
   ==================================================================== */

/* --------------------------------------------------------------------
   PICTURE PLACEHOLDERS
   Reusable labelled slots so photos can be dropped in later.
   Usage: <div class="ph" data-label="Quality Lab Photo"></div>
   -------------------------------------------------------------------- */
.ph {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 12px, transparent 12px, transparent 24px),
        linear-gradient(135deg, #0F1A3D 0%, #0A1128 100%);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    overflow: hidden;
}

.ph::before {
    content: '';
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.4);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ph::after {
    content: attr(data-label);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0 20px;
}

/* Light-background placeholder variant */
.m-bg-white .ph,
.m-bg-light .ph {
    background:
        repeating-linear-gradient(45deg, rgba(15, 26, 61, 0.03) 0px, rgba(15, 26, 61, 0.03) 12px, transparent 12px, transparent 24px),
        linear-gradient(135deg, #eef1f7 0%, #e2e7f0 100%);
    border-color: rgba(15, 26, 61, 0.2);
    color: rgba(15, 26, 61, 0.5);
}

.m-bg-white .ph::before,
.m-bg-light .ph::before {
    background-color: rgba(15, 26, 61, 0.4);
}

/* Placeholder used as a HERO background (covers the whole hero) */
.ph-hero {
    position: absolute;
    inset: 0;
    min-height: 0;
    border: none;
}

/* Fixed-aspect placeholder tiles */
.ph-16-9 {
    aspect-ratio: 16 / 9;
}

.ph-4-3 {
    aspect-ratio: 4 / 3;
}

.ph-1-1 {
    aspect-ratio: 1 / 1;
}

/* --------------------------------------------------------------------
   GENERIC PAGE HERO (shares look with m-hero)
   -------------------------------------------------------------------- */
.m-hero-content .m-hero-desc.wide {
    max-width: 720px;
}

/* --------------------------------------------------------------------
   TWO-COLUMN INTRO (text + image)
   -------------------------------------------------------------------- */
.pg-two-col {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.pg-two-col.reverse .pg-two-col-media {
    order: -1;
}

.pg-two-col-media {
    min-height: 420px;
    border-radius: 6px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .pg-two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pg-two-col.reverse .pg-two-col-media {
        order: 0;
    }
}

/* --------------------------------------------------------------------
   ICON FEATURE CARDS (values / benefits / why-us)
   -------------------------------------------------------------------- */
.pg-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .pg-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pg-icon-grid {
        grid-template-columns: 1fr;
    }
}

.pg-icon-card {
    padding: 40px 36px;
    background-color: #ffffff;
    border: 1px solid #eceef3;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.pg-icon-card:hover {
    border-top-color: #C8102E;
    box-shadow: 0 22px 44px rgba(10, 17, 40, 0.08);
    transform: translateY(-4px);
}

.pg-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(200, 16, 46, 0.08);
    color: #C8102E;
    margin-bottom: 22px;
}

.pg-icon svg {
    width: 28px;
    height: 28px;
}

.pg-icon-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0F1A3D;
    margin-bottom: 12px;
}

.pg-icon-card p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #5a6172;
    margin: 0;
}

/* Dark section variant of icon cards */
.m-bg-black .pg-icon-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.m-bg-black .pg-icon-card h3 {
    color: #ffffff;
}

.m-bg-black .pg-icon-card p {
    color: rgba(255, 255, 255, 0.68);
}

/* --------------------------------------------------------------------
   EXPANDING IMAGE-CARD ACCORDION (Careers — Our Culture)
   -------------------------------------------------------------------- */
/* Fixed row height — this is what keeps the section still while a card
   expands. Individual cards no longer size themselves off aspect-ratio
   (which made the whole row's height breathe during the transition and
   shove everything below it on the page); height is constant, only each
   card's width animates. 320px keeps the expanded card close to a 16:9
   landscape frame while the collapsed ones stay clearly rectangular
   rather than thin slivers. */
.ic-accordion {
    display: flex;
    gap: 20px;
    height: 320px;
    background: #ffffff;
}

.ic-card {
    position: relative;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    min-width: 0;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(160deg, #1a2540, #0A1128);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 28px rgba(10, 17, 40, 0.12);
    transition: flex-grow 600ms cubic-bezier(0.65, 0, 0.35, 1),
        box-shadow 600ms cubic-bezier(0.65, 0, 0.35, 1),
        border-color 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

.ic-card.is-expanded {
    flex-grow: 3;
    border-color: rgba(200, 16, 46, 0.5);
    box-shadow: 0 20px 44px rgba(10, 17, 40, 0.22);
}

.ic-card:focus-visible {
    outline: 3px solid #C8102E;
    outline-offset: 3px;
}

.ic-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 20%,
            rgba(6, 11, 28, 0.5) 55%,
            rgba(6, 11, 28, 0.94) 100%);
}

.ic-content {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Title and description are each independently pinned to the bottom of the
   card, not stacked one after another — so the description fading in never
   pushes or shifts the title, no matter how short the card is. */
.ic-title {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    transition: color 500ms ease;
}

.ic-card.is-expanded .ic-title {
    color: #C8102E;
}

.ic-desc {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 44px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    opacity: 0;
    transition: opacity 400ms ease;
}

.ic-card.is-expanded .ic-desc {
    opacity: 1;
    transition: opacity 400ms ease 200ms;
}

@media (min-width: 900px) {
    .ic-title {
        left: 32px;
        right: 32px;
        bottom: 26px;
        font-size: 26px;
    }

    .ic-desc {
        left: 32px;
        right: 32px;
        bottom: 62px;
        font-size: 17px;
        max-width: 46ch;
    }
}

@media (max-width: 768px) {
    .ic-accordion {
        flex-direction: column;
        align-items: stretch;
    }

    .ic-card {
        flex-grow: 0;
        flex-basis: auto;
        aspect-ratio: auto;
        height: 76px;
        transition: height 600ms cubic-bezier(0.65, 0, 0.35, 1),
            box-shadow 600ms cubic-bezier(0.65, 0, 0.35, 1),
            border-color 600ms cubic-bezier(0.65, 0, 0.35, 1);
    }

    .ic-card.is-expanded {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ic-card,
    .ic-title,
    .ic-desc {
        transition-duration: 1ms !important;
        transition-delay: 0ms !important;
    }
}

/* --------------------------------------------------------------------
   CERTIFICATION CARDS (Quality)
   -------------------------------------------------------------------- */
.pg-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .pg-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pg-cert-grid {
        grid-template-columns: 1fr;
    }
}

.pg-cert-card {
    background-color: #ffffff;
    border: 1px solid #e6e9f0;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.pg-cert-card:hover {
    border-color: #C8102E;
    box-shadow: 0 18px 36px rgba(10, 17, 40, 0.08);
}

.pg-cert-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 22px;
    border-radius: 50%;
}

.pg-cert-seal {
    width: 100px;
    height: 100px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-cert-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F1A3D;
    margin-bottom: 8px;
}

.pg-cert-card p {
    font-size: 1rem;
    color: #6a7183;
    margin: 0;
}

/* --------------------------------------------------------------------
   QUALITY METRIC / STAT STRIP (reuses m-stat look, light bg)
   -------------------------------------------------------------------- */
.pg-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 900px) {
    .pg-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pg-metric h4 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 900;
    color: #C8102E;
    line-height: 1;
    margin-bottom: 10px;
}

.pg-metric p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0F1A3D;
    margin: 0;
}

.m-bg-black .pg-metric p {
    color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------
   CAREERS — JOB OPENINGS
   -------------------------------------------------------------------- */
.pg-jobs {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.pg-job {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    background-color: #ffffff;
    border: 1px solid #e6e9f0;
    border-left: 4px solid #C8102E;
    padding: 30px 36px;
    transition: all 0.3s ease;
}

.pg-job:hover {
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.08);
    transform: translateX(4px);
}

.pg-job h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F1A3D;
    margin-bottom: 10px;
}

.pg-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 0.98rem;
    color: #6a7183;
    font-weight: 500;
}

.pg-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.pg-job-meta span::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #C8102E;
    border-radius: 50%;
}

@media (max-width: 640px) {
    .pg-job {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pg-job .m-btn {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------
   CAREERS — HIRING STEPS
   -------------------------------------------------------------------- */
.pg-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    counter-reset: step;
}

.pg-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8102E;
    opacity: 0.45;
}

@media (max-width: 900px) {
    .pg-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pg-step-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .pg-steps {
        grid-template-columns: 1fr;
    }
}

.pg-step {
    position: relative;
    padding: 36px 28px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.pg-step.glass-card {
    border: 1.5px solid rgba(15, 26, 61, 0.14) !important;
}

.pg-step:hover {
    transform: translateY(-6px) scale(1.06);
    z-index: 2;
}

.pg-step.glass-card:hover {
    border-color: rgba(200, 16, 46, 0.45) !important;
}

.pg-step::before {
    counter-increment: step;
    content: '0' counter(step);
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: #C8102E;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.pg-step h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0F1A3D;
    margin-bottom: 10px;
}

.pg-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5a6172;
    margin: 0;
}

/* --------------------------------------------------------------------
   CONTACT — INFO CARDS
   -------------------------------------------------------------------- */
.pg-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .pg-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pg-contact-grid {
        grid-template-columns: 1fr;
    }
}

.pg-contact-card {
    position: relative;
    overflow: hidden;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(10, 17, 40, 0.06);
    text-align: center;
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease, backdrop-filter 0.45s ease;
}

.pg-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C8102E, #0F1A3D);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Crystal glass — on hover the card turns almost fully transparent, letting
   the page (and its blurred colour glow behind) show through like glass */
.pg-contact-card:hover {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px) saturate(220%);
    -webkit-backdrop-filter: blur(28px) saturate(220%);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 24px 48px rgba(10, 17, 40, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 0 32px rgba(255, 255, 255, 0.3);
    transform: translateY(-6px);
}

.pg-contact-card:hover::before {
    opacity: 1;
}

/* Mirror shine — a light streak sweeps across the glass on hover */
.pg-contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 35%,
            rgba(255, 255, 255, 0.75) 50%,
            transparent 65%);
    transform: skewX(-20deg);
    transition: left 0.85s ease;
    pointer-events: none;
}

.pg-contact-card:hover::after {
    left: 130%;
}

.pg-contact-card .pg-icon {
    margin: 0 auto 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.45s ease;
}

.pg-contact-card:hover .pg-icon {
    transform: scale(1.08);
}

.pg-contact-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F1A3D;
    margin-bottom: 8px;
}

.pg-contact-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #8a90a0;
    margin: 0 0 14px;
}

.pg-contact-card p,
.pg-contact-card a {
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0;
}

.pg-contact-card p:not(.pg-contact-lead) {
    color: #5a6172;
}

.pg-contact-card-visit .pg-contact-lead {
    font-weight: 700;
    color: #0F1A3D;
    font-size: 1rem;
}

.pg-visit-list {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pg-visit-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0F1A3D;
}

.pg-visit-list em {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 500;
    color: #8a90a0;
}

.pg-visit-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #C8102E;
    flex-shrink: 0;
}

.pg-contact-card a {
    color: #C8102E;
    font-weight: 700;
}

.pg-contact-card a:hover {
    color: #0F1A3D;
}

/* --------------------------------------------------------------------
   CONTACT — FORM + MAP LAYOUT
   -------------------------------------------------------------------- */
.pg-contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 850px;
    margin: 0 auto;
}

/* The card reuses the popup's .modal-header / .form-grid / .form-input /
   .btn-modal-submit / .modal-success styles from index.css, so the Contact
   form and the Quote/Message popups always look the same. */
.contact-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.1), 0 2px 8px rgba(17, 24, 39, 0.05);
}

/* --------------------------------------------------------------------
   CONTACT — VISIT US (INDIA MAP)
   -------------------------------------------------------------------- */
.pg-india-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #e6e9f0;
}

.pg-india-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1180px;
    margin: 0 auto;
}

.pg-india-map {
    position: relative;
    flex: 0 0 auto;
    width: 640px;
    max-width: 640px;
    aspect-ratio: 1 / 1;
}

.pg-india-svg-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(15, 26, 61, 0.12));
}

.pg-india-pin {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.pg-india-pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0F1A3D;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(10, 17, 40, 0.35);
    transition: all 0.25s ease;
}

.pg-india-pin-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid transparent;
}

.pg-india-pin-label {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    white-space: nowrap;
    background: #0F1A3D;
    padding: 3px 8px;
    border-radius: 4px;
    opacity: 0.85;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.pg-india-pin:hover .pg-india-pin-dot {
    background: #C8102E;
    transform: scale(1.15);
}

.pg-india-pin:hover .pg-india-pin-label {
    opacity: 1;
}

.pg-india-pin.is-active .pg-india-pin-dot {
    background: #C8102E;
    width: 16px;
    height: 16px;
    box-shadow: 0 0 0 5px rgba(200, 16, 46, 0.18), 0 2px 6px rgba(10, 17, 40, 0.35);
}

.pg-india-pin.is-active .pg-india-pin-label {
    background: #C8102E;
    opacity: 1;
}

/* Hosur sits right next to Bangalore/Chennai on the map — flip its label
   below the pin so it doesn't collide with the other two labels above them. */
.pg-india-pin[data-loc="hosur"] .pg-india-pin-label {
    bottom: auto;
    top: calc(100% + 6px);
}

.pg-india-panel {
    flex: 1 1 380px;
    max-width: 440px;
    min-height: 640px;
    background: #F9FAFB;
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    padding: 36px;
}

.pg-india-panel-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: #C8102E;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.pg-india-panel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0F1A3D;
    margin-bottom: 4px;
}

.pg-india-panel-company {
    font-size: 0.92rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 14px;
}

.pg-india-panel-address {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #4B5563;
    margin-bottom: 16px;
}

.pg-india-panel-details {
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid #e6e9f0;
}

.pg-india-panel-details p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 10px;
    padding-left: 78px;
    text-indent: -78px;
}

.pg-india-panel-details p > strong {
    display: inline-block;
    width: 68px;
    text-indent: 0;
}

.pg-india-panel-details p:last-child {
    margin-bottom: 0;
}

.pg-india-panel-details strong {
    color: #0F1A3D;
}

.pg-india-panel-details a {
    color: #0F1A3D;
    font-weight: 600;
    text-decoration: none;
}

.pg-india-panel-details a:hover {
    color: #C8102E;
}

.pg-india-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e9ebef !important;
    color: #C8102E !important;
    border: 2px solid #e9ebef !important;
}

.pg-india-panel-link:hover {
    background-color: #dcdfe5 !important;
    border-color: #dcdfe5 !important;
    color: #A00D24 !important;
}

/* Between the mobile stack and the point where a 640px map + 440px panel
   both fit comfortably, let the map shrink instead of squeezing the panel
   down to an unreadable width. */
@media (max-width: 1180px) and (min-width: 701px) {
    .pg-india-map {
        width: 100%;
        max-width: 340px;
    }

    .pg-india-panel {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .pg-india-wrap {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .pg-india-map {
        width: 100%;
        height: auto;
        max-width: 260px;
        align-self: center;
    }

    .pg-india-panel {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 28px 24px;
    }
}

/* Reduce font size and padding of final Get A Quote CTA button */
#cta-quote-btn {
    font-size: 0.88rem !important;
    padding: 14px 28px !important;
}

/* --------------------------------------------------------------------
   FAQ (Contact)
   -------------------------------------------------------------------- */
.pg-faq {
    max-width: 900px;
    margin: 0 auto;
    counter-reset: faq;
}

.pg-faq-item {
    border-bottom: 1px solid #e6e9f0;
    counter-increment: faq;
}

.pg-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 4px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.pg-faq-question::before {
    content: counter(faq);
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.1);
    color: #C8102E;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.pg-faq-q-text {
    flex: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F1A3D;
}

.pg-faq-arrow {
    flex-shrink: 0;
    color: #8a90a0;
    transition: transform 0.35s ease, color 0.3s ease;
}

.pg-faq-item.active .pg-faq-question::before {
    background: #C8102E;
    color: #ffffff;
}

.pg-faq-item.active .pg-faq-arrow {
    transform: rotate(180deg);
    color: #C8102E;
}

.pg-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.pg-faq-item.active .pg-faq-answer {
    max-height: 260px;
}

.pg-faq-answer p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a6172;
    margin: 0;
    padding: 0 30px 24px 52px;
}

/* ====================================================================
   MOBILE RESPONSIVE — Pages (Quality / Careers / Contact)
   ==================================================================== */
@media (max-width: 768px) {
    .pg-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pg-two-col-media {
        min-height: 240px;
    }

    .pg-icon-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pg-icon-card {
        padding: 28px 24px;
    }

    .pg-icon-card h3 {
        font-size: 1.2rem;
    }

    .pg-icon-card p {
        font-size: 1rem;
    }

    .pg-cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pg-cert-card {
        padding: 24px 16px;
    }

    .pg-cert-badge {
        width: 72px;
        height: 72px;
        margin-bottom: 16px;
    }

    .pg-metric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .pg-job {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 20px;
    }

    .pg-job h3 {
        font-size: 1.2rem;
    }

    .pg-job .m-btn {
        width: 100%;
        justify-content: center;
    }

    .pg-steps {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .pg-step {
        padding: 24px 20px;
    }

    .pg-step::before {
        font-size: 1.8rem;
    }

    .pg-contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .pg-contact-card {
        padding: 28px 20px;
    }

    .pg-contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pg-map-embed {
        min-height: 220px;
    }

    .pg-map-note {
        padding: 24px 20px;
    }

    .pg-faq-item {
        padding: 20px 0;
    }

    .pg-faq-item h3 {
        font-size: 1.1rem;
    }

    .pg-faq-item p {
        font-size: 1rem;
        padding-left: 24px;
    }

    .ph {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .pg-cert-grid {
        grid-template-columns: 1fr;
    }

    .pg-steps {
        grid-template-columns: 1fr;
    }

    .pg-contact-grid {
        grid-template-columns: 1fr;
    }

    .pg-metric-grid {
        grid-template-columns: 1fr;
    }
}