/* ================================================================
   LIMDA-STYLE OVERRIDES (added 2026-05-08)
   ----------------------------------------------------------------
   Goal: give icons / decorative imagery the flat, minimal,
   single-tone look of https://limda.net while keeping the existing
   brand colors, logo, header and footer intact.

   To revert: remove the <link rel="stylesheet" href="~/css/limda-style.css">
   line from Views/Shared/_Layout.cshtml. Nothing else changes.
   ================================================================ */

/* 1. Icons: colored 3D-style (where a 3D replacement exists in
      /img/icons/*.svg). The black/charcoal flatten filter is
      removed so the embedded 3D PNGs show their colors. */
.icon-3d {
    transition: transform 0.25s ease;
}
a:hover .icon-3d,
.stat-card:hover .icon-3d,
.feature-box:hover .icon-3d {
    transform: translateY(-2px);
}

/* 2. Stats / KPI cards: remove the colored top accent bar so cards
      look closer to limda's clean white surfaces. The brand color
      bar lives in style.css under .stat-card::before. We hide it
      here without editing the original file (so revert stays clean). */
.stat-card::before {
    display: none !important;
}
.stat-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border-color: #eef0f2;
}
.stat-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* 3. Footer chevron bullets: keep them flat charcoal (already covered
      by .icon-3d above, but make sure they stay tiny + aligned). */
.single-footer-widget ul li .icon-3d {
    opacity: 0.85;
}

/* 4. Section headings: limda uses tighter, less ornate headings.
      Soften any oversized decoration without touching the brand color. */
.site-heading h2 {
    letter-spacing: 0;
    font-weight: 600;
}

/* 5. Round + thin: replace sharp/square corners with soft rounded
      shapes and reduce thick borders to thin lines, sitewide. */

/* Buttons -> rounded corners (12px), thin border. Covers Bootstrap
   buttons, native buttons/inputs, and the brand button classes used
   throughout the site. */
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.read-more,
.button,
.rampsbd-btn,
.rampsbd-default-btn,
.rampsbd-white-btn,
.stage,
a.rampsbd-btn,
a.rampsbd-default-btn,
a.rampsbd-white-btn {
    border-radius: 12px !important;
    border-width: 1px !important;
    overflow: hidden;
}

/* The brand buttons use a sliding-fill ::before overlay that is
   absolutely-positioned and clipped by border-radius. Make sure the
   overlay matches the rounded corners too. */
.rampsbd-btn::before,
.rampsbd-default-btn::before,
.rampsbd-white-btn::before {
    border-radius: 12px;
}

/* Form fields -> softly rounded, thin border */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    border-radius: 10px !important;
    border-width: 1px !important;
}

/* Cards / panels / image frames -> rounded 16px */
.stat-card,
.feature-box,
.single-team-member,
.team-member,
.single-blog-post,
.single-news,
.single-service,
.single-testimonial,
.about-feature,
.service-item,
.single-portfolio,
.portfolio-item,
.single-counter,
.counter-box,
.single-pricing,
.pricing-table,
.single-feature,
.welcome-single-item,
.about-img,
.contact-form-area,
.single-contact-info,
.single-blog-post img,
.featured-img,
.news-img,
.blog-img,
.team-img,
.team-member img,
.member-img,
.member-img img {
    border-radius: 16px !important;
}

/* Common image thumbnails -> soft round */
.img-thumb,
.gallery-item img,
.lightgallery a img,
.album-item img {
    border-radius: 12px !important;
}

/* Reduce overly-thick borders (3px+) to 1-2px */
.about-img,
.featured-img,
.news-img,
.team-img,
.member-img,
.gallery-item,
.album-item {
    border-width: 1px !important;
}

/* Section dividers / horizontal rules */
hr {
    border-top-width: 1px !important;
    border-radius: 999px;
}

/* Unified card treatment: rounded 18px + thin 1px grey border;
   thin brand-red border + soft red glow on hover. Applied to every
   "card-like" container across the site (service items, team profiles,
   blog posts, news, testimonials, portfolio, pricing, dashboard cards,
   contact form boxes, sidebar widgets, etc.). */
/* NOTE: only true "leaf" cards live in this list. Wrapper classes
   (.choose-us-box, .single-service-widget, .blog-single-widget,
   .profile-box, .broucher-item, .contact-form-area) are deliberately
   excluded — they contain inner interactive items (links, list items)
   that have their own :hover styles, so applying a wrapper hover
   would double up and cause clipping/overlap at the corners. */
