/* =====================
   RESET & BASE STYLES
   ===================== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
* { box-sizing: border-box; }

/* =====================
   LOGO HEADER
   ===================== */
.logo-header {
  background-color: #007bff; /* Blue background */
  padding: 10px 20px;
}
.header {
  background-color: #007bff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 120px;
}
.logo img {
  height: 100%;
  max-height: 110px;
  object-fit: contain;
}
.quote p {
  color: white;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  text-align: right;
}

/* =====================
   NAVIGATION BAR
   ===================== */
/* ===== NAV: full-width, evenly spread on desktop; scroll on mobile ===== */

/* Desktop / tablet: fill the bar edge-to-edge with equal-width links */
.navbar{
  width:100%;
  background: linear-gradient(to right, #800080, #007bff);

  display:grid;
  grid-auto-flow: column;    /* lay items left→right */
  grid-auto-columns: 1fr;    /* each link gets equal width */
  gap: 0;                    /* no gaps so it truly fills */
  padding: 0;                /* the links provide the height */
}

.navbar a{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 10px;        /* nav height */
  font-weight: 700;
  color:#fff;
  text-decoration:none;
  white-space: nowrap;
}
.navbar a:hover{ text-decoration: underline; }

/* Mobile: switch to a single row that can swipe horizontally */
@media (max-width: 900px){
  .navbar{
    display:flex;            /* swap grid → flex */
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 16px;

    overflow-x: auto;        /* enable horizontal scroll */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .navbar::-webkit-scrollbar{ display:none; }

  .navbar a{
    flex: 0 0 auto;          /* don’t shrink on mobile */
    padding: 10px 8px;
  }
}

/* =====================
   CONTENT / SECTIONS
   ===================== */
.content { padding: 40px 20px; }
.content h1 { font-size: 28px; margin-bottom: 10px; }
.content p { font-size: 18px; }

/* Two-column wrapper */
.main-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  position: relative;
}
.text-content { width: 70%; }

/* Highlight box */
.highlight-box {
  margin-top: 30px;
  padding: 25px;
  background: #e6f4ff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.highlight-box .goals-wrapper {
  clear: both;
  text-align: left;
  margin-top: 12px;
  max-width: 720px;
  column-count: 1;
}
.highlight-box .goals-wrapper p {
  margin: 12px 0;
  line-height: 1.7;
  font-size: 16px;
}

/* Welcome section */
.welcome-section {
  background: linear-gradient(to right, #f5faff, #e0f2ff);
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 20px;
}

/* =====================
   PROFILE CARD
   ===================== */
.profile-section {
  position: relative;
  float: right;
  max-width: 220px;
  text-align: center;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 15px;
  margin: -20px 30px 0 0;
}
.profile-section img {
  width: 100%;
  border-radius: 10px;
}

/* General profile card (new design) */
.profile-card {
  max-width: 380px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  margin: 1rem auto 0;
  text-align: center;
  position: static !important;
  z-index: auto;
}
.profile-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.profile-caption { text-align: center; margin: 10px 0 4px; }
.profile-caption span { color: #000; }

/* =====================
   BANDS / FULL WIDTH
   ===================== */
.band { width: 100%; padding: 32px 16px; }
.band-blue { background: #e3f3ff; }
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: #0d6efd;
  color: #fff;
  padding: 18px 16px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
  align-items: center;
  justify-items: center;
  text-align: center;
  font-size: clamp(14px, 2vw, 18px);
}

/* =====================
   RESPONSIVE RULES
   ===================== */
.two-col, .grid-2, .hero-wrap, #welcome-section, #about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.hero-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .profile-card { justify-self: end; }
}
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .two-col, .grid-2, .hero-wrap, #welcome-section, #about-row {
    grid-template-columns: 1fr;
  }
  .right-col-empty, .decorative-pane { display: none !important; }
  .section, .panel { padding: 16px; }
  h1 { font-size: clamp(24px, 6vw, 34px); line-height: 1.2; }
  h2 { font-size: clamp(20px, 5vw, 28px); }
  .profile-card { margin-top: 0; }
  .col, .left, .right { float: none; width: 100%; }
}
/* --- Mobile fixes for main layout & profile card --- */
@media (max-width: 768px){
  /* Stack the left/right content cleanly */
  .main-container{
    flex-direction: column;     /* instead of side-by-side */
    padding: 20px;              /* a bit tighter on mobile */
  }
  .text-content{ width:100%; }

  /* Stop the small profile box from floating/overlapping */
  .profile-section{
    float:none;
    margin:16px auto 0;         /* center it */
    max-width:320px;            /* nicer size on phones */
  }
}

/* If any page uses <ul><li> inside the navbar, this keeps your nav rules working */
.navbar ul{ display: contents; }
.navbar li{ display: contents; }

/* Optional niceties */
.navbar{ scroll-snap-type: x proximity; }
.navbar a{ scroll-snap-align: start; }
/* Keep header/nav visible when scrolling content */
.header, .navbar{ position: sticky; top: 0; z-index: 1000; }
