/* =========================================================
   1. Base / Page Container
   ========================================================= */

body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;

  background-color: #fffaf0; /* pale cream / off-white */
  color: #222; /* neutral dark grey text color for contrast */
}


/* =========================================================
   2. Typography & Text Defaults
   ========================================================= */

/* Heading colours (global) */
h1, h2, h3, h4, h5, h6 {
  color: #0274BE;
}

p, li {
  margin: 0 0 0.4em 0;
}

ul {
  padding-left: 2em;
}

blockquote cite {
  white-space: nowrap;
  font-style: italic;
}


/* =========================================================
   3. Layout Helpers & Utilities
   ========================================================= */

.centered-block {
  text-align: center;
}

.block-md {
  margin: 1em 0;
}

.main-body {
  text-align: left;
  margin-top: 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

footer {
  padding-bottom: 2rem;  /* just adds spacing */
}


/* =========================================================
   4. Header / Top Section
   ========================================================= */

/* Center headers inside top-section, but don’t override margins */
.top-section .header-h1,
.top-section .header-h2,
.top-section .header-h3 {
  text-align: center;
  line-height: 1.2;
}

/* Header spacing */
.top-section {
  text-align: center;
  margin: 1em 0;
}

.header-h1 {
  font-size: 1.7rem;
  margin: 0 0 0.8em 0; /* small gap to next line */
  line-height: 1.4;    /* compact but readable */
}

.header-h1 .header-line {
  display: block;       /* forces each line of the two-line h1 onto its own line */
  margin-bottom: 0.5em;
}

.tagline {
  font-size: 1.2rem;
  margin: 0 0 1.2em 0;   /* gap before image */
  line-height: 1.4;
}

.header-image-wrapper {
  max-width: 300px;
  margin: 2em auto 0 auto;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================================================
   5. Social Icons
   ========================================================= */

.social-icons {
  text-align: center;
  margin: 1em 0;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 48px;
  height: 48px;
  margin: 0.3em;
  border-radius: 50%;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
}

/* Brand colours */
.social-email {
  background-color: #EA4335;
}

.social-linkedin {
  background-color: #0A66C2;
}

.social-superprof {
  background-color: #FF6363;
}

.social-icons svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: block;
}


/* =========================================================
   6. Primary Button (Book a Meeting)
   ========================================================= */

.book-meeting-btn {
  display: inline-block;
  background-color: #0072AF;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0.7em 1.1em;
  border-radius: 32px;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.book-meeting-btn:hover {
  background-color: #00A222;
  transform: translateY(-2px);
}

.book-meeting-btn:focus {
  outline: 3px solid #0274BE;
  outline-offset: 2px;
}


/* =========================================================
   7. YouTube Thumbnails
   ========================================================= */

.youtube-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* space between thumbnails */
  justify-content: center;
  margin: 1.5em 0;
}

.thumb-wrapper {
  position: relative;
  width: 40vw; min-width: 120px; max-width: 160px; /* bigger thumbnail width */ 
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden; /* ensures hover effects don't spill */
  transition: transform 0.2s ease, filter 0.2s ease;
}

.thumb-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; /* keep the play button same size */
  height: 28px;
  pointer-events: none;
}

.play-overlay svg {
  width: 100%;
  height: 100%;
}

/* Hover / focus effects */
.thumb-wrapper:hover,
.thumb-wrapper:focus {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.thumb-wrapper:focus {
  outline: 2px solid #FF0000; /* YouTube red */
  outline-offset: 4px;
}


/* =========================================================
   8. Org-style Foldable Sections
   ========================================================= */

/* Reset native summary behaviour */
summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

/* Foldable section container */
details.org-section {
  margin: 0;
  padding: 0;
}

/* Summary headings styling */
summary.org-level-1,
summary.org-level-2,
summary.org-level-3 {
  cursor: pointer;
  font-weight: 700;
  color: #0274BE;
  display: inline-block;
  line-height: 1.3;
  margin: 0;
}

summary.org-level-1 {
  font-size: 1.4rem;  
  margin: 0.9em 0 0.4em 0;
}

summary.org-level-2 {
  font-size: 1.25rem;  
  margin-left: 1em;
  margin-bottom: 0.8em;
}

summary.org-level-3 {
  font-size: 1.1rem;   
  margin-left: 2em;
  margin-bottom: 0.5em;
}

/* Foldable triangles */
summary.org-level-1::after,
summary.org-level-2::after,
summary.org-level-3::after {
  content: "▸";
  display: inline-block;
  vertical-align: middle;
  font-size: 0.8em;
  opacity: 0.45;
  margin-left: 0.5em;
  position: relative;
  top: -0.2em;
}

details[open] > summary.org-level-1::after,
details[open] > summary.org-level-2::after,
details[open] > summary.org-level-3::after {
  content: "▾";
  display: inline-block;
  vertical-align: middle;
  font-size: 0.8em;
  opacity: 0.45;
  position: relative;
  top: -0.2em;
}

/* Section content spacing */
details.org-section > .org-content {
  margin: 0 0 1.2em 0;
}


/* =========================================================
   9. Accessibility
   ========================================================= */

summary:focus {
  outline: 2px solid #0274BE;
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}

summary:focus::after {
  opacity: 1;
}


/* =========================================================
   10. Testimonials
   ========================================================= */

blockquote {
  margin: 1.2em 1.5em;
  padding-left: 1em;
  border-left: 3px solid #ccc;
  color: #333;
}

blockquote {
  margin-bottom: 1em;
}

@media (max-width: 600px) {
  blockquote {
    margin: 1em 1em;
  }
}


/* =========================================================
   11. Tabs
   ========================================================= */

.tabs {
  margin-bottom: 1em;
}

.tabs .tab-btn {
  background: #eee;
  border: none;
  padding: 0.5em 1em;
  margin: 0.1em;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}

.tabs .tab-btn.active {
  background: #0072AF;
  color: white;
  font-weight: bold;
}

.tabs .tab-btn:hover {
  background: #00A222;
  color: white;
}


/* =========================================================
   12. Tables (Timezone & Rates)
   ========================================================= */

/* Timezone table */
.tz-table {
  margin: auto;
  text-align: center;
  margin-bottom: 1em;
  border-collapse: collapse;
  font-size: 1.05em;
}

.tz-table td {
  padding: 0.2em 0.4em;
  vertical-align: top;
}

.tz-days {
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
  padding-right: 0.6em;
}

.tz-times {
  text-align: left;
}

.tz-section td {
  text-align: center;
  padding-top: 0.6em;
  font-style: italic;
}

.time-range {
  white-space: nowrap;
  display: inline-block;
}

/* Rates table */
.rates-table {
  margin: auto;
  text-align: center;
  font-size: 1.1em;
  border-collapse: separate;
  border-spacing: 1.5em 0;
  margin-bottom: 1em;
}

@media (max-width: 600px) {
  .rates-table {
    border-spacing: 0.8em 0;
  }
}

.rates-label {
  text-align: center;
  padding-right: 0.5em;
  font-weight: normal;
}

.rate-amount {
  font-weight: bold;
}