.single-service-item,
.stat-card,
.feature-box,
.single-team-member,
.team-member,
.single-blog-post,
.single-news,
.single-news-default,
.single-service,
.single-testimonial,
.about-feature,
.service-item,
.single-portfolio,
.portfolio-item,
.single-counter,
.counter-box,
.single-pricing,
.pricing-table,
.single-feature,
.welcome-single-item,
.single-contact-info,
.contact-form-box,
.single-service-tab,
.dashboard-card,
.screen-card {
    border-radius: 18px !important;
    border: 1px solid #ececec !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}
.single-service-item:hover,
.stat-card:hover,
.feature-box:hover,
.single-team-member:hover,
.team-member:hover,
.single-blog-post:hover,
.single-news:hover,
.single-news-default:hover,
.single-service:hover,
.single-testimonial:hover,
.about-feature:hover,
.service-item:hover,
.single-portfolio:hover,
.portfolio-item:hover,
.single-counter:hover,
.counter-box:hover,
.single-pricing:hover,
.pricing-table:hover,
.single-feature:hover,
.welcome-single-item:hover,
.single-contact-info:hover,
.contact-form-box:hover,
.single-service-tab:hover,
.dashboard-card:hover,
.screen-card:hover {
    border: 1px solid #e01a22 !important;
    box-shadow: 0 6px 18px rgba(224, 26, 34, 0.08);
    transform: translateY(-2px);
}

/* Tables -> softer corners on the wrapper */
.table-responsive,
.dataTables_wrapper {
    border-radius: 12px;
    overflow: hidden;
}

/* About page: hide the dark photo-frame overlays on the
   "Intelligent Enterprise Solutions" image. The overlays were
   designed to stylize a photograph; the new claymorphism PNG has
   transparency, so the overlays would muddy the colors. */
.rampsbd-edu-about-area .edu-abt-overlay,
.rampsbd-edu-about-area .edu-abt-innr-overlay {
    display: none !important;
}
.rampsbd-edu-about-area .edu-about-left > img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* Home page: "Who We Are" right-side single illustration.
   Replaced the original 3-image grid with one claymorphism scene
   (transparent PNG). Display at natural aspect, full column width. */
.home-about-right--single {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-about-right--single > img {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
}

/* ================================================================
   SERVICE DETAIL PAGE — sidebar navigation + widgets (professional)
   ================================================================ */
.rampsbd-single-service-area .service-details-left {
    position: sticky;
    top: 24px;
}
.rampsbd-single-service-area .single-service-widget {
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Service nav list */
.rampsbd-single-service-area .single-service-widget ul {
    margin: 0;
    padding: 0;
}
.rampsbd-single-service-area .single-service-widget li {
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    margin-bottom: 6px !important;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.rampsbd-single-service-area .single-service-widget li:last-child {
    margin-bottom: 0 !important;
}
.rampsbd-single-service-area .single-service-widget li a {
    border: none !important;
    border-left: 0 !important;
    background: #fafbff !important;
    color: #1a1a1a !important;
    padding: 11px 14px !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.rampsbd-single-service-area .single-service-widget li a:hover {
    background: #fff5f5 !important;
    color: #e01a22 !important;
    border-left: 0 !important;
    transform: translateX(2px);
}
.rampsbd-single-service-area .single-service-widget li.active > a,
.rampsbd-single-service-area .single-service-widget ul li.active > a {
    background: linear-gradient(135deg, #e01a22, #ff4757) !important;
    color: #fff !important;
    border-left: 0 !important;
    box-shadow: 0 4px 12px rgba(224, 26, 34, 0.25);
}
.rampsbd-single-service-area .single-service-widget li a .icon-3d {
    flex: 0 0 auto;
    width: 14px !important;
    height: 14px !important;
    opacity: 0.7;
    transition: transform 0.2s ease;
}
.rampsbd-single-service-area .single-service-widget li a:hover .icon-3d {
    transform: translateX(3px);
    opacity: 1;
}
.rampsbd-single-service-area .single-service-widget li.active > a .icon-3d {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* Brochure / contact widgets in the sidebar */
.rampsbd-single-service-area .single-service-widget.brochures {
    padding: 0;
    overflow: hidden;
}
.rampsbd-single-service-area .single-service-widget.brochures .widget-title {
    margin: 0;
    padding: 18px 20px 0;
}
.rampsbd-single-service-area .single-service-widget.brochures .widget-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
    text-transform: capitalize;
}
.rampsbd-single-service-area .single-service-widget.brochures .title-line {
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, #e01a22, #ff6b6b);
    border-radius: 999px;
    margin-bottom: 4px;
}
.rampsbd-single-service-area .single-service-widget.brochures p {
    padding: 14px 20px 20px !important;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.rampsbd-single-service-area .single-service-widget.brochures p a {
    color: #e01a22;
    font-weight: 500;
    text-decoration: none;
}
.rampsbd-single-service-area .single-service-widget.brochures p a:hover {
    text-decoration: underline;
}
.rampsbd-single-service-area .single-service-widget.brochures p strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* On mobile, drop the sticky behavior */
@media (max-width: 992px) {
    .rampsbd-single-service-area .service-details-left {
        position: static;
        margin-bottom: 30px;
    }
}

/* ================================================================
   SERVICE DETAIL PAGE — professional redesign
   ================================================================ */
.rampsbd-single-service-area .service-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}
.rampsbd-single-service-area .service-hero-icon {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff5f5, #ffe9ec);
    box-shadow: inset 0 0 0 1px #ffe1e3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rampsbd-single-service-area .service-hero-icon .icon-3d {
    width: 60px !important;
    height: 60px !important;
    margin: 0 !important;
}
.rampsbd-single-service-area .service-hero-text h2 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}
.rampsbd-single-service-area .service-tagline {
    margin: 0;
    font-size: 16px;
    color: #e01a22;
    font-weight: 500;
    line-height: 1.4;
}
.rampsbd-single-service-area .service-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 32px;
}

/* Innovation highlights row (replaces old banner image) */
.service-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 0 36px;
}
.service-highlight {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-highlight:hover {
    border-color: #e01a22;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(224, 26, 34, 0.08);
}
.service-highlight-number {
    font-size: 22px;
    font-weight: 700;
    color: #e01a22;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.service-highlight-label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .service-highlights {
        grid-template-columns: 1fr;
    }
    .rampsbd-single-service-area .service-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Capabilities / Approach lists */
.rampsbd-single-service-area .single-service-wrap-left {
    margin-bottom: 24px;
}
.rampsbd-single-service-area .single-service-wrap-left h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 14px;
    text-transform: capitalize;
}
.rampsbd-single-service-area .single-service-wrap-left ul li {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.rampsbd-single-service-area .single-service-wrap-left ul li .icon-3d {
    flex: 0 0 auto;
    margin-top: 2px;
}

/* Why-choose closing block */
.rampsbd-single-service-area .service-why {
    margin-top: 12px;
    padding: 32px 28px;
    background: #fafbff;
    border: 1px solid #ececec;
    border-radius: 18px;
}
.rampsbd-single-service-area .service-why h3 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}
.rampsbd-single-service-area .service-why p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* ================================================================
   CONTACT PAGE — clean redesign
   ================================================================ */
.contact-intro {
    padding: 60px 0 20px;
}
.contact-intro-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
    line-height: 1.25;
}
.contact-intro-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

.contact-info-cards {
    padding: 30px 0 60px;
}
.contact-info-row {
    display: flex;
    flex-wrap: wrap;
}
.contact-info-row > [class*="col-"] {
    display: flex;
    margin-top: 20px;
}
.contact-info-card {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 36px 24px 30px;
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #e01a22, #ff6b6b);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.contact-info-card:hover {
    border-color: #e01a22;
    box-shadow: 0 10px 24px rgba(224, 26, 34, 0.10);
    transform: translateY(-4px);
}
.contact-info-card:hover::before {
    opacity: 1;
}
.contact-info-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5, #ffe9ec);
    box-shadow: inset 0 0 0 1px #ffe1e3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}
.contact-info-card:hover .contact-info-icon {
    transform: scale(1.06) rotate(-3deg);
}
.contact-info-icon .icon-3d {
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
}
.contact-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px;
    text-transform: capitalize;
}
.contact-info-card p {
    font-size: 14px;
    color: #555;
    margin: 0 0 4px;
    line-height: 1.55;
}
.contact-info-card p a {
    color: #e01a22;
    text-decoration: none;
}
.contact-info-card p a:hover {
    text-decoration: underline;
}

.contact-form-section {
    background: #fafbff;
    padding-top: 60px;
}
.contact-form-modern {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 48px 44px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.04);
}
.contact-form-title {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 8px;
}
.contact-form-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 0 0 30px;
}
.contact-form-modern .form-field {
    margin-bottom: 20px;
}
.contact-form-modern .form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.contact-form-modern .form-field label .optional {
    font-weight: 400;
    color: #999;
    text-transform: none;
    letter-spacing: 0;
}
.contact-form-modern .form-field input,
.contact-form-modern .form-field select,
.contact-form-modern .form-field textarea {
    width: 100% !important;
    padding: 13px 16px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    background: #fafafa !important;
    color: #222;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.contact-form-modern .form-field input:focus,
.contact-form-modern .form-field select:focus,
.contact-form-modern .form-field textarea:focus {
    outline: none;
    border-color: #e01a22 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(224, 26, 34, 0.08);
}
.contact-form-modern .form-field textarea {
    resize: vertical;
    min-height: 140px;
}
.contact-submit-btn {
    margin-top: 12px !important;
    padding: 13px 50px !important;
    font-size: 14px;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .contact-form-modern {
        padding: 32px 22px;
    }
    .contact-intro-title {
        font-size: 22px;
    }
}

/* Unified watermark + tint treatment for any card that sets a
   --watermark-icon CSS variable inline. Used by:
     - .single-service-item (Specialize In, Vision/Mission, etc.)
     - .stat-card             (Home "We Served" stats)
     - .single-promo          (Promo cards on Home + Clients + About) */
[style*="--watermark-icon"] {
    position: relative;
    overflow: hidden;
}
[style*="--watermark-icon"]::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 200px;
    height: 200px;
    background-image: var(--watermark-icon);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    opacity: 0.08;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 0;
}
[style*="--watermark-icon"]:hover::after {
    opacity: 0.14;
    transform: scale(1.08) rotate(-4deg);
}
[style*="--watermark-icon"] > * {
    position: relative;
    z-index: 1;
}

