/* =========================================================
   B CUBE PHARMACY ACADEMY - CUSTOM STYLESHEET
   ========================================================= */

:root {
  --primary: #0E8388;
  --primary-dark: #0B5F6C;
  --secondary: #FF6B35;
  --secondary-dark: #E85826;
  --accent: #14B8A6;
  --dark: #12232E;
  --light-bg: #F4FAF9;
  --white: #ffffff;
  --gray-text: #5B6B70;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(11, 95, 108, 0.12);
  --shadow-strong: 0 20px 45px rgba(11, 95, 108, 0.2);
  --transition: all 0.35s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand, .btn {
  font-family: var(--font-display);
}

a { text-decoration: none; color: inherit; }

section { position: relative; }

.section-pad { padding: 90px 0; }

@media (max-width: 767px) {
  .section-pad { padding: 55px 0;overflow-x: hidden; }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  display: inline-block;
}

.section-title {
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.25;
}

.section-text {
  color: var(--gray-text);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Buttons */
#enu-st {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 22px rgba(255, 107, 53, 0.35);
  transition: var(--transition);
  display:block;
  width:100%;
}
.btn-cta:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(255, 107, 53, 0.45);
}

.btn-outline-light {
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 26px;
}

.btn-call {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-call:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }

.btn-whatsapp-outline {
  border: 2px solid #25D366;
  color: #128C4A;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-whatsapp-outline:hover { background: #25D366; color: var(--white); }

/* =========================
   TOP BAR
========================= */
.top-bar {
  background: var(--primary-dark);
  color: #dff3f3;
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar-left span { margin-right: 22px; }
.top-bar-left i, .top-bar-right i { color: var(--secondary); margin-right: 5px; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-right a { color: #dff3f3; transition: var(--transition); }
.top-bar-right a:hover { color: var(--secondary); }
.top-social a {
  margin-left: 12px;
  color: #dff3f3;
}
.top-social a:hover { color: var(--secondary); }

/* =========================
   HEADER
========================= */
.site-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 18px rgba(11,95,108,0.08);
  z-index: 1050;
}
.navbar { padding: 12px 0; }
.nav-link {
  font-weight: 600;
  color: var(--dark) !important;
  position: relative;
  margin: 0 6px;
  transition: var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary) !important; }
.nav-link:hover::after { width: 100%; }

/* =========================
   HERO CAROUSEL
========================= */
.hero-section { margin-top: -1px; }
.hero-section .carousel-item img {
  height: 92vh;
  min-height: 520px;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,35,46,0.82) 10%, rgba(11,35,46,0.45) 55%, rgba(11,35,46,0.15) 100%);
}
.hero-caption {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--white);
}
.hero-eyebrow {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease both;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  max-width: 720px;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s ease 0.1s both;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  max-width: 560px;
  font-size: 1.08rem;
  color: #e9f3f2;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s both;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 1.1s ease 0.3s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--secondary);
}

@media (max-width: 767px) {
  .hero-title { font-size: 2.1rem; }
  .hero-section .carousel-item img { height: 78vh; }
}

/* =========================
   AMBULANCE ROAD ANIMATION
========================= */
.ambulance-road {
  position: relative;
  width: 100%;
  height: 70px;
  background: repeating-linear-gradient(
      180deg,
      #3a3f42 0px, #3a3f42 4px,
      #34383b 4px, #34383b 70px
  );
  overflow: hidden;
  border-top: 4px solid var(--secondary);
  border-bottom: 4px solid var(--secondary);
}
.road-lane {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 6px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 80px);
  animation: laneMove 2.2s linear infinite;
  opacity: 0.85;
}
@keyframes laneMove {
  from { transform: translateY(-50%) translateX(0); }
  to { transform: translateY(-50%) translateX(-80px); }
}
.ambulance-svg {
  position: absolute;
  bottom: 4px;
  width: 130px;
  height: auto;
  left: -160px;
  animation: driveAcross 9s linear infinite;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.35));
}
.ambulance-road-2 .ambulance-svg { animation-duration: 11s; animation-delay: 1.5s; }
@keyframes driveAcross {
  0% { left: -160px; }
  100% { left: 105%; }
}
.amb-light { animation: blink 0.5s steps(1) infinite; }
.amb-light-2 { animation-delay: 0.25s; }
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
  .ambulance-svg, .road-lane, .amb-light { animation: none; }
}

/* =========================
   ABOUT SECTION
========================= */
.about-section { background: var(--white); }
.about-img-wrap { position: relative; }
.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  width: 100%;
}
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -18px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-strong);
}
.about-badge i { font-size: 1.8rem; color: var(--secondary); }
.about-badge strong { display: block; font-size: 1.05rem; }
.about-badge span { font-size: 0.78rem; opacity: 0.9; }

.about-points { list-style: none; padding: 0; margin: 22px 0; }
.about-points li {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--dark);
}
.about-points i { color: var(--accent); margin-right: 10px; }

@media (max-width: 767px) {
  .about-badge { position: static; margin-top: 30px; margin-left: 16px; width: fit-content; }
}

/* =========================
   SERVICES / COURSES
========================= */
.services-section { background: var(--light-bg); }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(11,95,108,0.06);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}
.service-img { overflow: hidden; height: 344px; }
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-body { padding: 24px; }
.service-title { font-size: 1.25rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.service-text { color: var(--gray-text); font-size: 0.92rem; margin-bottom: 18px; min-height: 66px; }

/* =========================
   REGISTRATION (CALL ONLY)
========================= */
.register-section {
  padding: 70px 0;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, var(--accent));
  position: relative;
}
.register-box {
  text-align: center;
  color: var(--white);
  max-width: 780px;
  margin: 0 auto;
}
.register-icon {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 2rem;
  color: var(--white);
  animation: ringPulse 1.8s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); }
  50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}
