/* ===== Additions on top of deploy-68 (do not change original theme) ===== */

/* Hire Me button in nav (replaces brian.jpeg logo image) */
.nav-container .logo img,
.nav-container .logo picture { display: none !important; }
.nav-hire {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #04231a !important;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  margin-left: 8px;
}
.nav-hire:hover { background: #2fe073; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.45); }
.nav-hire i { font-size: 16px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 28px; box-shadow: 0 12px 32px rgba(37,211,102,.45);
  animation: waPulse 2.6s infinite; transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  50% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
}

/* ===== Sticky navigation (always visible, never hides on scroll) ===== */
.nav-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  visibility: visible !important;
  transform: none !important;
  opacity: 1 !important;
}
/* override the hide-on-scroll behavior from the React scroll hook */
.nav-container.hidden,
.nav-container.shadow.hidden {
  visibility: visible !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
}
.nav-container.shadow {
  background: #1f2235 !important;
  box-shadow: 0 2px 14px rgba(0,0,0,.35) !important;
}
@media (max-width: 768px) {
  .nav-container { padding-left: 12px !important; padding-right: 12px !important; }
}

/* ===== Minimize top whitespace ===== */
.hero-container, .home-container { padding-top: 70px !important; margin-top: 0 !important; }
.content-container { padding-top: 10px !important; }
@media (max-width: 768px) {
  .hero-container, .home-container { padding-top: 60px !important; }
}
/* tighten the About + section top padding a bit */
.about, .experiences, .achievements-container, .services-container { padding-top: 20px !important; }

/* ===== About section layout fixes ===== */
/* keep the portrait inside its column so it never overlaps the "Hi There" text */
.about .about-img { overflow: hidden; }
.about .about-img img { max-width: 100% !important; width: auto !important; height: auto !important; max-height: 520px; display: block; margin: 0 auto; }
/* the About Brian heading + paragraph were pushed too far down (pt-5 + mt-5 stack) */
.about .common { padding-top: 10px !important; }
.about .mainHeader { margin-top: 10px !important; }
/* align the portrait and the info column to the top so their headings line up */
.about .row.alignCenter { align-items: flex-start !important; }

/* ===== Fix hero: text was pushed to bottom + image too tall ===== */
body .main-container .home-container,
.home-container {
  min-height: 100vh;
  height: auto !important;
  align-items: center !important;
  padding-top: 90px !important;
  padding-bottom: 40px;
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
  background-position: center !important;
  background-color: #1f2235 !important;
  background: #1f2235 !important;
}
.content-container {
  height: auto !important;
  justify-content: center !important;
  padding-top: 0 !important;
  margin-left: 20px !important;
}
.svg-container {
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-height: 70vh;
  overflow: hidden;
}
.svg-container .svg {
  width: 100% !important;
  max-width: 560px;
  height: auto !important;
  max-height: 65vh;
  object-fit: contain;
}
.main-content { font-size: 2.3rem !important; }
@media (max-width: 768px) {
  .home-container { min-height: auto; padding-top: 80px !important; flex-direction: column !important; text-align: center; }
  .content-container { margin-left: 0 !important; width: 100% !important; }
  .main-content { font-size: 1.7rem !important; }
  .svg-container { max-height: 45vh; margin: 10px 0 0 0 !important; }
  .svg-container .svg { max-height: 42vh; max-width: 320px; }
  .button-group { justify-content: center; }
}

/* Beannsoft card */
.beann-card {
  background: #1f2235; border: 1px solid #2c3049; border-radius: 16px;
  padding: 22px 24px; margin: 18px 0; color: #cfd6ea; text-align: left;
}
.beann-card h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.beann-card .beann-org { color: #ff4a57; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.beann-card .beann-desc { color: #aab4d0; line-height: 1.65; margin-bottom: 12px; }
.beann-card .beann-desc b { color: #fff; }
.beann-exp-wrap { max-width: 820px; width: 100%; margin: 10px auto 0; }

.beann-list { list-style: none; padding: 0; margin: 0 0 14px 0; }
.beann-list li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  color: #aab4d0; line-height: 1.6; font-size: 14.5px;
}
.beann-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: #ff4a57;
}
.beann-list li b { color: #fff; }

.beann-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.beann-tags span {
  background: #262a42; border: 1px solid #33385a; color: #9aa4c2;
  font-size: 12px; padding: 4px 10px; border-radius: 8px;
}
.beann-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.beann-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,196,0,.12); border: 1px solid rgba(255,196,0,.4);
  color: #ffd54d; font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 10px;
}
.beann-badge i { color: #ffd54d; }

/* Video block (no download) */
.beann-video {
  border-radius: 14px; overflow: hidden; border: 1px solid #2c3049;
  background: #000; margin-top: 8px;
}
.beann-video video { width: 100%; max-height: 400px; display: block; background: #000; }
.ach-video-wrap { max-width: 820px; margin: 0 auto 24px; }
/* wrapper holding the injected achievement cards */
.ach-inject { display: flex; flex-direction: column; gap: 16px; margin: 0 auto 24px; max-width: 820px; width: calc(100% - 30px); }
@media (max-width: 768px) { .ach-inject { width: calc(100% - 20px); } }

/* Read-full-story link */
.beann-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; color: #ff4a57; font-weight: 700; font-size: 14.5px;
  text-decoration: none !important; border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.beann-link:hover { color: #ff6f7c; border-bottom-color: #ff6f7c; }
.beann-link i { font-size: 13px; }

/* Extra services */
.extra-service { margin-top: 8px; }

/* ===== Speed up AOS reveal so content never pops in late ===== */
[data-aos] { transition-duration: .35s !important; transition-delay: 0s !important; }

/* ===== Services: 4 per row + smaller cards to save space ===== */
@media (min-width: 768px) {
  /* counter the tablet rule that stacked the row into a column */
  .row.serviceRow { flex-direction: row !important; }
  .serviceRow .singleService {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    margin: 12px 0 !important;
  }
}
/* shrink the cards (override the 2rem base padding) */
.serviceRow .singleService { padding: 1rem 0.9rem !important; }
.serviceRow .singleService i { font-size: 1.8rem; }
.serviceRow .singleService h4 { font-size: 0.95rem; margin: 0.35rem 0 0.2rem; }
.serviceRow .singleService p { font-size: 0.8rem; line-height: 1.4; margin: 0; }

/* Responsive polish */
.main-container { padding-bottom: 40px; }
@media (max-width: 768px) {
  .nav-container { padding: 0 12px; }
  .nav-hire { padding: 8px 13px; font-size: 13px; }
  .beann-card { padding: 16px 16px; }
  .beann-badge { font-size: 13px; padding: 7px 11px; }
  .beann-list li { font-size: 14px; }
  .beann-video video { max-height: 240px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; font-size: 25px; }
}