/* Shared pastel tints (apply to .single-service-item, .stat-card,
   .single-promo, any other card class). */
.single-service-item--tint-blue,
.stat-card--tint-blue,
.single-promo--tint-blue,
.contact-info-card--tint-blue {
    background: linear-gradient(135deg, #f0f6ff 0%, #e6efff 100%) !important;
    border-color: #dee8f7 !important;
}
.single-service-item--tint-mint,
.stat-card--tint-mint,
.single-promo--tint-mint,
.contact-info-card--tint-mint {
    background: linear-gradient(135deg, #f0fbf6 0%, #e6f7ee 100%) !important;
    border-color: #d6efe1 !important;
}
.single-service-item--tint-pink,
.stat-card--tint-pink,
.single-promo--tint-pink,
.contact-info-card--tint-pink {
    background: linear-gradient(135deg, #fff3f5 0%, #ffe7eb 100%) !important;
    border-color: #f5d4dc !important;
}
.single-service-item--tint-amber,
.stat-card--tint-amber,
.single-promo--tint-amber,
.contact-info-card--tint-amber {
    background: linear-gradient(135deg, #fffaf0 0%, #fff3e0 100%) !important;
    border-color: #f4e4c5 !important;
}
.single-service-item--tint-lavender,
.stat-card--tint-lavender,
.single-promo--tint-lavender,
.contact-info-card--tint-lavender {
    background: linear-gradient(135deg, #f6f3ff 0%, #ece7ff 100%) !important;
    border-color: #ddd5f3 !important;
}
/* (single-service-item tints consolidated into shared rules above) */

/* Tinted promo cards with a large faint icon watermark in the corner.
   Style inspired by limda.net's "Save 35% on Hosting" / "Save 36% on
   .BD Domains" banners (large icon as watermark) — but with light
   pastel tints instead of dark backgrounds. Each card sets its own
   icon image via the inline CSS variable --watermark-icon. */
.rampsbd-promo-area--watermark .single-promo {
    position: relative;
    overflow: hidden;
}
.rampsbd-promo-area--watermark .single-promo::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 200px;
    height: 200px;
    background-image: var(--watermark-icon);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    opacity: 0.08;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 0;
}
.rampsbd-promo-area--watermark .single-promo:hover::after {
    opacity: 0.14;
    transform: scale(1.08) rotate(-4deg);
}
/* Make sure the actual content sits above the watermark */
.rampsbd-promo-area--watermark .single-promo > * {
    position: relative;
    z-index: 1;
}

/* (single-promo tints consolidated into shared rules above) */

/* Hover stays consistent with site pattern (red border + lift) but
   keeps the tinted card background instead of switching to white. */
.rampsbd-promo-area--watermark .single-promo:hover {
    border-color: #e01a22 !important;
    box-shadow: 0 12px 26px rgba(224, 26, 34, 0.10);
    transform: translateY(-4px);
}

/* Promo area cards — shared layout (equal-height flex grid) */
.rampsbd-promo-area .row {
    display: flex;
    flex-wrap: wrap;
}
.rampsbd-promo-area .row > [class*="col-"] {
    display: flex;
    margin-top: 24px;
}
.rampsbd-promo-area .single-promo {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 28px 24px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}
.rampsbd-promo-area .single-promo::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #e01a22, #ff6b6b);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.rampsbd-promo-area .single-promo:hover {
    border-color: #e01a22;
    box-shadow: 0 10px 24px rgba(224, 26, 34, 0.10);
    transform: translateY(-4px);
}
.rampsbd-promo-area .single-promo:hover::before {
    opacity: 1;
}
.rampsbd-promo-area .single-promo .promo-icon {
    transition: transform 0.35s ease;
}
.rampsbd-promo-area .single-promo:hover .promo-icon {
    transform: scale(1.06) rotate(-3deg);
}

/* Variant A: STAT cards (Clients page "Serving Diverse Industries").
   Uses .text-center; big red number, circular icon badge above. */
.rampsbd-promo-area .single-promo.text-center {
    padding: 32px 22px;
    text-align: center !important;
}
.rampsbd-promo-area .single-promo.text-center .promo-icon {
    float: none !important;
    margin: 0 auto 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5, #ffe9ec);
    box-shadow: inset 0 0 0 1px #ffe1e3;
}
.rampsbd-promo-area .single-promo.text-center .promo-icon .icon-3d {
    margin: 0 !important;
    width: 64px !important;
    height: 64px !important;
}
.rampsbd-promo-area .single-promo.text-center .promo-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: #e01a22;
    margin: 0 0 4px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.rampsbd-promo-area .single-promo.text-center .promo-text p {
    font-size: 14px;
    color: #555;
    margin: 0;
    font-weight: 500;
}

/* Variant B: TEXT cards (home page promo: ERP / IoT / AI).
   No .text-center; left-aligned title with icon at top. */
.rampsbd-promo-area .single-promo:not(.text-center) {
    text-align: left;
    padding: 26px 24px;
}
.rampsbd-promo-area .single-promo:not(.text-center) .promo-icon {
    float: none !important;
    margin: 0 0 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff5f5, #ffe9ec);
    box-shadow: inset 0 0 0 1px #ffe1e3;
}
.rampsbd-promo-area .single-promo:not(.text-center) .promo-icon .icon-3d {
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
}
.rampsbd-promo-area .single-promo:not(.text-center) .promo-text {
    overflow: visible;
}
.rampsbd-promo-area .single-promo:not(.text-center) .promo-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
    text-transform: capitalize;
}
.rampsbd-promo-area .single-promo:not(.text-center) .promo-text p {
    font-size: 14px;
    line-height: 1.55;
    color: #5a5a5a;
    margin: 0;
}

/* About page: "Expertise & Foundation" section — richer card layout
   for the 4 expertise pillars, with a circular icon badge, gradient
   background tint, and the standard red hover treatment. */
.rampsbd-team-area .behind-right {
    max-width: 1100px !important;
}
.rampsbd-team-area .behind-right > p:first-of-type {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
}
.rampsbd-team-area .behind-right > .row {
    display: flex;
    flex-wrap: wrap;
}
.rampsbd-team-area .behind-right > .row > [class*="col-"] {
    display: flex;
    margin-top: 20px;
}
.rampsbd-team-area .single-promo {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}
.rampsbd-team-area .single-promo::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #e01a22, #ff6b6b);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.rampsbd-team-area .single-promo:hover {
    border-color: #e01a22;
    box-shadow: 0 10px 24px rgba(224, 26, 34, 0.10);
    transform: translateY(-4px);
}
.rampsbd-team-area .single-promo:hover::before {
    opacity: 1;
}
.rampsbd-team-area .single-promo .promo-icon {
    float: none !important;
    margin: 0 auto 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5, #ffe9ec);
    box-shadow: inset 0 0 0 1px #ffe1e3;
    transition: transform 0.35s ease;
}
.rampsbd-team-area .single-promo:hover .promo-icon {
    transform: scale(1.06) rotate(-3deg);
}
.rampsbd-team-area .single-promo .promo-icon .icon-3d {
    margin: 0 !important;
    width: 56px !important;
    height: 56px !important;
}
.rampsbd-team-area .single-promo .promo-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-transform: capitalize;
}
.rampsbd-team-area .single-promo .promo-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .rampsbd-team-area .behind-right > .row > [class*="col-"] {
        margin-top: 12px;
    }
}

