/* ==========================================================
   swaranjitsingh.com: custom styles on top of the Flixta theme
   ========================================================== */

/* Wordmark logo (text, so it stays sharp and loads instantly) */
.site-wordmark {
  font-family: var(--rs-ff-title);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--rs-title-primary, #0B0F19);
  text-decoration: none;
  display: inline-block;
}
.site-wordmark span { color: var(--rs-theme-primary); }
.site-wordmark:hover { color: var(--rs-theme-primary); }

/* Semantic headings that keep the template's visual size */
.as-h4 { font-size: var(--rs-fs-h4) !important; }
.as-h5 { font-size: var(--rs-fs-h5) !important; }
.as-h6 { font-size: var(--rs-fs-h6) !important; }
.as-h3 { font-size: var(--rs-fs-h3) !important; }

/* Banner: name line is decorative text; H1 is the keyword line */
.rs-banner-two p.rs-banner-title { margin-bottom: 0; }
.rs-banner-two h1.rs-banner-small-title { font-size: 40px; line-height: 1.2; }
@media (max-width: 767px) { .rs-banner-two h1.rs-banner-small-title { font-size: 28px; } }
.rs-banner-two .rs-banner-small-title span { color: var(--rs-theme-primary); }
.banner-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 6px; padding: 0; list-style: none; }
.banner-trust li { font-weight: 600; color: var(--rs-title-primary, #0B0F19); display: flex; align-items: center; gap: 6px; }
.banner-trust li i { color: var(--rs-theme-primary); font-size: 18px; }

/* Icon cards (why me) */
.rs-skill-icon i { font-size: 30px; color: var(--rs-theme-primary); line-height: 1; }
.rs-skill-two .rs-skill-description p { margin-bottom: 0; }

/* Services list: price line */
.service-price { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--rs-theme-primary); font-size: 15px; }

/* Experience: no brand logos, give content full width */
.rs-experience-bottom.no-logo { padding-left: 30px; }

/* Breadcrumb + CTA backgrounds (template ships grey placeholders) */
.site-breadcrumb { background: linear-gradient(135deg, #EEF1FF 0%, #F8F9FF 60%, #FFF6EC 100%); }
.site-breadcrumb .rs-breadcrumb-title { font-size: 54px; }
.site-breadcrumb .breadcrumb-lead { max-width: 720px; margin: 14px auto 0; font-size: 19px; }
@media (max-width: 767px) { .site-breadcrumb .rs-breadcrumb-title { font-size: 34px; } }
.site-cta { background: linear-gradient(135deg, #EEF1FF 0%, #F8F9FF 100%); }
.site-cta .rs-cta-meta { font-size: 26px; }
.site-cta .cta-sub { margin-bottom: 26px; }
.site-cta .rs-btn-group { flex-wrap: wrap; gap: 10px; }
.site-cta .btn-outline { background: transparent; color: var(--rs-theme-primary); border: 1px solid var(--rs-theme-primary); }
.site-cta .ri-whatsapp-line { margin-right: 6px; }

/* Pricing cards */
.rs-pricing-amount.price-inr { font-size: 40px; font-weight: 700; margin-bottom: 4px; line-height: 1.1; }
.rs-pricing-amount .price-usd { display: block; font-size: 20px; font-weight: 600; opacity: .75; margin-top: 6px; }
.pricing-note { text-align: center; margin-top: 30px; }
.rs-pricing-item .rs-pricing-title { font-size: var(--rs-fs-h5); }
.popular-badge { display: inline-block; background: var(--rs-theme-primary); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 30px; margin-bottom: 10px; }
.rs-pricing-item.item-active .popular-badge { background: #fff; color: var(--rs-theme-primary); }

/* Content blocks on service pages */
.content-block h2 { font-size: 38px; margin-bottom: 18px; }
.content-block h3 { font-size: 24px; margin: 26px 0 10px; }
.content-block p, .content-block li { font-size: 18px; line-height: 1.7; }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: "\eb7b"; font-family: remixicon; position: absolute; left: 0; top: 0; color: var(--rs-theme-primary); }
.inline-link { color: var(--rs-theme-primary); text-decoration: underline; text-underline-offset: 3px; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 10px; }
.who-card { background: #fff; border: 1px solid #E3E8FF; border-radius: 12px; padding: 24px; }
.who-card h3 { font-size: 21px; margin: 0 0 8px; }
.who-card p { font-size: 17px; margin: 0; }

/* Case study highlight */
.case-stat { font-family: var(--rs-ff-title); font-size: 48px; font-weight: 800; color: var(--rs-title-primary, #0B0F19); line-height: 1; }
.case-stat-label { margin-top: 6px; }
.case-stats { display: flex; gap: 50px; margin: 26px 0; flex-wrap: wrap; }

/* Forms */
.form-title { margin-bottom: 6px; }
.form-note { margin-bottom: 22px; }

/* Footer */
.footer-heading { font-weight: 700; color: var(--rs-title-primary, #0B0F19); margin-bottom: 14px; font-size: 18px; }
.footer-about { margin: 16px 0 12px; }

/* Testimonials: reset figure/blockquote defaults */
figure.rs-testimonial-item, blockquote.rs-testimonial-description { margin: 0; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 24px; bottom: 96px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Offcanvas contact icons */
.offcanvas-contact i { color: var(--rs-theme-primary); font-size: 18px; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rs-theme-primary); outline-offset: 2px;
}
.as-h2 { font-size: var(--rs-fs-h2) !important; }

/* Banner name (decorative, not a heading) */
.rs-banner-two p.rs-banner-title {
  font-family: var(--rs-ff-title); font-weight: 700; line-height: 1.02;
  color: var(--rs-title-primary, #0B0F19); letter-spacing: -2px;
}
@media (max-width: 767px) { .rs-banner-two p.rs-banner-title { font-size: 64px; letter-spacing: -1px; } }

/* CTA buttons */
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-actions .rs-btn { min-width: 210px; justify-content: center; }
.cta-actions .rs-btn i { font-size: 20px; margin-right: 8px; vertical-align: -3px; }
.cta-actions .btn-ghost { background: #fff; color: var(--rs-theme-primary); border: 1px solid var(--rs-theme-primary); }
.cta-actions .btn-ghost:hover { color: #fff; }

/* Pricing: USD on its own line */
.rs-pricing-amount.price-inr { display: block !important; }
.rs-pricing-amount.price-inr .price-usd { display: block; width: 100%; }

/* Native select styled like the template inputs (no nice-select plugin) */
.rs-contact-input select {
  width: 100%; height: 60px; padding: 0 44px 0 20px; font-size: 16px; color: #6D6D6D;
  border: 1px solid #E3E8FF; border-radius: 5px; background-color: #F8F9FF;
  -webkit-appearance: none; appearance: none; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235777FF' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.process-note { font-size: 17px; }

@media (max-width: 991px) {
  .rs-banner-two .banner-shape-one { display: none; }
  .rs-skill-two .rs-skill-item { min-height: 0 !important; height: auto !important; }
  .rs-skill-two .rs-skill-bottom { margin-top: 16px !important; }
}
.rs-pricing-amount small { font-size: 18px; font-weight: 600; }

/* Case study pages */
.case-body h2 { font-size: 32px; margin: 36px 0 14px; }
.case-body h2:first-child { margin-top: 0; }
.case-quote { margin: 30px 0 0; padding: 28px 30px; background: #F3F5FF; border-left: 4px solid var(--rs-theme-primary); border-radius: 8px; }
.case-quote blockquote { margin: 0 0 12px; }
.case-quote blockquote p { font-size: 19px; font-style: italic; color: var(--rs-title-primary, #0B0F19); }
.case-sidebar { position: sticky; top: 110px; }
.case-side-cta { margin-top: 24px; padding: 28px; background: #fff; border: 1px solid #E3E8FF; border-radius: 12px; }
.case-side-cta h2 { margin-bottom: 10px; }
.case-side-cta .btn-ghost { background: #fff; color: var(--rs-theme-primary); border: 1px solid var(--rs-theme-primary); }
.case-side-cta .btn-ghost:hover { color: #fff; }
.case-related { margin: 16px 0 0; font-size: 15px; }
.mt-10 { margin-top: 10px; }
.more-case-heading { font-size: 32px; margin-bottom: 24px; }
.more-case { display: block; height: 100%; padding: 26px; background: #fff; border: 1px solid #E3E8FF; border-radius: 12px; transition: border-color .2s, transform .2s; }
.more-case:hover { border-color: var(--rs-theme-primary); transform: translateY(-3px); }
.more-case-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--rs-theme-primary); text-transform: uppercase; letter-spacing: 1px; }
.more-case-title { display: block; font-family: var(--rs-ff-title); font-size: 21px; font-weight: 700; color: var(--rs-title-primary, #0B0F19); margin: 8px 0 14px; line-height: 1.3; }
.more-case-link { font-weight: 600; color: var(--rs-theme-primary); }
.work-summary { margin: 8px 0 6px; }
@media (max-width: 991px) { .case-sidebar { position: static; } }

/* Contact page */
.contact-cards { display: grid; gap: 14px; margin: 10px 0 30px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid #E3E8FF; border-radius: 12px; color: var(--rs-text-body, #6D6D6D); }
a.contact-card:hover { border-color: var(--rs-theme-primary); }
.contact-card i { font-size: 26px; color: var(--rs-theme-primary); line-height: 1; margin-top: 2px; }
.contact-card strong { display: block; color: var(--rs-title-primary, #0B0F19); font-size: 18px; }
.next-steps { padding-left: 22px; }
.next-steps li { font-size: 18px; margin-bottom: 8px; }
.who-card h3 a { color: inherit; }
.who-card h3 a:hover { color: var(--rs-theme-primary); }
.who-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Delhi NCR section */
.delhi-box { background: #fff; border: 1px solid #E3E8FF; border-left: 4px solid var(--rs-theme-primary); border-radius: 12px; padding: 30px 34px; }
.delhi-box h2 { font-size: 30px; margin-bottom: 12px; }
.delhi-box p:last-child { margin-bottom: 0; }

/* Image logo */
.site-logo { display: inline-block; line-height: 0; }
.site-logo img { height: 32px; width: auto; max-width: none; }
@media (max-width: 575px) { .site-logo img { height: 24px; } }
.rs-footer-widget-logo .site-logo img { height: 30px; }
.rs-header-logo .site-logo img,
.offcanvas-logo .site-logo img,
.rs-footer-two .rs-footer-widget-logo .site-logo img { width: auto !important; max-width: none !important; }
.offcanvas-logo .site-logo img { height: 26px; }

/* 404 page */
.content-block .nf-code, .nf-code { font-family: var(--rs-ff-title); font-size: 140px; font-weight: 800; line-height: 1; color: var(--rs-theme-primary); opacity: .18; margin-bottom: 10px; }
.content-block .nf-lead, .nf-lead { font-size: 20px; margin-bottom: 26px; }
.nf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 44px; }
.nf-cols h2 { font-size: 26px; margin-bottom: 8px; }
@media (max-width: 575px) { .content-block .nf-code { font-size: 96px; } }

/* Outline buttons: fill blue on hover so the text stays readable */
.btn-ghost:hover, .btn-ghost:focus-visible,
.cta-actions .btn-ghost:hover, .case-side-cta .btn-ghost:hover, .site-cta .btn-outline:hover {
  background: var(--rs-theme-primary) !important; color: #fff !important; border-color: var(--rs-theme-primary) !important;
}
.btn-ghost:hover i { color: #fff; }
