/* =====================================================================
   Osmani Karate Club - theme (logo primary colour)
   Loaded AFTER style.css, so it replaces the old blue / crimson colours.
   ===================================================================== */
:root{
  --clr-primary:   #27225e;   /* logo navy - the main brand colour */
  --clr-secondary: #3a3390;   /* lighter tint of the same navy (gradients only) */
  --clr-dark:      #15123d;
  --clr-soft:      #e8e6f8;   /* light lavender - menu hover shape */
  --clr-soft-2:    #d6d2f2;   /* slightly deeper lavender - active menu shape */
  --clr-hover:     #f4f3fc;   /* menu hover shape - very light lavender */
  --clr-active:    #e9e7f8;   /* active menu shape - light lavender */
  --osm-radius:    14px;
  --osm-font:      'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
body.osm-body{ font-family: var(--osm-font); color:#2b2b3d; background:#fff; }
a{ color: var(--clr-primary); }
a:hover{ color: var(--clr-secondary); }

/* ---- Buttons (the old login-button gradient is now primary navy) ---- */
.btn-brand-login{
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  color:#fff; border:0; border-radius:50px; padding:.6rem 1.4rem; font-weight:600;
  box-shadow:0 8px 20px rgba(39,34,94,.25); transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-brand-login:hover, .btn-brand-login:focus{
  color:#fff; transform:translateY(-2px); filter:brightness(1.12);
  box-shadow:0 12px 26px rgba(39,34,94,.32);
}
.section-title span{ color: var(--clr-primary); }

/* ============ TOP BAR ============ */
.osm-topbar{ background: var(--clr-dark); color:#d9d8ee; font-size:.82rem; }
.osm-topbar-inner{ display:flex; align-items:center; justify-content:center; gap:2.4rem; min-height:44px; }  /* all top-bar items centered */
.osm-topbar-contact{ display:flex; align-items:center; }
.osm-topbar-right{ display:flex; align-items:center; }
.osm-top-mail span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.osm-top-item{ white-space:nowrap; }
.osm-top-wa i{ color:#4ade80; font-size:1rem; }
.osm-top-wa:hover i{ color:#86efac; }

/* "Admission Going On" - blinking highlighted badge */
.osm-admission{
  position:relative; display:inline-flex; align-items:center; gap:.55rem; padding:.3rem 1rem; border-radius:50px;
  background:#fff; color:var(--clr-primary); font-weight:800; font-size:.8rem; letter-spacing:.05em; text-transform:uppercase;
  text-decoration:none; white-space:nowrap; border:2px solid #ffd23f;
  animation:osmFlash 1.1s ease-in-out infinite;
}
.osm-admission i{ font-size:.7rem; animation:osmNudge 1s ease-in-out infinite; }
.osm-admission:hover{ color:var(--clr-primary); }
.osm-admission-dot{ width:9px; height:9px; border-radius:50%; background:#e11d48; animation:osmBlink .8s steps(2,start) infinite; }
@keyframes osmBlink{ to{ visibility:hidden; } }
@keyframes osmNudge{ 50%{ transform:translateX(4px); } }
/* colour flash white <-> gold + glowing ring: clearly visible on the navy bar (desktop and mobile) */
@keyframes osmFlash{
  0%,100%{ background:#fff;    box-shadow:0 0 0 0 rgba(255,210,63,.75); }
  50%    { background:#ffd23f; box-shadow:0 0 0 7px rgba(255,210,63,0); }
}
/* "reduce motion" phones: keep the colour flash (it is the highlight), drop only the sliding arrow */
@media (prefers-reduced-motion: reduce){
  .osm-admission i{ animation:none; }
  .osm-admission{ animation-duration:2s; }
}
/* ---- Mobile / tablet top bar: stays fixed while scrolling (whole header is sticky) ---- */
@media (max-width: 991.98px){
  .osm-topbar-inner{ flex-wrap:wrap; justify-content:center; text-align:center; min-height:0; padding-top:.4rem; padding-bottom:.45rem; gap:.3rem .75rem; }
  /* line 2: both phone numbers + email */
  .osm-topbar-contact{ order:2; width:100%; justify-content:center; flex-wrap:wrap; gap:.15rem .9rem; font-size:.7rem; min-width:0; }
  .osm-top-item{ margin-right:0; font-size:.7rem; }
  .osm-top-item i{ margin-right:.3rem; font-size:.7rem; }
  .osm-top-mail{ min-width:0; display:inline-flex; align-items:center; }
  /* line 1 (very top): Follow Us icons */
  .osm-topbar-right{ order:1; width:100%; justify-content:center; }
  .osm-top-follow{ display:inline; font-size:.7rem; margin-right:.5rem; }
  .osm-topbar-right .osm-social{ width:26px; height:26px; font-size:.7rem; margin:0 .15rem; }
  /* line 3: Admission Going On badge */
  .osm-admission{ order:3; font-size:.7rem; padding:.22rem .8rem; }
}
.osm-top-item{ color:#d9d8ee; text-decoration:none; margin-right:1.4rem; transition:color .2s; }
.osm-top-item i{ margin-right:.45rem; font-size:.78rem; opacity:.85; }
.osm-top-item:hover{ color:#fff; }
.osm-top-follow{ margin-right:.7rem; font-weight:500; letter-spacing:.04em; opacity:.85; }
.osm-social{
  display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; margin-left:.35rem;
  border-radius:50%; background:rgba(255,255,255,.12); color:#fff; text-decoration:none; font-size:.8rem;
  transition:background .25s, color .25s, transform .25s;
}
.osm-social:hover{ background:#fff; color:var(--clr-primary); transform:translateY(-2px); }

/* ============ NAVBAR ============ */
.osm-navbar{
  background:#fff;
  padding:.55rem 0; border-bottom:1px solid rgba(39,34,94,.08); transition:box-shadow .3s, padding .3s;
}
.osm-header{ z-index:1030; }
.osm-header.is-scrolled{ box-shadow:0 10px 30px rgba(21,18,61,.14); }
.osm-header.is-scrolled .osm-navbar{ padding:.3rem 0; }
.osm-brand{ display:flex; align-items:center; gap:.7rem; text-decoration:none; padding:0; margin-right:1rem; }
.osm-brand-logo{ height:56px; width:auto; transition:height .3s; }
.osm-header.is-scrolled .osm-brand-logo{ height:46px; }
.osm-brand-text{ display:flex; flex-direction:column; align-items:center; text-align:center; line-height:1.15; }
.osm-brand-text strong{ font-family:'Playfair Display', Georgia, serif; font-size:1.55rem; font-weight:800; color:var(--clr-primary); letter-spacing:.005em; line-height:1.05; }
.osm-brand-text small{ font-size:.66rem; color:#6b6b85; letter-spacing:.14em; text-transform:uppercase; font-weight:600; margin-top:.2rem; }

.osm-nav .nav-link{
  position:relative; color:var(--clr-primary); font-weight:600; font-size:.9rem; padding:.55rem .75rem !important;
  border-radius:50px; transition:color .25s, background .25s; white-space:nowrap;
}
.osm-nav .nav-link i{ margin-right:.4rem; font-size:.8rem; color:var(--clr-primary); opacity:.85; transition:color .25s; }
.osm-nav .nav-link:hover, .osm-nav .nav-link.show{ background:var(--clr-hover); color:var(--clr-primary); }
.osm-nav .nav-link.active{ background:var(--clr-active); color:var(--clr-primary); }
.osm-nav .nav-link.active i{ color:var(--clr-primary); opacity:1; }
@media (min-width:1200px){
  .osm-nav{ flex-wrap:nowrap; gap:.2rem; }                         /* a little gap between menu items */
  .osm-nav .nav-link i{ display:inline-block; font-size:.78rem; margin-right:.3rem; }   /* icons visible on desktop */
  .osm-nav .nav-link{ font-size:.82rem; padding:.45rem .55rem !important; }
  .osm-brand-text strong{ font-size:1.32rem; }
  /* header uses more of the screen width so the menu items can breathe */
  .osm-topbar > .container, .osm-navbar > .container{ max-width:1480px; padding-left:1.5rem; padding-right:1.5rem; }
}
@media (min-width:1280px){
  .osm-nav{ gap:.3rem; }
  .osm-nav .nav-link{ padding:.5rem .7rem !important; }
}
@media (min-width:1400px){
  .osm-nav{ gap:.4rem; }
  .osm-nav .nav-link{ font-size:.9rem; padding:.55rem .9rem !important; }
  .osm-brand-text strong{ font-size:1.55rem; }
}
@media (min-width:1600px){
  .osm-nav{ gap:.55rem; }
  .osm-nav .nav-link{ padding:.55rem 1rem !important; }
}
.osm-nav .dropdown-toggle::after{ margin-left:.4rem; vertical-align:.12em; }
.osm-dropdown{
  border:0; border-radius:var(--osm-radius); padding:.5rem; margin-top:.6rem !important;
  box-shadow:0 18px 40px rgba(21,18,61,.18); min-width:210px;
}
.osm-dropdown .dropdown-item{ border-radius:10px; padding:.55rem .8rem; font-size:.9rem; font-weight:500; color:var(--clr-primary); }
.osm-dropdown .dropdown-item i{ width:1.4rem; color:var(--clr-primary); }
.osm-dropdown .dropdown-item:hover, .osm-dropdown .dropdown-item:focus{ background:var(--clr-hover); color:var(--clr-primary); }
.osm-dropdown .dropdown-item:hover i{ color:var(--clr-primary); }
.osm-auth{
  display:inline-flex; align-items:center; justify-content:center; gap:.45rem; white-space:nowrap;
  padding:.55rem 1.1rem; border-radius:50px; font-size:.88rem; font-weight:600; color:#fff;
  background:linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  box-shadow:0 8px 20px rgba(39,34,94,.25);
}
.osm-auth i{ font-size:.85rem; }
.osm-auth{ border:2px solid transparent; transition:background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s; }
.osm-auth a, .osm-auth a:hover, .osm-auth a:focus{ color:inherit; text-decoration:none !important; }
.osm-auth:hover, .osm-auth:focus-within{
  background:#fff; color:var(--clr-primary); border-color:var(--clr-primary);
  box-shadow:0 10px 24px rgba(39,34,94,.28); transform:translateY(-2px);
}
.osm-auth-sep{ opacity:.6; }
.osm-toggler{ border:0; color:var(--clr-primary); font-size:1.6rem; padding:.25rem .5rem; box-shadow:none !important; line-height:1; }

/* Mobile menu (off-canvas) */
.osm-offcanvas{ background:#fff; width:min(320px, 86vw); }
.osm-oc-title{ color:var(--clr-primary); font-family:'Playfair Display', Georgia, serif; }
.osm-oc-logo{ height:42px; width:auto; }
.osm-offcanvas .offcanvas-header{ border-bottom:1px solid var(--clr-soft); }
.osm-oc-contact{ margin-top:1.6rem; padding-top:1.2rem; border-top:1px solid var(--clr-soft); display:flex; flex-direction:column; gap:.6rem; }
.osm-oc-contact a{ color:var(--clr-primary); text-decoration:none; font-size:.88rem; }
.osm-oc-contact i{ width:1.5rem; color:var(--clr-primary); }
.osm-oc-contact .fa-whatsapp{ color:#16a34a; font-size:1.05rem; }
.osm-oc-social{ display:flex; gap:.5rem; margin-top:.5rem; }
.osm-oc-social a{ width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:var(--clr-soft); }
.osm-oc-social a i{ width:auto; }
.osm-oc-social a:hover{ background:var(--clr-primary); }
.osm-oc-social a:hover i{ color:#fff; }
@media (max-width: 1199.98px){
  .osm-nav .nav-link{ color:var(--clr-primary); padding:.75rem 1rem .75rem 1.8rem !important; border-radius:12px; }  /* nudged slightly in from the left */
  .osm-nav .nav-link i{ color:var(--clr-primary); }
  .osm-nav .nav-link:hover, .osm-nav .nav-link.show{ background:var(--clr-hover); color:var(--clr-primary); }
  .osm-nav .nav-link.active{ background:var(--clr-active); color:var(--clr-primary); }
  .osm-nav .nav-link.active i{ color:var(--clr-primary); }
  .osm-dropdown{ background:#f7f6fd; box-shadow:none; margin:.2rem 0 .4rem !important; }
  .osm-dropdown .dropdown-item{ color:var(--clr-primary); padding-left:2.7rem; }
  .osm-dropdown .dropdown-item i{ color:var(--clr-primary); }
  .osm-auth{ display:flex; width:100%; box-shadow:none; padding:.75rem 1rem; }
  .osm-brand-logo{ height:46px; }
  .osm-brand-text strong{ font-size:1.2rem; font-weight:800; }
  .osm-brand-text small{ font-size:.6rem; display:block; }
  .osm-brand{ min-width:0; }
  .osm-oc-contact{ padding-left:.8rem; }
}

/* ============ FOOTER ============ */
.osm-footer{ margin-top:0; color:#d6d5ec; font-size:.92rem; }
.osm-footer-main{
  position:relative; padding:4.2rem 0 3rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.07), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,.05), transparent 40%),
    linear-gradient(160deg, var(--clr-primary), var(--clr-dark));
}
.osm-footer-main::before{ content:""; position:absolute; left:0; right:0; top:0; height:4px; background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
.osm-footer-brand{ display:flex; align-items:center; gap:.9rem; text-decoration:none; color:#fff; margin-bottom:1.1rem; }
.osm-footer-brand img{ height:78px; width:auto; }
.osm-footer-brand strong{ display:block; font-family:'Playfair Display', Georgia, serif; font-size:1.35rem; line-height:1.2; color:#fff; }
.osm-footer-brand small{ display:block; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; opacity:.75; margin-top:.2rem; }
.osm-footer-about{ color:#c9c8e4; line-height:1.75; max-width:380px; }
.osm-footer-social{ display:flex; gap:.5rem; margin-top:1.2rem; }
.osm-footer-social .osm-social{ margin-left:0; width:40px; height:40px; font-size:.95rem; }
.osm-footer-title{ position:relative; color:#fff; font-weight:600; letter-spacing:.04em; text-transform:uppercase; font-size:.85rem; margin-bottom:1.3rem; padding-bottom:.7rem; }
.osm-footer-title::after{ content:""; position:absolute; left:0; bottom:0; width:34px; height:3px; border-radius:3px; background:#fff; opacity:.85; }
.osm-footer-links, .osm-footer-contact{ list-style:none; margin:0; padding:0; }
.osm-footer-links li{ margin-bottom:.65rem; }
.osm-footer-links a{ color:#d6d5ec; text-decoration:none; display:inline-block; transition:color .2s, transform .2s; }
.osm-footer-links a::before{ content:"\203A"; margin-right:.5rem; opacity:.7; }
.osm-footer-links a:hover{ color:#fff; transform:translateX(4px); }
.osm-footer-contact li{ display:flex; gap:.9rem; margin-bottom:1rem; line-height:1.55; }
.osm-footer-contact .fa-whatsapp{ color:#4ade80; font-size:1.1rem; }
.osm-footer-contact i{
  flex:0 0 38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(255,255,255,.12); color:#fff; font-size:.85rem;
}
.osm-footer-contact a{ color:#d6d5ec; text-decoration:none; }
.osm-footer-contact a:hover{ color:#fff; }
.osm-footer-bottom{ background:#0f0d2e; padding:1rem 0; font-size:.84rem; color:#a9a8c9; }
.osm-footer-bottom a{ color:#fff; font-weight:600; text-decoration:none; }
.osm-footer-bottom a:hover{ text-decoration:underline; }

/* Back to top */
.osm-to-top{
  position:fixed; right:20px; bottom:20px; width:46px; height:46px; border:0; border-radius:50%;
  background:linear-gradient(135deg, var(--clr-primary), var(--clr-secondary)); color:#fff; font-size:1rem;
  box-shadow:0 10px 24px rgba(39,34,94,.35); opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .3s, transform .3s, visibility .3s; z-index:1040;
}
.osm-to-top.show{ opacity:1; visibility:visible; transform:none; }
.osm-to-top:hover{ filter:brightness(1.15); }

/* Very small phones: keep the title and the "BANGLADESH กค ESTD-2013" line, only scale them a little */
@media (max-width: 380px){
  .osm-brand-logo{ height:40px; }
  .osm-brand-text strong{ font-size:1.05rem; }
  .osm-brand-text small{ font-size:.54rem; letter-spacing:.1em; }
}