/* About page: "The RampsBD Advantage" section.
   Original CSS hard-codes height: 300px and width: 50% on .choose-us-box,
   so content overflows and a background image floats on the right.
   Override to a clean 2-column grid with no scroll/fixed height. */
.rampsbd-choose-us-area .choose-bg-image {
    display: none;
}
.rampsbd-choose-us-area .choose-us-box {
    width: 100% !important;
}
.rampsbd-choose-us-area .big-choose-scroll {
    height: auto !important;
    padding: 24px !important;
    background: #fff !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.rampsbd-choose-us-area .single-choose-scroll {
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid #ececec !important;
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.rampsbd-choose-us-area .single-choose-scroll:hover {
    border-color: #e01a22 !important;
    box-shadow: 0 6px 18px rgba(224, 26, 34, 0.08);
}
@media (max-width: 768px) {
    .rampsbd-choose-us-area .big-choose-scroll {
        grid-template-columns: 1fr;
    }
}

/* About page: "We Have" (formerly Core Divisions) — make the two
   service cards equal height & width via flex on the row. */
.service-area > .container > .row {
    display: flex;
    flex-wrap: wrap;
}
.service-area > .container > .row > [class*="col-"] {
    display: flex;
}
.service-area > .container > .row > [class*="col-"] > .single-service-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.service-area > .container > .row > [class*="col-"] > .single-service-item > .service-text {
    flex: 1;
}

/* Top header social icons -> circular buttons with font icons. */
.header-top-social ul.social-round li a,
.header-top-social ul li a {
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    border-radius: 50% !important;
    background: #ed1c24 !important;
    color: #fff !important;
    font-size: 14px !important;
    text-align: center;
    display: inline-block;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}
.header-top-social ul li a:hover {
    background: #092a48 !important;
    transform: translateY(-2px);
}
.header-top-social ul li a i {
    line-height: 30px;
    vertical-align: middle;
}
.header-top-social ul li {
    margin-left: 4px;
}

/* ================================================================
   MOBILE / TABLET RESPONSIVE
   ================================================================ */

/* SlickNav mobile menu — only show below 992px */
.slicknav_menu {
    display: none;
    background: #ffffff !important;
    padding: 0 !important;
    border-bottom: 1px solid #ececec;
}
.slicknav_btn {
    background: transparent !important;
    margin: 8px 16px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #ececec !important;
}
.slicknav_icon-bar {
    background-color: #e01a22 !important;
    box-shadow: none !important;
}
.slicknav_nav {
    background: #fff;
    color: #1a1a1a;
    padding: 8px 12px !important;
}
.slicknav_nav a {
    color: #1a1a1a !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 8px;
    margin: 2px 0;
}
.slicknav_nav a:hover {
    background: #fff5f5 !important;
    color: #e01a22 !important;
    border-radius: 8px !important;
}
.slicknav_nav .slicknav_row:hover {
    background: #fff5f5 !important;
    color: #e01a22 !important;
    border-radius: 8px !important;
}

/* ---------- Tablet & below (≤ 991px) ---------- */
@media (max-width: 991px) {
    /* Hide desktop nav, show mobile hamburger */
    .rampsbd-header-area .mainmenu nav > ul {
        display: none;
    }
    .slicknav_menu {
        display: block;
    }

    /* Hide ALL decorative absolute-positioned strips/triangles in
       the desktop header — they cause overlap/overflow on mobile. */
    .rampsbd-header-area .tp_brdr_1,
    .rampsbd-header-area .hdr_top_brdr_1,
    .rampsbd-header-area .hdr_top_brdr_2,
    .rampsbd-header-area .brdr_3_span,
    .rampsbd-header-area .brdr_3_span::after,
    .rampsbd-header-area .brdr_spn_1,
    .rampsbd-header-area .brdr_spn_2,
    .rampsbd-header-area .brdr_spn_3,
    .rampsbd-header-area .manimenu_brdr,
    .rampsbd-header-area .manimenu_brdr_1,
    .rampsbd-header-area .inner_mainmenu_brbr,
    .rampsbd-header-area .inner_brbr_1,
    .rampsbd-header-area .inner_brbr_2,
    .rampsbd-header-area .inner_brbr_3 {
        display: none !important;
    }
    /* Hide the diagonal/strip pseudos and the social icons on mobile */
    .rampsbd-header-area .header-top-social,
    .rampsbd-header-area .header-top-social::after,
    .rampsbd-header-area .header-top-social:after,
    .rampsbd-header-area::after,
    .rampsbd-header-area:after,
    .rampsbd-header-area .rampsbd-logo::after,
    .rampsbd-header-area .rampsbd-logo:after {
        display: none !important;
    }

    /* Mobile header = full-width brand-red strip with logo centered.
       The .rampsbd-logo container becomes the strip itself. */
    .rampsbd-header-area {
        background: transparent;
    }
    .rampsbd-header-area > .container,
    .rampsbd-header-area > .container > .row {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .rampsbd-header-area .col-md-2 {
        padding: 0 !important;
    }
    .rampsbd-header-area .rampsbd-logo {
        height: auto !important;
        background: #ED1C24 !important;
        position: relative;
        text-align: center;
        padding: 14px 0 !important;
        width: 100%;
    }
    /* Suppress the giant ::before banner — strip is on the container */
    .rampsbd-header-area .rampsbd-logo::before,
    .rampsbd-header-area .rampsbd-logo:before {
        display: none !important;
    }
    .rampsbd-header-area .rampsbd-logo a {
        position: relative;
        z-index: 1;
        display: inline-block;
    }
    .rampsbd-header-area .rampsbd-logo img {
        max-width: 80px !important;
        height: auto;
        display: inline-block;
        margin: 0 auto;
    }

    /* Reset .mainmenu out-of-flow shifts so it doesn't overflow */
    .rampsbd-header-area .mainmenu {
        background: transparent !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        position: static !important;
    }

    /* Header column reset */
    .rampsbd-header-area .header-right-area {
        min-height: auto;
    }
    .rampsbd-header-area .col-md-2,
    .rampsbd-header-area .col-md-10 {
        width: 100%;
        max-width: 100%;
        float: none;
    }
    .rampsbd-header-area > .container > .row {
        margin: 0;
    }

    /* Logo: centered, padded */
    .rampsbd-header-area .rampsbd-logo {
        text-align: center;
        padding: 14px 0 6px;
    }
    .rampsbd-header-area .rampsbd-logo img {
        max-width: 160px;
        margin: 0 auto;
    }

    /* Social row: clean, centered, no decorative artifacts */
    .rampsbd-header-area .header-top-social {
        position: static !important;
        padding: 6px 0 12px !important;
        text-align: center;
    }
    .rampsbd-header-area .header-top-social ul {
        text-align: center !important;
        margin: 0;
        padding: 0;
        display: inline-flex;
        gap: 6px;
    }
    .rampsbd-header-area .header-top-social ul li {
        display: inline-block;
    }

    /* Hero section */
    .hero-section .hero-text h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }
    .hero-section .hero-text p {
        font-size: 14px !important;
    }
    .hero-section .hero-content {
        flex-direction: column;
    }
    .hero-section .hero-phones {
        margin-top: 30px;
        transform: scale(0.85);
    }
    .hero-circle-pattern,
    .breadcrumb-circle-pattern {
        opacity: 0.4;
    }

    /* Section padding compression */
    .section_100 { padding: 50px 0 !important; }
    .section_70  { padding: 40px 0 !important; }
    .section_50  { padding: 35px 0 !important; }
    .section_b_50 { padding-bottom: 35px !important; }
    .section_b_100 { padding-bottom: 50px !important; }

    /* Service detail page sidebar — stack on top */
    .rampsbd-single-service-area .service-details-left {
        position: static !important;
        margin-bottom: 30px;
    }
    .rampsbd-single-service-area .single-service-widget {
        margin-bottom: 16px;
    }

    /* About: Advantage section grid → single column */
    .rampsbd-choose-us-area .big-choose-scroll {
        grid-template-columns: 1fr !important;
    }
    .rampsbd-choose-us-area .choose-us-box > h2 {
        font-size: 22px;
    }

    /* Footer columns stack */
    .rampsbd-footer-area .col-md-3 {
        margin-bottom: 30px;
    }

    /* Watermarks shrink */
    [style*="--watermark-icon"]::after {
        width: 130px !important;
        height: 130px !important;
        right: -20px !important;
        bottom: -20px !important;
    }
}

/* ---------- Phone (≤ 767px) ---------- */
@media (max-width: 767px) {
    body { font-size: 14px; }

    h1 { font-size: 26px !important; }
    h2 { font-size: 22px !important; }
    h3 { font-size: 18px !important; }

    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Page heading band */
    .rampsbd-breadcromb-area .breadcromb h2 {
        font-size: 26px;
    }

    /* Hero — hide phone mockups (decorative on mobile) */
    .hero-section .hero-phones {
        display: none;
    }
    .hero-section .hero-text {
        text-align: center;
        padding: 20px 0;
    }
    .hero-section .hero-features li {
        font-size: 13px;
        text-align: left;
    }
    .hero-section .hero-buttons {
        text-align: center;
    }
    .hero-section .hero-btn {
        margin: 4px;
        padding: 10px 22px !important;
    }

    /* Promo / stat / service-item cards full width on mobile */
    .rampsbd-promo-area .col-md-4,
    .rampsbd-promo-area .col-md-3,
    .rampsbd-promo-area .col-sm-6,
    .service-area .col-md-6,
    .service-area .col-md-4 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }

    /* Single-service-item: comfortable padding */
    .single-service-item {
        padding: 22px !important;
    }
    .single-service-item h3 {
        font-size: 17px !important;
    }
    .single-service-item .service-icon img {
        width: 56px !important;
        height: 56px !important;
    }

    /* Stat cards numbers smaller */
    .stat-card .stat-number {
        font-size: 28px !important;
    }
    .rampsbd-promo-area .single-promo.text-center .promo-text h3 {
        font-size: 26px !important;
    }

    /* About hero image */
    .rampsbd-edu-about-area .col-md-6 {
        margin-bottom: 24px;
    }

    /* Who We Are home: stack columns; widen image */
    .home-about-left {
        margin-bottom: 24px;
    }
    .home-about-right--single > img {
        max-width: 360px;
    }

    /* Service detail hero */
    .rampsbd-single-service-area .service-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .rampsbd-single-service-area .service-hero h2 {
        font-size: 22px;
    }

    /* Service highlights stack */
    .service-highlights {
        grid-template-columns: 1fr !important;
    }

    /* Contact form */
    .contact-form-modern {
        padding: 28px 18px;
    }
    .contact-info-card {
        padding: 28px 20px;
    }
    .contact-info-icon {
        width: 72px;
        height: 72px;
    }
    .contact-info-icon .icon-3d {
        width: 48px !important;
        height: 48px !important;
    }

    /* Footer */
    .rampsbd-footer-area .col-md-3,
    .rampsbd-footer-area .col-sm-3 {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 24px;
    }
    .rampsbd-footer-area .copyright-area .col-md-6 {
        text-align: center !important;
    }
    .rampsbd-footer-area .copyright-area .col-md-6 + .col-md-6 {
        margin-top: 6px;
    }

    /* Phone mockup hide on mobile (already done above for hero) */

    /* Quotes / CTA section */
    .rampsbd-quotes-area .rampsbd-quotes-text h2 {
        font-size: 22px;
    }
    .rampsbd-quotes-area .rampsbd-quotes-text p {
        font-size: 14px;
    }
    .quotes-button a.rampsbd-default-btn {
        margin: 6px 4px;
        padding: 10px 22px !important;
    }

    /* Disable big card hover lift on touch (avoids stuck-hover state) */
    [style*="--watermark-icon"]:hover {
        transform: none !important;
    }
    .single-service-item:hover {
        transform: none !important;
    }
}

/* ---------- Small phone (≤ 480px) ---------- */
@media (max-width: 480px) {
    h1 { font-size: 22px !important; }
    h2 { font-size: 20px !important; }

    .rampsbd-breadcromb-area .breadcromb h2 {
        font-size: 22px;
    }
    .breadcromb ul li {
        font-size: 13px;
    }

    .contact-form-modern {
        padding: 22px 14px;
    }
    .contact-form-title {
        font-size: 22px;
    }

    .rampsbd-header-area .rampsbd-logo img {
        max-width: 140px;
    }

    /* Service highlight numbers smaller */
    .service-highlight-number {
        font-size: 18px;
    }
}

/* Prevent horizontal overflow site-wide on mobile */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden;
    }
}
