/*
Theme Name: BCR
Theme URI: https://businesscoachrashida.com/
Author: Rashida Burhanpurwala
Author URI: https://businesscoachrashida.com/
Description: A single-page portfolio theme for business mentor, corporate trainer and motivational speaker Rashida Burhanpurwala. Every section — hero, awards, services, strengths, sessions, programs, testimonials, brand wall and contact — is editable from the Customizer, and the built-in contact form delivers straight to your inbox with no plugin required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bcr
Tags: one-column, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   NOTE ON HOW THIS THEME IS STYLED

   The layout comes from inline style="" attributes on the elements themselves,
   carried over verbatim from the original design. That is deliberate: inline
   styles sit at the top of the cascade, so the rendering cannot drift as the
   theme is edited, and nothing here can accidentally override a design value.

   This file therefore contains only three things:
     1. The base reset, keyframes and responsive overrides from the design.
     2. :hover / :focus states (which inline styles cannot express).
     3. A small block of WordPress-required utility classes.

   Rules in section 2 need !important because the base declarations they
   override live in inline style attributes.
   ========================================================================== */

/* ==========================================================================
   1. BASE — reset, keyframes, responsive overrides
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F1F2EB; color: #111111; font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 25px; overflow-x: hidden; text-wrap: pretty; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: #111111; text-decoration: none; }
a:hover { color: #666666; }
html { scrollbar-width: thin; scrollbar-color: rgba(17,17,17,.35) transparent; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; border: none; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(123,84,211,.45), rgba(232,98,138,.45)); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #7B54D3, #E8628A); }
::-webkit-scrollbar-corner { background: transparent; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.05); } }
@keyframes hueDrift { 0%, 100% { filter: blur(2px) hue-rotate(0deg); } 50% { filter: blur(4px) hue-rotate(18deg); } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes gradFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes glowPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes patDrift { from { background-position: 0 0, 0 0; } to { background-position: 28px 56px, -60px 40px; } }
@keyframes ringBreathe { 0%, 100% { transform: scale(1) rotate(0deg); opacity: .5; } 50% { transform: scale(1.14) rotate(8deg); opacity: .85; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes ringFill96 { from { stroke-dashoffset: 282.74; } to { stroke-dashoffset: 11.31; } }
@keyframes ringFill94 { from { stroke-dashoffset: 282.74; } to { stroke-dashoffset: 16.96; } }
@keyframes ringFill90 { from { stroke-dashoffset: 282.74; } to { stroke-dashoffset: 28.27; } }

/* ===== Desktop ===== */
@media (min-width: 1025px) {
  [data-r="asideCard"] { min-height: min(800px, calc(100vh - 110px)) !important; align-content: center; }
}
/* Short viewports (browser zoom) — hero stays exactly 100vh, its content scales to fit */
@media (min-width: 1025px) and (max-height: 900px) {
  [data-r="hero"] { min-height: 100vh !important; max-height: 100vh !important; padding-top: min(3vh, 40px) !important; padding-bottom: min(3vh, 40px) !important; }
  [data-r="asideCard"] { min-height: 0 !important; padding: min(4.4vh, 52px) 30px !important; }
  [data-r="asideCard"] > div:nth-child(1) { font-size: min(3.6vh, 32px) !important; }
  [data-r="asideCard"] > div:nth-child(2) { font-size: min(2.2vh, 19px) !important; margin-top: min(1.2vh, 10px) !important; }
  [data-r="asideCard"] > div:nth-child(3) { width: min(28vh, 278px) !important; height: min(28vh, 278px) !important; margin-top: min(3.4vh, 36px) !important; }
  [data-r="asideCard"] > div:nth-child(3) img { width: min(25.4vh, 252px) !important; height: min(25.4vh, 252px) !important; }
  [data-r="asideCard"] > div:nth-child(4) { margin-top: min(3.4vh, 36px) !important; font-size: min(2.1vh, 18px) !important; line-height: min(3.6vh, 34px) !important; }
  [data-r="asideCard"] > div:nth-child(5) { margin-top: min(3.4vh, 36px) !important; gap: min(1.8vh, 16px) !important; }
  [data-r="asideCard"] > div:nth-child(5) a { width: min(6.4vh, 62px) !important; height: min(6.4vh, 62px) !important; }
  [data-r="asideCta"] { margin-top: min(3.4vh, 36px) !important; height: min(6.4vh, 62px) !important; }
  [data-r="heroRow"] { padding-top: min(2vh, 40px) !important; }
  [data-r="heroWave"] { font-size: min(8vh, 84px) !important; }
  [data-r="heroSub"] { font-size: min(2.9vh, 25px) !important; line-height: 1.55 !important; margin-top: min(4vh, 40px) !important; }
  [data-r="heroLeft"] > div:nth-child(3) { font-size: min(5vh, 48px) !important; margin-top: min(5vh, 72px) !important; }
  [data-r="heroCta"] { margin-top: min(5vh, 72px) !important; height: min(6.6vh, 60px) !important; }
  [data-r="heroRight"] h1 { font-size: min(9.4vh, 88px) !important; }
  [data-r="scrollcue"] { padding-top: min(2.4vh, 24px) !important; }
  [data-r="scrollcue"] span { height: min(4vh, 40px) !important; }
}
/* ===== Narrow desktop / 125–175% browser zoom ===== */
@media (min-width: 1025px) and (max-width: 1500px) {
  [data-r="cols"] { padding-right: clamp(88px, 7vw, 112px) !important; }
  [data-r="asideCard"] { min-height: min(700px, calc(100vh - 110px)) !important; padding: 44px 30px !important; }
  [data-r="statCircle"] { width: 152px !important; height: 152px !important; }
  [data-r="statNum"] { font-size: 40px !important; }
  [data-r="statLabel"] { font-size: 12px !important; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  [data-r="asideCard"] { min-height: min(640px, calc(100vh - 110px)) !important; }
  [data-r="statCircle"] { width: 136px !important; height: 136px !important; }
  [data-r="statNum"] { font-size: 34px !important; }
  [data-r="statLabel"] { font-size: 11px !important; line-height: 16px !important; }
}

/* ===== Tablet portrait and below ===== */
@media (max-width: 1024px) {
  [data-r="hero"] { min-height: auto !important; padding: 32px 28px 0 !important; }
  [data-r="heroRow"] { flex-direction: column !important; align-items: stretch !important; gap: 26px !important; padding-top: 8px !important; }
  [data-r="heroLeft"], [data-r="heroRight"] { flex: 0 0 auto !important; width: 100% !important; max-width: none !important; text-align: left !important; }
  [data-r="heroRight"] { order: -1 !important; text-align: right !important; padding-top: 48px !important; }
  [data-r="heroSpacer"], [data-r="feather"], [data-r="scrollcue"] { display: none !important; }
  [data-r="heroWave"] { font-size: 60px !important; }
  [data-r="heroSub"] { font-size: 21px !important; line-height: 34px !important; margin-top: 26px !important; }
  [data-r="portrait"] { position: relative !important; order: 9 !important; width: 100% !important; height: min(72vw, 520px) !important; margin-top: 24px !important; background-size: auto 100% !important; background-position: 50% 100% !important; }
  [data-r="cols"] { flex-direction: column !important; padding: 40px 28px 0 !important; gap: 44px !important; }
  [data-r="aside"] { position: static !important; flex: 0 0 auto !important; width: 100% !important; min-width: 0 !important; max-width: 560px !important; margin: 0 auto !important; }
  [data-r="main"] { flex: 0 0 auto !important; width: 100% !important; }
  [data-r="sec"] { padding-top: 88px !important; }
  #introduce[data-r="sec"] { padding-top: 8px !important; }
  [data-stack] { top: 20px !important; }
  [data-r="grid3"] { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; }
  [data-r="brandGrid"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  [data-rail-nav] { display: none !important; }
  [data-burger] { display: block !important; }
  [data-r="footer"] { padding: 36px 28px !important; }
}
/* ===== Mobile portrait ===== */
@media (max-width: 700px) {
  [data-r="quoteFig"] { grid-template-columns: minmax(0, 1fr) !important; }
  [data-r="quoteFig"] > blockquote { grid-column: 1 / -1 !important; font-size: 18px !important; line-height: 32px !important; }
}
@media (max-width: 640px) {
  [data-r="hero"] { min-height: 100vh !important; padding: 22px 20px 26px !important; }
  [data-r="heroRow"] { display: flex !important; flex-direction: column !important; justify-content: space-between !important; flex: 1 1 auto !important; min-height: 84vh !important; padding-top: 0 !important; gap: 0 !important; }
  [data-r="heroRight"] { order: -1 !important; padding-top: 54px !important; }
  [data-r="heroRight"] h1 { font-size: min(6.6vw, 30px) !important; line-height: 1.2 !important; }
  [data-r="h1a"], [data-r="h1b"] { display: block !important; }
  [data-r="heroRight"] h1 span > div { display: inline !important; }
  [data-r="portrait"] { position: absolute !important; inset: 0 !important; order: 0 !important; width: auto !important; height: auto !important; margin: 0 !important; background-size: auto 88% !important; background-position: 50% 100% !important; }
  [data-r="feather"] { display: block !important; background-image: linear-gradient(to top, rgba(241,242,235,.94) 0 16%, rgba(241,242,235,.55) 34%, rgba(241,242,235,0) 58%) !important; }
  [data-r="heroLeft"] { text-align: left !important; }
  [data-r="heroWave"] { display: none !important; }
  [data-r="heroSub"] { font-size: 18px !important; line-height: 29px !important; margin-top: 0 !important; }
  [data-r="heroLeft"] > div:nth-child(3) { margin-top: 14px !important; }
  [data-r="heroCta"] { margin-top: 18px !important; width: 100% !important; height: 56px !important; }
  [data-r="asideCta"] { width: 100% !important; height: 56px !important; }
  [data-r="cols"] { padding: 28px 20px 0 !important; }
  [data-r="sec"] { padding-top: 68px !important; }
  [data-r="lead"] { font-size: 23px !important; line-height: 34px !important; margin-top: 26px !important; }
  [data-r="grid3"], [data-r="form"] { grid-template-columns: minmax(0, 1fr) !important; }
  [data-r="brandGrid"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [data-r="brandCell"], [data-r="brandMore"] { min-height: 128px !important; padding: 18px 12px !important; }
  [data-r="stackCard"] { padding: 28px 22px !important; }
  [data-r="statRow"] { flex-wrap: nowrap !important; width: 100% !important; padding-left: 10px !important; }
  [data-r="statCircle"] { flex: 0 0 auto !important; width: calc((100% + 20px) / 3) !important; height: auto !important; aspect-ratio: 1 / 1 !important; margin-left: -10px !important; }
  [data-r="statNum"] { font-size: 28px !important; }
  [data-r="statLabel"] { font-size: 10px !important; line-height: 14px !important; margin-top: 5px !important; padding: 0 8px !important; }
  [data-r="planCard"] { padding: 34px 24px !important; }
  [data-r="planPrice"] { font-size: 52px !important; }
  [data-r="aside"] > div { padding: 32px 22px !important; min-height: 0 !important; }
  [data-r="footer"] { padding: 32px 20px !important; }
  [data-totop] { right: 16px !important; bottom: 16px !important; }
}

/* ==========================================================================
   2. INTERACTIVE STATES
   In the original these were style-hover="" / style-focus="" attributes.
   !important is required: the properties they override are set inline.
   ========================================================================== */

/* Primary call-to-action buttons (hero and sidebar) */
.bcr-cta:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 14px 34px rgba(123,84,211,.42) !important;
  color: #fff !important;
}

/* Sidebar portrait */
.bcr-avatar:hover { transform: scale(1.05) !important; }

/* Plain text links that dim on hover */
.bcr-link:hover { color: #666 !important; }

/* Social buttons */
.bcr-social:hover {
  background: linear-gradient(135deg, #E8628A, #7B54D3) !important;
  background-size: 260% 260% !important;
  animation: gradFlow 14s ease-in-out infinite !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  border-color: transparent !important;
}
.bcr-social-wa:hover {
  background: linear-gradient(135deg, #F5A24B, #E8628A) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  border-color: transparent !important;
}

/* Service cards */
.bcr-service-card:hover { border-color: rgba(123,84,211,.45) !important; }

/* Strength cards */
.bcr-strength-pink:hover {
  border-color: rgba(232,98,138,.5) !important;
  box-shadow: 0 22px 46px rgba(17,17,17,.10) !important;
}
.bcr-strength-purple:hover {
  border-color: rgba(123,84,211,.5) !important;
  box-shadow: 0 22px 46px rgba(17,17,17,.10) !important;
}
.bcr-strength-amber:hover {
  border-color: rgba(245,162,75,.5) !important;
  box-shadow: 0 22px 46px rgba(17,17,17,.10) !important;
}

/* Carousel arrows (sessions and testimonials) */
.bcr-arrow-prev:hover {
  background: linear-gradient(135deg, #E8628A, #7B54D3) !important;
  background-size: 260% 260% !important;
  animation: gradFlow 14s ease-in-out infinite !important;
  color: #fff !important;
  border-color: transparent !important;
}
.bcr-arrow-next:hover {
  background: linear-gradient(135deg, #7B54D3, #F5A24B) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Session cards */
.bcr-shot:hover { box-shadow: 0 24px 48px rgba(123,84,211,.28) !important; }
.bcr-shot-img:hover { transform: scale(1.04) !important; }

/* Program card call-to-action */
.bcr-plan-cta:hover {
  background: linear-gradient(135deg, #F5A24B, #E8628A) !important;
  color: #fff !important;
}

/* Brand wall */
.bcr-brand-cell:hover { background: #F6F7F2 !important; color: #111 !important; }
.bcr-brand-logo:hover { opacity: 1 !important; transform: scale(1.06) !important; }

/* Contact form */
.bcr-ghost-btn:hover { background: #111 !important; color: #fff !important; }
.bcr-field:focus {
  border-bottom-color: #7B54D3 !important;
  box-shadow: 0 1px 0 0 #7B54D3 !important;
}
.bcr-submit:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 18px 40px rgba(123,84,211,.42) !important;
}

/* Footer and mobile menu */
.bcr-footer-link:hover { color: #7B54D3 !important; }
.bcr-menu-link:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }

/* ==========================================================================
   3. THEME PLUMBING
   ========================================================================== */

/* The design sets display on these elements inline, which would otherwise beat
   the [hidden] attribute. Needed for the contact success panel and the inactive
   program tab panels. */
[hidden] { display: none !important; }

/* The hero portrait's WebP swap lives in an @supports block printed by
   bcr_head_styles() in functions.php, because it needs the resolved theme URL.
   Browsers without image-set() keep the JPEG from the inline style. */

/* Screen-reader-only text, plus the skip link that becomes visible on focus. */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #F1F2EB;
  border-radius: 25px;
  box-shadow: 0 0 2px 2px rgba(17,17,17,.15);
  clip-path: none;
  color: #111;
  display: block;
  font-size: 15px;
  font-weight: 500;
  height: auto;
  left: 24px;
  line-height: normal;
  padding: 16px 28px;
  text-decoration: none;
  top: 24px;
  width: auto;
  z-index: 100000;
}

/* Visible keyboard focus. The design has no focus ring of its own, so this adds
   one without touching any painted surface. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #7B54D3;
  outline-offset: 3px;
}

/* Contact form status message */
.bcr-form-error {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 15px;
  line-height: 25px;
  color: #C9531F;
}

/* Honeypot: hidden from people, tempting to bots. */
.bcr-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Respect the visitor's motion preference. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   4. WORDPRESS CORE CLASSES
   Required for a valid theme; used only by the fallback page templates.
   ========================================================================== */

.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; }
.alignfull { max-width: none; }
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13px; line-height: 20px; color: #666; margin: 8px 0 0; text-align: center; }
.gallery-caption { font-size: 13px; line-height: 20px; color: #666; }
.bypostauthor > div,
.sticky > div { display: block; }

/* Minimal typography for the fallback page/404 templates. */
.bcr-basic { max-width: 760px; margin: 0 auto; padding: clamp(80px, 10vw, 160px) clamp(24px, 5vw, 48px); }
.bcr-basic h1, .bcr-basic h2, .bcr-basic h3 { font-family: 'Archivo', 'Neue Haas Grotesk Display', 'DM Sans', sans-serif; font-weight: 500; line-height: 1.2; }
.bcr-basic h1 { font-size: clamp(38px, 5vw, 64px); margin: 0 0 24px; }
.bcr-basic a { text-decoration: underline; text-underline-offset: 3px; }
.bcr-basic img { height: auto; }