.register-title { font-weight: 800; font-size: 2rem; margin-bottom: 14px; }
.register-text { color: #e6f6f5; margin-bottom: 26px; font-size: 1.02rem; }
.register-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 8px;
}
.reg-number {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.reg-number:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-3px); }

/* =========================
   WHY CHOOSE US
========================= */
.why-section { background: var(--white); }
.why-card {
  background: var(--white);
  border: 1px solid rgba(11,95,108,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-strong);
}
.why-icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
}
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.why-card p { color: var(--gray-text); font-size: 0.92rem; margin: 0; }

/* =========================
   COUNTER SECTION
========================= */
.counter-section {
  background: linear-gradient(120deg, var(--dark), var(--primary-dark));
  padding: 60px 0;
}
.counter-item i { font-size: 2rem; color: var(--secondary); margin-bottom: 10px; display: inline-block; }
.counter-item h3 { color: var(--white); font-weight: 800; font-size: 2.4rem; margin-bottom: 4px; }
.counter-item p { color: #b9d6d4; margin: 0; font-weight: 500; }

/* =========================
   HOW IT WORKS
========================= */
.how-section { background: var(--light-bg); }
.how-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.how-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.how-num {
  position: absolute;
  top: 14px; right: 18px;
  font-weight: 800;
  font-size: 1.6rem;
  color: rgba(11,95,108,0.1);
}
.how-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 16px;
  display: inline-block;
}
.how-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.how-card p { color: var(--gray-text); font-size: 0.9rem; margin: 0; }

/* =========================
   GALLERY
========================= */
.gallery-section { background: var(--white); }
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(11,95,108,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay i { color: var(--white); font-size: 1.6rem; }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =========================
   TESTIMONIALS
========================= */
.testimonial-section { background: var(--light-bg); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 700px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.quote-icon { font-size: 2.2rem; color: var(--secondary); margin-bottom: 12px; }
.testimonial-text { font-size: 1.08rem; color: var(--dark); font-style: italic; margin-bottom: 22px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.testimonial-author strong { display: block; color: var(--primary-dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--gray-text); }
.testimonial-indicators { position: static; margin-top: 24px; }
.testimonial-indicators [data-bs-target] { background: var(--primary); width: 9px; height: 9px; border-radius: 50%; }

/* =========================
   FAQ
========================= */
.faq-section { background: var(--white); }
.accordion-item { border: none; margin-bottom: 14px; border-radius: var(--radius-md) !important; overflow: hidden; box-shadow: var(--shadow-soft); }
.accordion-button {
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--white);
}
.accordion-button:not(.collapsed) {
  color: var(--white);
  background: var(--primary);
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { filter: none; }

/* =========================
   CONTACT
========================= */
.contact-section { background: var(--light-bg); }
.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border-top: 4px solid var(--secondary);
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.branch-card i { font-size: 1.6rem; color: var(--primary); margin-bottom: 12px; display: inline-block; }
.branch-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.branch-card p { color: var(--gray-text); font-size: 0.9rem; margin: 0; }

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  height: 100%;
}
.contact-info-card h3 { font-weight: 700; margin-bottom: 20px; }
.contact-info-card p { margin-bottom: 14px; font-size: 0.98rem; }
.contact-info-card i { color: var(--secondary); margin-right: 10px; }
.contact-info-card a { color: var(--white); transition: var(--transition); }
.contact-info-card a:hover { color: var(--secondary); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  box-shadow: var(--shadow-soft);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--dark);
  color: #b7c6c9;
  padding: 60px 0 20px;
}
.site-footer h4 { color: var(--white); font-weight: 700; margin-bottom: 18px; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { color: #b7c6c9; transition: var(--transition); }
.site-footer ul li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-branches li i { color: var(--secondary); margin-right: 8px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--white);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.site-footer hr { border-color: rgba(255,255,255,0.12); margin: 30px 0 18px; }
.footer-bottom { font-size: 0.85rem; }
.footer-bottom i { color: var(--secondary); }
.footer-logo { filter: brightness(0) invert(1); opacity: 0.92; }

/* =========================
   FLOATING ICONS
========================= */
.floating-icons {
  position: fixed;
  bottom: 26px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1080;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: var(--transition);
}
.cu-lg-wdth{
	width:270px;
}
.float-btn:hover { transform: scale(1.1); color: var(--white); }
.whatsapp-btn { background: #25D366; animation: floatPulse 2.4s ease-in-out infinite; }
.call-btn { background: var(--secondary); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 8px 28px rgba(37,211,102,0.65); }
}

@media (max-width: 575px) {
  .float-btn { width: 48px; height: 48px; font-size: 1.25rem; }
}

/* =========================
   SCROLL REVEAL ANIMATIONS
========================= */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view {
  opacity: 1;
  transform: translate(0,0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
.contact-form {
    background: var(--cream);
    padding: 34px;
    border-radius:20px;;
    box-shadow: var(--shadow-soft);
}
@media(max-width:767px)
{
	.cu-ds-nn{
		display:none!important
	}
}
@media(max-width:374px)
{
	.cu-lg-wdth {
    width: 222px;
}
}