/* ================================================================
   rapid-rfq.css — Page-specific styles for Rapid RFQ body
   Common styles (body, navbar, footer, .content-wrapper, etc.)
   should live in your shared style.css
   ================================================================ */

/* =====================================================
   HERO SECTION
====================================================== */
.rm-hero {
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.rm-title {
    font-weight: 550;
    font-size: 48px;
    line-height: 1.15;
    padding-bottom: 15px;
    margin-bottom: 0;
    display: block;
    background: linear-gradient(45deg, #ffffff 30%, #4F9FFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rm-title span {
    display: inline;
    /* FIXED: allows italic text to flow inline after "RFQ's -" */
}

.service-header {
    color: #4F9FFF;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.service-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.service-icon {
    color: #4F9FFF;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 18px;
    flex-shrink: 0;
}

.service-text strong {
    font-weight: 700;
    display: block;
    font-size: 17px;
    margin-bottom: 2px;
}

.service-text span {
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.3;
}

/* =====================================================
   CLIENT LOGO MARQUEE STRIP
====================================================== */
.client-strip {
    padding: 35px 0;
    background: #ffffff;
}

.client-strip-text {
    font-size: 16px;
}

.client-logo {
    height: 40px;
    width: auto;
    margin: 0 60px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
 
/* Marquee wrapper */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}
 
/* Scrolling track */
.marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 250s linear infinite;
    will-change: transform;
}
 
/* Smooth animation using transform */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =====================================================
   RFQ MODULES — FEATURES GLASS SECTION
====================================================== */
.features-glass-section {
    padding: 30px 0;
    background: #e8f2ff;
}

.glass-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.sq-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
    background: linear-gradient(135deg, #0d47a1 0%, #4F9FFF 100%);
    flex-shrink: 0;
}

.glass-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0;
    transition: 0.4s;
}


/* Reveal animation */
.reveal-content {
    max-height: 0;
    opacity: 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

.glass-card:hover .reveal-content {
    max-height: 200px;
    opacity: 1;
}

.glass-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.feature-title {
    color: #1d1d1f;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-desc {
    color: #424245;
    font-size: 14px;
    line-height: 1.5;
}

.sub-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sub-feature-list li {
    font-size: 13px;
    color: #6e6e73;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =====================================================
   CENTERED IMAGE SECTIONS
====================================================== */
.centered-image-section {
    padding: 40px 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.centered-image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.centered-image-section h3,
.centered-image-section h1 {
    margin: 0;
}

/* =====================================================
   SALIENT FEATURES — SOLUTION GRID
====================================================== */
.solution-grid {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lead-text {
    color: #000;
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.5;
}

.solution-card {
    background-color: rgb(245, 245, 255);
    border-radius: 20px;
    padding: 1rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: left;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.05);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.bg-blue-tint {
    background: linear-gradient(135deg, #ffffff 0%, #e1efff 100%);
}

.solution-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.solution-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 0;
}

.solution-card strong {
    font-weight: 700;
    color: #000;
}

.currency-icon {
    font-weight: 700;
    font-size: 1.4rem;

}

/* =====================================================
   TABS
====================================================== */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background-color: #f8faff;
    padding: 8px;
    border-radius: 50px;
    width: fit-content;
    margin: 20px auto;
    gap: 4px;
}

.tab-btn {
    border: none;
    background: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #444;
    white-space: nowrap;
}

.tab-btn.active {
    background-color: #1d75d9;
    color: white;
    box-shadow: 0 4px 10px rgba(29, 117, 217, 0.2);
}

.tab-content {
    display: none;
    padding: 1rem;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   EXPLORE OUR PRODUCTS
====================================================== */
.explore-products-section {
    padding: 0 0 30px 0;
    background: #ffffff;
}

.product-card {
    min-height: 235px;
    padding: 40px 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-cir {
    background: linear-gradient(135deg, #b89b0b 0%, #d84315 100%);
}

.card-rapid {
    background: linear-gradient(135deg, #8e24aa 0%, #c2185b 100%);
}

.card-ice {
    background: linear-gradient(135deg, #0288d1 0%, #26c6da 100%);
}

.prod-logo-container {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.white-logo {
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
}

.prod-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.prod-link {
    margin-top: auto;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: 0.3s;
}

.prod-link:hover {
    border-color: #ffffff;
    letter-spacing: 0.5px;
}





/* ================================================================
   RESPONSIVE MEDIA QUERIES — page-specific only
   ================================================================ */

/* ---- Large Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
    .rm-title {
        font-size: 38px;
    }
}

/* ---- Tablet (≤ 992px) ---- */
@media (max-width: 992px) {
    .sub-feature-list {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .tab-content {
        padding: 24px 16px;
    }

    .solution-card {
        padding: 1.5rem 1.2rem;
    }
}

/* ---- Tablet Portrait (≤ 768px) ---- */
@media (max-width: 768px) {
    .rm-hero {
        padding: 40px 0;
    }

    .rm-title {
        font-size: 30px;
    }

    /* Hero image drops below text */
    .rm-hero .col-lg-6:last-child {
        margin-top: 30px;
    }

    .features-glass-section {
        padding: 50px 0;
    }

    .glass-card {
        padding: 22px 18px;
    }

    .centered-image-section h3,
    .centered-image-section h1 {
        margin-left: 0 !important;
        text-align: center;
        font-size: 18px !important;
    }

    .product-card {
        padding: 28px 15px;
        min-height: 180px;
    }
}

/* ---- Mobile (≤ 576px) ---- */
@media (max-width: 576px) {

    /* Hero */
    .rm-hero {
        padding: 30px 0;
    }

    .rm-title {
        font-size: 24px;
        text-align: center;
    }

    .service-header {
        font-size: 15px;
    }

    .service-text strong {
        font-size: 15px;
    }

    .rm-hero .row>div:first-child {
        text-align: center;
    }

    /* Client logos */
    .client-logo {
        height: 18px;
        margin: 0 30px;
    }

    /* Features section */
    .features-glass-section h2 {
        font-size: 22px;
    }

    .glass-card {
        padding: 18px 14px;
    }

    .feature-title {
        font-size: 17px;
    }

    /* Tabs */
    .tabs-nav {
        border-radius: 16px;
        justify-content: center;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .tab-content {
        padding: 16px 0;
    }

    /* Solution cards */
    .solution-card {
        padding: 1.2rem 1rem;
    }

    .solution-card h3 {
        font-size: 1.1rem;
    }

    /* Product cards */
    .product-card {
        padding: 24px 12px;
        min-height: 160px;
    }

    .prod-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    /* Explore heading */
    .explore-products-section h3 {
        font-size: 20px;
    }
}

/* ---- Very Small (≤ 400px) ---- */
@media (max-width: 400px) {
    .rm-title {
        font-size: 20px;
    }

    .tab-btn {
        font-size: 11px;
        padding: 7px 10px;
    }
}