/* RampsBD professional design system shared by every page. */
:root {
    --brand-red: #ed1c24;
    --brand-red-dark: #c9161d;
    --ink: #202326;
    --muted: #657078;
    --line: #e5e7e9;
    --surface: #ffffff;
    --canvas: #f6f7f8;
    --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: var(--canvas);
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.7;
}
h1, h2, h3, h4, h5, h6,
.site-heading h2, .breadcromb h2,
.contact-intro-title, .contact-form-title {
    color: var(--ink);
    font-family: var(--font-ui) !important;
    font-weight: 700;
    letter-spacing: -0.025em;
}
a { color: var(--brand-red); }
a:hover, a:focus { color: var(--brand-red-dark); }

body p, body li { font-family: var(--font-ui); }
body p { font-size: 15px; line-height: 1.75; }
button, input, select, textarea, .rampsbd-default-btn, .hero-btn {
    font-family: var(--font-ui) !important;
}
.icon-3d { filter: none; }
.rampsbd-header-area { background-color: #fff; }
.site-heading h2 { text-transform: none; line-height: 1.25; }

.section_100 { padding: 88px 0; }
.section_70 { padding: 70px 0; }
.section_50 { padding: 52px 0; }
.site-heading { margin-bottom: 42px; }
.site-heading h2, .contact-intro-title { font-size: clamp(25px, 3vw, 34px); }
.site-heading h2::after,
.section-title-underline::after {
    background: var(--brand-red) !important;
    height: 3px;
    border-radius: 10px;
}

/* Page headers */
.rampsbd-breadcromb-area {
    background: linear-gradient(120deg, #26292c 0%, #45494d 68%, #ed1c24 180%) !important;
    border-bottom: 4px solid var(--brand-red);
}
.breadcromb h2 { color: #fff; font-size: clamp(30px, 4vw, 45px); letter-spacing: -0.035em; }
.breadcromb ul li, .breadcromb ul li a { font-family: var(--font-ui); }
.hero-text h1, .rampsbd-quotes-text h2 { color: #fff; }
.rampsbd-quotes-area { background: #34383c !important; }

/* Cards, panels, and forms */
.single-service-item, .single-promo, .stat-card, .contact-info-card,
.single-news-default, .single-partner-item, .single-sidebar-widget,
.contact-form-modern, .single-service-widget, .single-service-tab,
.rampsbd-choose-us-area .single-choose-scroll {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 26px rgba(24, 29, 34, .045) !important;
}
.single-service-item:hover, .single-promo:hover, .stat-card:hover,
.contact-info-card:hover, .single-news-default:hover, .single-partner-item:hover,
.rampsbd-choose-us-area .single-choose-scroll:hover {
    border-color: var(--brand-red) !important;
    box-shadow: 0 13px 30px rgba(237, 28, 36, .11) !important;
}
[style*="--watermark-icon"]::after { opacity: .035 !important; filter: grayscale(1) contrast(1.2); }
[style*="--watermark-icon"]:hover::after { opacity: .07 !important; }

.contact-info-icon, .choose-icon {
    background: #fff4f4 !important;
    border: 1px solid #f3d6d7;
    border-radius: 12px;
}
.service-icon, .stat-icon { background: none !important; border: 0; }
.service-icon .icon-3d, .stat-icon .icon-3d { width: 72px; height: 72px; }
.service-icon, .promo-icon, .stat-icon, .contact-info-icon { color: var(--brand-red); }

.rampsbd-default-btn, .hero-btn.primary, .contact-submit-btn {
    background: var(--brand-red) !important;
    border: 1px solid var(--brand-red) !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 15px rgba(237, 28, 36, .18);
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    letter-spacing: .03em;
}
.rampsbd-default-btn:hover, .hero-btn.primary:hover, .contact-submit-btn:hover {
    background: var(--brand-red-dark) !important;
    border-color: var(--brand-red-dark) !important;
}

/* About and team content */
.rampsbd-edu-about-area, .rampsbd-team-area, .rampsbd-partners-page-area { background: var(--surface); }
.rampsbd-edu-about-area .edu-about-left > img {
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 34px rgba(24,29,34,.08);
    object-fit: contain;
}
.rampsbd-choose-us-area { background: #f2f4f5 !important; }
.rampsbd-choose-us-area .big-choose-scroll { background: transparent !important; }
.rampsbd-choose-us-area .choose-text > h4 { color: var(--ink); font-family: var(--font-ui); }
.rampsbd-choose-us-area .single-choose-scroll { padding: 22px !important; }
.behind-right { max-width: 780px; margin-left: auto; margin-right: auto; }

/* Service details */
.rampsbd-single-service-area { background: var(--canvas); }
.rampsbd-single-service-area .service-hero-icon {
    background: #fff4f4 !important;
    box-shadow: inset 0 0 0 1px #f3d6d7 !important;
}
.rampsbd-single-service-area .service-tagline,
.rampsbd-single-service-area .single-service-tab h3 { color: var(--brand-red) !important; }
.rampsbd-single-service-area .single-service-widget li a {
    background: #fff !important;
    border: 1px solid var(--line) !important;
}
.rampsbd-single-service-area .single-service-widget li.active > a {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
}
.service-highlights .service-highlight { background: #fff !important; border-color: var(--line) !important; }

/* Contact, blog, and client pages */
.contact-intro, .contact-info-cards, .contact-form-section,
.rampsbd-blog-area.section_100 { background: var(--canvas) !important; }
.contact-info-card h4, .contact-form-title { color: var(--ink); }
.contact-form-modern .form-field input,
.contact-form-modern .form-field select,
.contact-form-modern .form-field textarea {
    background: #fff !important;
    border-color: #dfe3e6 !important;
}
.rampsbd-default-news-img > div[style],
.partner-image > div[style] {
    background: linear-gradient(135deg, #fff, #f0f1f2) !important;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
}
.single-sidebar-widget[style] {
    background: linear-gradient(135deg, #25292d, #4b5054) !important;
    border: 1px solid #5b6065;
    border-radius: 14px !important;
}
.rampsbd-default-news-img > div[style] .icon-3d,
.partner-image > div[style] .icon-3d { filter: none !important; }
.single-news-default { overflow: hidden; }
.rampsbd-default-news-text { background: #fff !important; padding: 28px !important; }
.rampsbd-default-news-text > h3, .partner-info > h3 { color: var(--ink); font-family: var(--font-ui); line-height: 1.4; text-transform: none; }
.single-sidebar-widget { padding: 24px; margin-bottom: 24px; }
.single-sidebar-widget h3 { font-size: 18px; margin-bottom: 16px; }
.single-sidebar-widget li a { display: block; padding: 8px 0; color: #45494d; }
.single-sidebar-widget li a:hover { color: var(--brand-red); }
.partner-image .icon-3d { border: 0; }
.rampsbd-default-news-img .icon-3d { width: 112px; height: 112px; }
.rampsbd-post-share-comment { text-align: left; }
.rampsbd-post-share-comment > p { margin: 0 16px 0 0; font-size: 13px; }
.single-sidebar-widget[style] h3 { color: #fff !important; }
.single-sidebar-widget[style] .rampsbd-default-btn { color: var(--brand-red) !important; background: #fff !important; border-color: #fff !important; }
.single-partner-item { padding: 25px !important; margin-bottom: 18px; }
.partner-info { width: 100% !important; }

/* Gallery uses photographs, framed to fit the visual system. */
.rampsbd-album-area { background: var(--canvas); }
.gallery_item a.gallery-img {
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(24,29,34,.08) !important;
}
.gallery_item a.gallery-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery_item a.gallery-img:hover img { transform: scale(1.03); }
.gallery_item a.gallery-img::after {
    content: "View image";
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    background: var(--brand-red);
    border-radius: 6px;
    color: #fff;
    font: 600 11px "Poppins", sans-serif;
    opacity: 0;
    transition: opacity .2s ease;
}
.gallery_item a.gallery-img:hover::after,
.gallery_item a.gallery-img:focus-visible::after { opacity: 1; }
.album-empty-state { background: #fff; border: 1px dashed #d6d9dc; border-radius: 14px; }

/* Footer is intentionally high contrast and readable. */
.rampsbd-footer-area { background: #1f2225; }
.rampsbd-footer-area .footer-top-area { background-color: #25292d; }
.rampsbd-footer-area p, .rampsbd-footer-area li a { color: #c7cdd1 !important; }
.rampsbd-footer-area h3, .rampsbd-footer-area h4 a { color: #fff !important; }
.copyright-area { background: #181a1c !important; }
.rampsbd-footer-area p, .rampsbd-footer-area li a { font-size: 14px; }
.rampsbd-footer-area .icon-3d { filter: brightness(0) invert(1); }
.rampsbd-footer-area a:hover { color: #fff !important; }
.copyright-area p { font-size: 13px; }

a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, textarea:focus-visible {
    outline: 3px solid #ed1c24;
    outline-offset: 3px;
}
.service-why .rampsbd-default-btn { margin-right: 10px; margin-left: 0 !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 767px) {
    body { font-size: 14px; }
    .section_100 { padding: 56px 0; }
    .section_70 { padding: 48px 0; }
    .site-heading { margin-bottom: 28px; }
    .single-service-item, .single-promo, .contact-info-card, .contact-form-modern { border-radius: 12px !important; }
    .rampsbd-default-news-text { padding: 22px !important; }
    .single-partner-item { padding: 20px !important; }
}
