/*
Theme Name: Understrap Child
Theme URI: https://geekmerit.com/
Description: Child theme for the Understrap WordPress theme.
Author: GeekMerit
Author URI: https://geekmerit.com/
Template: understrap
Version: 1.0.0
Text Domain: understrap-child
*/

/*
--------------------------------------------------------------
GeekMerit custom styles
--------------------------------------------------------------
*/

/* Add your custom CSS below this line. */

Content Page Creation
OnPage Factors
Link Building - DO this alone as part of MVP. Once MVP Completes we can touch all other tasks

Outreach App Using Github Copilot Speckit

/***************************************************
  GLOBAL LINK COLOR OVERRIDE
  (Default blue, hover dark green)
***************************************************/
a,
a:visited {
  color: #0073e6 !important;
  text-decoration: none !important;
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus,
a:active {
  color: #006400 !important;
  text-decoration: underline !important;
}


/***************************************************
  BASE TYPOGRAPHY & TEXT STYLE
***************************************************/
body,
.article-wrapper,
.fusion-text,
#main,
#content {
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  color: #222 !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.article-wrapper h1,
.article-wrapper h2,
.article-wrapper h3,
.article-wrapper h4 {
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.25 !important;
}


/***************************************************
  HEADER BAR – FULL TEAL
***************************************************/
.fusion-page-title-bar,
.fusion-tb-page-title-bar,
.fusion-flex-container.fusion-builder-row-2 {
  background-color: #75cbbe !important;
  border: none !important;
  margin-bottom: 0 !important;
  padding: 28px 0 !important;
}

.fusion-page-title-wrapper,
.fusion-page-title-captions,
.fusion-page-title-bar-bg {
  background: #75cbbe !important;
  background-image: none !important;
  box-shadow: none !important;
}

.fusion-page-title-bar h1,
.fusion-tb-page-title-bar h1 {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 2.1rem !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

.fusion-page-title-bar {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.fusion-flex-container.fusion-builder-row-2 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.fusion-page-title-bar .title-sep {
  display: none !important;
}


/***************************************************
  TOC SECTION – ICON ABOVE TEXT (COMPACT)
***************************************************/
.article-wrapper .toc-icons {
  max-width: 700px !important;
  margin: 0 auto 25px auto !important;
  text-align: center !important;
  padding: 10px 0 !important;
}

.article-wrapper .toc-grid {
  display: flex !important;
  flex-direction: row !important;      /* CHANGED from column */
  flex-wrap: wrap !important;          /* ADDED to allow multiple rows */
  align-items: flex-start !important;  /* CHANGED to align items to the top */
  justify-content: center !important;
  gap: 20px !important;              /* CHANGED for better grid spacing */
  width: 100% !important;
}

.article-wrapper .toc-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important; /* CHANGED to align content to top */
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-basis: 180px !important; /* ADDED to set a width for a 3-col layout */
}

/* TOC Icons */
.article-wrapper .toc-item img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #e0e0e0 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07) !important;
  margin-bottom: 5px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-wrapper .toc-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.article-wrapper .toc-item h6 {
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #222 !important;
  margin: 0 !important;
  max-width: 180px !important; /* CHANGED to match the item width */
}

.article-wrapper .toc-item:not(:last-child)::after {
  display: none !important; /* CHANGED to hide the separator line */
}

/***************************************************
  ARTICLE IMAGES — SMOOTH BORDER & NO SHAKE ON HOVER
***************************************************/
.article-wrapper img {
  border-radius: 8px !important;
  border: 1px solid #eaeaea !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  display: block;
  margin: 24px auto;
  max-width: 100%;
  height: auto;
}

/* On hover — subtle glow border */
.article-wrapper img:hover {
  border-color: #75cbbe !important;
  box-shadow: 0 6px 16px rgba(117, 203, 190, 0.25) !important;
  transform: none !important; /* prevent any shaking */
}


/***************************************************
  RESPONSIVE (Mobile)
***************************************************/
@media (max-width: 768px) {
  
  /* ADDED: Resets the grid to a single column on mobile */
  .article-wrapper .toc-grid {
    flex-direction: column !important;
    align-items: center !important; /* Center the single column */
    gap: 14px !important; /* Reverts to original vertical gap */
  }
  
  /* ADDED: Resets items to be full-width in the column */
  .article-wrapper .toc-item {
     flex-basis: auto !important; /* Undoes the 180px desktop width */
     width: 100% !important;
  }

  /* Prefixed from your code */
  .article-wrapper .toc-item img {
    width: 65px !important;
    height: 65px !important;
    margin-bottom: 4px !important;
  }
  
  /* Prefixed from your code */
  .article-wrapper .toc-item h6 {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    max-width: 440px !important; /* Lets text be wider in the single column */
  }
  
  /* Prefixed AND MODIFIED */
  .article-wrapper .toc-item:not(:last-child)::after {
    display: block !important; /* ADDED to override the desktop 'display: none' */
    content: "";
    width: 65%;
    height: 1px;
    background: #eaeaea;
    margin: 8px auto 0 auto;
  }
}


/***************************************************
  STICKY SOCIAL SHARE BAR — LIGHT GREEN BOX STYLE
***************************************************/
.sticky-share-bar {
  position: fixed;
  top: 45%;
  left: calc((100vw - 1200px) / 2 - 70px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1000;

  background-color: #f1fbf8 !important; /* very light green box */
  border: 1px solid #cce7e2 !important;
  border-radius: 12px !important;
  padding: 18px 10px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease;
}

.sticky-share-bar:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

/* Icons inside box */
.sticky-share-bar .share-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ffffff;
  color: #555;
  font-size: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  text-decoration: none;
  margin: 6px 0;
}

.sticky-share-bar .share-icon:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Brand colors */
.sticky-share-bar .facebook:hover { background-color: #1877f2; }
.sticky-share-bar .twitter:hover  { background-color: #000000; }
.sticky-share-bar .reddit:hover   { background-color: #ff4500; }
.sticky-share-bar .instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.sticky-share-bar .linkedin:hover  { background-color: #0077b5; }

/* Responsive */
@media (max-width: 1200px) {
  .sticky-share-bar { left: 10px; }
}

@media (max-width: 992px) {
  .sticky-share-bar { display: none; }
}


/***************************************************
  ARTICLE META HEADER (matches your teal palette)
***************************************************/
.article-wrapper .article-meta {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  max-width: 900px !important;
  margin: 16px auto 22px auto !important;
  padding: 12px 14px !important;

  background: #f1fbf8 !important;         /* very light green/teal */
  border: 1px solid #cce7e2 !important;    /* soft teal border */
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}

.article-wrapper .article-meta .author-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,0.06) !important;
}

.article-wrapper .article-meta .meta-lines {
  display: grid !important;
  gap: 2px !important;
}

.article-wrapper .article-meta .byline,
.article-wrapper .article-meta .dates {
  margin: 0 !important;
  font-size: 0.96rem !important;
  line-height: 1.35 !important;
  color: #1f3f3a !important;
}

.article-wrapper .article-meta a {
  color: #0a7a66 !important;
  text-decoration: none !important;
  border-bottom: 1px dotted rgba(10,122,102,0.35) !important;
}
.article-wrapper .article-meta a:hover {
  border-bottom-color: rgba(10,122,102,0.65) !important;
}

/* Mobile: stack neatly */
@media (max-width: 640px) {
  .article-wrapper .article-meta {
    gap: 10px !important;
    padding: 10px 12px !important;
  }
  .article-wrapper .article-meta .byline,
  .article-wrapper .article-meta .dates {
    font-size: 0.94rem !important;
  }
}



/***** FIX: Stop sticky share bar from jumping on hover *****/
.sticky-share-bar { transform: translateY(-50%) !important; }
.sticky-share-bar:hover { 
  /* keep the same centering so it doesn't jump */
  transform: translateY(-50%) !important; 
  /* optional: keep the subtle shadow change, or remove if you want zero effect */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1) !important;
}

/***** FIX: Remove hover effects from share buttons/icons *****/
.sticky-share-bar .share-icon { 
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease !important;
}
.sticky-share-bar .share-icon:hover {
  transform: none !important;          /* no grow/shrink */
  background-image: none !important;   /* neutralize IG gradient hover */
  background-color: #ffffff !important;/* keep them white */
  color: inherit !important;
}

/***** FIX: Ensure any other “share” buttons don’t shift on hover *****/
.share.primary,
.share.primary:hover {
  transform: none !important;
  top: auto !important;
}

/***** DESIRED: Only images inside .article-wrapper move a bit *****/
.article-wrapper img {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.article-wrapper img:hover {
  transform: translateY(-4px) !important; /* subtle float-up */
  border-color: #75cbbe !important;
  box-shadow: 0 6px 16px rgba(117, 203, 190, 0.25) !important;
}



/******** 1) Make the whole page title area teal (kill dark overlay/gradients) ********/
.fusion-page-title-bar,
.fusion-tb-page-title-bar,
.fusion-page-title-bar .fusion-page-title-bar-bg,
.fusion-page-title-bar .fusion-page-title-wrapper,
.fusion-page-title-bar .fusion-page-title-captions {
  background: #75cbbe !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Avada sometimes adds an overlay via :before */
.fusion-page-title-bar::before,
.fusion-page-title-bar .fusion-page-title-bar-bg::before {
  content: none !important;
  background: none !important;
}

/* H1 stays readable on teal */
.fusion-page-title-bar h1,
.fusion-tb-page-title-bar h1 {
  color: #fff !important;
}

/******** 2) Keep sticky share bar above header + remove hover shift ********/
.sticky-share-bar {
  position: fixed !important;
  z-index: 99999 !important;          /* higher than Avada header/titlebar */
  transform: translateY(-50%) !important;  /* lock its vertical position */
}

/* no nudge on hover */
.sticky-share-bar:hover {
  transform: translateY(-50%) !important;
}

/* icons don’t move/grow on hover; just allow color/bg change if you like */
.sticky-share-bar .share-icon {
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease !important;
}
.sticky-share-bar .share-icon:hover {
  transform: none !important;
  background-image: none !important;
}

/******** Keep the “only images move a bit” behavior ********/
.article-wrapper img {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.article-wrapper img:hover {
  transform: translateY(-4px) !important;
}




/* === Force full teal across the entire PTB wrapper (kills inline gradients/overlays) === */
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2,
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2 .fusion-builder-row,
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2 .fusion-row,
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2::before,
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2 .fusion-page-title-bar-bg,
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2 .fusion-page-title-wrapper,
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2 .fusion-page-title-captions {
  background: #75cbbe !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Avada sometimes paints a semi-transparent overlay via pseudo elements */
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2::after,
.fusion-fullwidth.fullwidth-box.fusion-builder-row-2 .fusion-page-title-bar-bg::before,
.fusion-tb-page-title-bar::before {
  content: none !important;
  background: none !important;
}

/* Keep the H1 clean on teal and hide title separators just in case */
.fusion-tb-page-title-bar h1,
.fusion-page-title-bar h1 { color: #fff !important; }
.fusion-page-title-bar .title-sep,
.fusion-tb-page-title-bar .title-sep { display: none !important; }


.article-wrapper table {
    width: 100%;
    border-collapse: collapse; /* Collapses borders into a single border */
    background-color: white; /* Sets the table background to white */
    margin: 20px 0; /* Adds some space above and below the table */
}

.article-wrapper th, td {
    border: 1px solid #ddd; /* Light gray border for cells */
    padding: 8px; /* Padding inside cells */
    text-align: left; /* Aligns text to the left */
}
.article-wrapper th {
    background-color: #f2f2f2; /* Light gray background for table headers */
    color: #333; /* Darker text color for headers */
}

.article-wrapper tr:nth-child(even) {
    background-color: #f9f9f9; /* Alternating row background for better readability */
}







/*
 * ===================================================================
 * Custom CSS for the .ggcontactform
 * ===================================================================
 */

/* 1. Main Form Container */
.ggcontactform {
  max-width: 800px; /* Sets a comfortable max-width for the form */
  margin: 0 auto;   /* Centers the form on the page */
  padding: 30px;    /* Adds spacing inside the form wrapper */
  background-color: #ffffff; /* Gives it a clean white background */
  border-radius: 12px;   /* Modern rounded corners */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07); /* Subtle shadow for depth */
  border: 1px solid #e9e9e9; /* Light border */
}

/* 2. Form Field Spacing */
/* Targets the "p" tags CF7 uses to wrap fields */
.ggcontactform form.wpcf7-form p {
  margin-bottom: 24px; /* Creates consistent vertical spacing */
}

/* 3. Field Labels */
/* Improves label readability and spacing */
.ggcontactform form.wpcf7-form label {
  font-size: 16px;
  font-weight: 600; /* Makes labels semi-bold and clear */
  color: #3a3a3a;
  display: block; /* Ensures label is on its own line */
}

/* Hides the "br" tag that CF7 inserts */
.ggcontactform form.wpcf7-form label br {
  display: none;
}

/* Adds space between the label text and the input field */
.ggcontactform form.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

/* 4. Input & Textarea Fields */
/* Styles all text inputs, email inputs, and the textarea */
.ggcontactform .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: #444;
  background-color: #f9f9f9; /* Light grey field background */
  border: 1px solid #ddd;
  border-radius: 8px;     /* Rounded corners for fields */
  box-sizing: border-box; /* Ensures padding doesn't break layout */
  transition: all 0.3s ease; /* Smooth transition for focus */
}

/* 5. Field Focus State (Good UX) */
/* Highlights the active field for the user */
.ggcontactform .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none; /* Removes the default browser outline */
  border-color: #65bc7b; /* Uses a green accent, common in Avada */
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(101, 188, 123, 0.3); /* Adds a soft glow */
}

/* 6. Textarea Specifics */
.ggcontactform textarea.wpcf7-textarea {
  min-height: 160px;
  resize: vertical; /* Allows user to resize vertically only */
}

/* 7. Submit Button */
/* Makes the button a clear call-to-action */
.ggcontactform .wpcf7-submit {
  width: 100%;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background-color: #65bc7b; /* Avada green accent color */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none; /* Fixes styling issues on iOS */
}

/* 8. Submit Button Hover Effect (Good UX) */
.ggcontactform .wpcf7-submit:hover {
  background-color: #5aa76c; /* Slightly darker green on hover */
  transform: translateY(-2px); /* Lifts the button slightly */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 9. Form Messages (Success & Error) */
/* Styles the feedback messages for a consistent look */
.ggcontactform .wpcf7-response-output {
  padding: 15px;
  margin-top: 20px;
  margin-bottom: 0;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

/* Error Message */
.ggcontactform .wpcf7-response-output.wpcf7-validation-errors {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Success Message */
.ggcontactform .wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}


/* AUTHOR INFO START */
/* ===== Author Info (Byline Card) — CENTER NEAR AVATAR (WRAP-CONTENT) ===== */
.article-wrapper .article-meta {
  display: inline-grid;                 /* wrap to content instead of full width */
  grid-auto-flow: column;               /* avatar | text */
  align-items: center;
  justify-content: center;
  grid-column-gap: 12px;
  width: max-content;                   /* shrink to fit children */
  margin: 16px auto 24px;               /* center the whole card in its container */
  line-height: 1.4;
  font-size: 15px;
  text-align: left !important;          /* defeat parent text alignment */
  float: none !important;               /* neutralize theme floats */
}

.article-wrapper .article-meta .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;                       /* no inline spacing quirks */
}

.article-wrapper .article-meta .meta-lines {
  display: grid;                        /* simple stack for byline + date */
  justify-items: start;                 /* stick close to avatar */
  align-content: center;
  gap: 2px;
  margin: 0 !important;                 /* kill any theme auto margins */
  text-align: left !important;
  float: none !important;
}

.article-wrapper .article-meta .byline,
.article-wrapper .article-meta .dates {
  margin: 0 !important;
  text-align: left !important;          /* belt-and-suspenders override */
  width: auto !important;               /* avoid stretch */
}

.article-wrapper .article-meta .byline strong { font-weight: 600; }
.article-wrapper .article-meta .dates time { font-variant-numeric: tabular-nums; }

/* Optional: slightly larger avatar */
/*
.article-wrapper .article-meta .author-avatar { width: 52px; height: 52px; }
*/

@media (max-width: 600px) {
  .article-wrapper .article-meta {
    grid-column-gap: 10px;
    margin: 12px auto 18px;
  }
}


/* AUTHOR INFO END */

/* Home Page Start */
/* =====================================================
   GeekMerit Homepage – Main Content
   All classes are scoped to avoid Understrap conflicts.
   ===================================================== */

.gm-home-hub {
  --gm-purple-dark: #24165f;
  --gm-purple: #4c2ee8;
  --gm-violet: #5832ff;
  --gm-blue: #086ee8;
  --gm-green: #11bca4;
  --gm-heading: #161b2c;
  --gm-text: #555d70;
  --gm-border: #e6e5f2;
  --gm-background: #f7f7fc;

  width: 100%;
  color: var(--gm-heading);
  font-family: inherit;
  line-height: 1.6;
}

/* Hero */

.gm-home-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 76px 24px 54px;
  text-align: center;
}

.gm-home-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 15px;
  border: 1px solid #d9d3ff;
  border-radius: 999px;
  background: #f2efff;
  color: var(--gm-purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.gm-home-hero h1 {
  max-width: 820px;
  margin: 0 auto 22px;
  color: var(--gm-heading);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.gm-home-hero h1 span {
  color: var(--gm-purple);
}

.gm-home-intro {
  max-width: 730px;
  margin: 0 auto;
  color: var(--gm-text);
  font-size: 19px;
  line-height: 1.75;
}

/* Learning paths */

.gm-paths {
  padding: 58px 24px 72px;
  background:
    radial-gradient(circle at 50% 0%, #eeebff 0, transparent 38%),
    var(--gm-background);
}

.gm-section-heading {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.gm-section-heading h2 {
  margin: 0 0 8px;
  color: var(--gm-heading);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.gm-section-heading p {
  margin: 0;
  color: var(--gm-text);
  font-size: 17px;
}

.gm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1210px;
  margin: 0 auto;
}

/* Cards */

.gm-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 500px;
  padding: 31px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--gm-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(35, 22, 95, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.gm-card:hover {
  transform: translateY(-7px);
  border-color: #cbc3ff;
  box-shadow: 0 22px 50px rgba(35, 22, 95, 0.15);
}

.gm-card--featured {
  border: 2px solid var(--gm-purple);
}

.gm-card-number {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #eceaf5;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.gm-popular {
  position: absolute;
  top: 0;
  right: 25px;
  padding: 7px 13px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(135deg, var(--gm-purple), var(--gm-violet));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gm-card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 16px;
}

.gm-card-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gm-card-icon--blue {
  background: #eaf3ff;
  color: var(--gm-blue);
}

.gm-card-icon--purple {
  background: #efebff;
  color: var(--gm-purple);
}

.gm-card-icon--green {
  background: #e5faf6;
  color: #078f7c;
}

.gm-card-content {
  flex: 1;
}

.gm-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gm-purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gm-card h3 {
  margin: 0 0 14px;
  color: var(--gm-heading);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
}

.gm-card p {
  margin: 0 0 19px;
  color: var(--gm-text);
  font-size: 15.5px;
  line-height: 1.7;
}

.gm-card ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.gm-card li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 25px;
  color: #3f4658;
  font-size: 14.5px;
}

.gm-card li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--gm-green);
  font-weight: 900;
  content: "✓";
}

/* Card links */

.gm-card-link {
  display: flex;
  min-height: 52px;
  padding: 12px 17px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d9d6ea;
  border-radius: 12px;
  background: #fff;
  color: var(--gm-purple);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.gm-card-link span {
  margin-left: 12px;
  font-size: 22px;
  transition: transform 0.2s ease;
}

.gm-card-link:hover,
.gm-card-link:focus-visible {
  border-color: var(--gm-purple);
  background: #f3f0ff;
  color: var(--gm-purple-dark);
}

.gm-card-link:hover span {
  transform: translateX(4px);
}

.gm-card-link--primary {
  border-color: transparent;
  background: linear-gradient(
    135deg,
    var(--gm-purple-dark),
    var(--gm-violet)
  );
  color: #fff;
}

.gm-card-link--primary:hover,
.gm-card-link--primary:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, #1e1252, #4322df);
  color: #fff;
}

/* Bottom call to action */

.gm-home-cta {
  display: flex;
  max-width: 1210px;
  margin: 72px auto;
  padding: 38px 42px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-radius: 22px;
  background: linear-gradient(
    110deg,
    var(--gm-purple-dark),
    var(--gm-purple),
    var(--gm-violet)
  );
  box-shadow: 0 20px 50px rgba(42, 22, 114, 0.2);
  color: #fff;
}

.gm-home-cta > div {
  max-width: 730px;
}

.gm-home-cta > div > span {
  color: #58e3cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.gm-home-cta h2 {
  margin: 5px 0 7px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.gm-home-cta p {
  margin: 0;
  color: #ded9ff;
  font-size: 16px;
}

.gm-home-cta > a {
  display: inline-flex;
  min-width: 190px;
  min-height: 54px;
  padding: 13px 21px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--gm-purple) !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gm-home-cta > a:hover,
.gm-home-cta > a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 5, 40, 0.25);
}

/* Tablet */

@media (max-width: 991px) {
  .gm-card-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .gm-card {
    min-height: auto;
  }

  .gm-home-cta {
    margin-right: 24px;
    margin-left: 24px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .gm-home-hero {
    padding: 52px 20px 42px;
  }

  .gm-home-hero h1 {
    font-size: 37px;
  }

  .gm-home-intro {
    font-size: 17px;
  }

  .gm-paths {
    padding: 45px 16px 55px;
  }

  .gm-card {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .gm-card h3 {
    padding-right: 15px;
    font-size: 23px;
  }

  .gm-home-cta {
    margin: 48px 16px;
    padding: 30px 24px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
  }

  .gm-home-cta > a {
    width: 100%;
  }
}

/* Respect reduced-motion settings */

@media (prefers-reduced-motion: reduce) {
  .gm-card,
  .gm-card-link,
  .gm-card-link span,
  .gm-home-cta > a {
    transition: none;
  }
}
/* Home Page End */

/* IQA Home Page */
/* ====================================================
   GeekMerit Interview Questions Directory
   Scoped to prevent Understrap/Underscores conflicts
   ==================================================== */

.gm-iqa-hub {
  --gm-dark: #17172a;
  --gm-text: #596174;
  --gm-purple-dark: #261564;
  --gm-purple: #4c2ee8;
  --gm-violet: #5932ff;
  --gm-blue: #0878e8;
  --gm-green: #0cae96;
  --gm-orange: #e97920;
  --gm-border: #e6e5ef;
  --gm-soft-background: #f7f7fc;

  width: 100%;
  color: var(--gm-dark);
  font-family: inherit;
  line-height: 1.6;
}

/* Introduction */

.gm-iqa-hero {
  max-width: 940px;
  margin: 0 auto;
  padding: 68px 24px 54px;
  text-align: center;
}

.gm-iqa-eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  padding: 7px 15px;
  border: 1px solid #d8d1ff;
  border-radius: 999px;
  background: #f1efff;
  color: var(--gm-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.gm-iqa-hero h1 {
  margin: 0 0 18px;
  color: var(--gm-dark);
  font-size: clamp(38px, 5vw, 57px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.gm-iqa-hero > p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--gm-text);
  font-size: 18px;
  line-height: 1.75;
}

/* Statistics */

.gm-iqa-stats {
  display: inline-flex;
  margin-top: 35px;
  overflow: hidden;
  border: 1px solid var(--gm-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(34, 21, 95, 0.07);
}

.gm-iqa-stats div {
  min-width: 150px;
  padding: 17px 25px;
  text-align: center;
}

.gm-iqa-stats div + div {
  border-left: 1px solid var(--gm-border);
}

.gm-iqa-stats strong,
.gm-iqa-stats span {
  display: block;
}

.gm-iqa-stats strong {
  color: var(--gm-purple);
  font-size: 20px;
  font-weight: 800;
}

.gm-iqa-stats span {
  color: var(--gm-text);
  font-size: 13px;
}

/* Directory */

.gm-iqa-directory {
  padding: 61px 24px 70px;
  background:
    radial-gradient(circle at 50% 0%, #efecff 0, transparent 31%),
    var(--gm-soft-background);
}

.gm-iqa-section-heading {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.gm-iqa-section-heading h2 {
  margin: 0 0 7px;
  color: var(--gm-dark);
  font-size: clamp(29px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
}

.gm-iqa-section-heading p {
  margin: 0;
  color: var(--gm-text);
  font-size: 17px;
}

/* Topic groups */

.gm-topic-group {
  max-width: 1180px;
  margin: 0 auto 55px;
}

.gm-topic-group:last-child {
  margin-bottom: 0;
}

.gm-topic-group-heading {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 14px;
}

.gm-topic-group-icon {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  place-items: center;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
}

.gm-icon-purple {
  background: #ece8ff;
  color: var(--gm-purple);
}

.gm-icon-blue {
  background: #e5f2ff;
  color: var(--gm-blue);
}

.gm-icon-green {
  background: #def8f3;
  color: var(--gm-green);
}

.gm-icon-orange {
  background: #fff0e2;
  color: var(--gm-orange);
}

.gm-topic-group-heading span {
  display: block;
  margin-bottom: 1px;
  color: var(--gm-purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.gm-topic-group-heading h2 {
  margin: 0;
  color: var(--gm-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

/* Topic cards */

.gm-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gm-topic-card {
  display: grid;
  min-width: 0;
  min-height: 102px;
  padding: 19px 20px;
  align-items: center;
  grid-template-columns: 48px minmax(0, 1fr) 26px;
  gap: 15px;
  border: 1px solid var(--gm-border);
  border-radius: 15px;
  background: #fff;
  color: var(--gm-dark) !important;
  box-shadow: 0 5px 18px rgba(29, 22, 77, 0.045);
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.gm-topic-card:hover,
.gm-topic-card:focus-visible {
  transform: translateY(-3px);
  border-color: #bbb0ff;
  color: var(--gm-dark) !important;
  box-shadow: 0 13px 30px rgba(40, 25, 112, 0.12);
}

.gm-topic-card:focus-visible {
  outline: 3px solid rgba(76, 46, 232, 0.25);
  outline-offset: 3px;
}

.gm-topic-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #efedff;
  color: var(--gm-purple);
  font-size: 18px;
  font-weight: 800;
}

.gm-topic-text {
  min-width: 0;
}

.gm-topic-text strong,
.gm-topic-text small {
  display: block;
}

.gm-topic-text strong {
  margin-bottom: 3px;
  color: var(--gm-dark);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.gm-topic-text small {
  color: var(--gm-text);
  font-size: 13px;
  line-height: 1.45;
}

.gm-topic-arrow {
  color: var(--gm-purple);
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.22s ease;
}

.gm-topic-card:hover .gm-topic-arrow {
  transform: translateX(4px);
}

/* Course CTA */

.gm-iqa-cta {
  display: flex;
  max-width: 1180px;
  margin: 70px auto;
  padding: 39px 42px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-radius: 22px;
  background: linear-gradient(
    110deg,
    var(--gm-purple-dark),
    var(--gm-purple),
    var(--gm-violet)
  );
  box-shadow: 0 20px 48px rgba(38, 21, 100, 0.2);
  color: #fff;
}

.gm-iqa-cta-content {
  max-width: 730px;
}

.gm-iqa-cta-content > span {
  color: #5ce7d2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.gm-iqa-cta h2 {
  margin: 5px 0 8px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.gm-iqa-cta p {
  margin: 0;
  color: #e3dfff;
  font-size: 16px;
}

.gm-iqa-cta > a {
  display: inline-flex;
  min-width: 235px;
  min-height: 54px;
  padding: 13px 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--gm-purple) !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gm-iqa-cta > a:hover,
.gm-iqa-cta > a:focus-visible {
  transform: translateY(-2px);
  color: var(--gm-purple-dark) !important;
  box-shadow: 0 10px 24px rgba(10, 5, 40, 0.27);
}

/* Tablet */

@media (max-width: 850px) {
  .gm-topic-grid {
    grid-template-columns: 1fr;
  }

  .gm-iqa-cta {
    margin-right: 24px;
    margin-left: 24px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .gm-iqa-hero {
    padding: 50px 18px 42px;
  }

  .gm-iqa-hero h1 {
    font-size: 37px;
  }

  .gm-iqa-hero > p {
    font-size: 16px;
  }

  .gm-iqa-stats {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .gm-iqa-stats div {
    min-width: 0;
    padding: 14px 8px;
  }

  .gm-iqa-stats strong {
    font-size: 16px;
  }

  .gm-iqa-stats span {
    font-size: 11px;
  }

  .gm-iqa-directory {
    padding: 45px 15px 55px;
  }

  .gm-topic-group {
    margin-bottom: 43px;
  }

  .gm-topic-group-heading h2 {
    font-size: 21px;
  }

  .gm-topic-card {
    min-height: 94px;
    padding: 16px 14px;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .gm-topic-icon {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .gm-topic-text strong {
    font-size: 15px;
  }

  .gm-topic-text small {
    font-size: 12px;
  }

  .gm-iqa-cta {
    margin: 48px 15px;
    padding: 30px 23px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
  }

  .gm-iqa-cta > a {
    width: 100%;
    min-width: 0;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .gm-topic-card,
  .gm-topic-arrow,
  .gm-iqa-cta > a {
    transition: none;
  }
}
/* IQA Home Page */

/* Logo */
/* Make the logo bigger (UnderStrap) */
.navbar-brand img,
.custom-logo,
.custom-logo-link img {
  width: auto !important;
  height: auto !important;
  max-width: 250px !important;
  max-height: none !important;
}

/* Let the brand area grow with the logo */
.navbar-brand {
  height: auto !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Smaller size on mobile */
@media (max-width: 767px) {
  .navbar-brand img,
  .custom-logo,
  .custom-logo-link img {
    max-width: 160px !important;
  }
}
/* Logo */



/* Button Colors for IQA */


/* Base styling for all light background buttons */
.linkIQA-button {
  display: inline-block;
  padding: 12px 24px;
  color: #1E293B !important;  /* Dark charcoal font color (forced over BS5 defaults) */
  text-decoration: none;
  font-family: sans-serif;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;         /* Prevents text inside a button from wrapping */
  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effects optimized for light buttons */
.linkIQA-button:hover {
  filter: brightness(0.93);   /* Marginally darkens the light background on hover */
  transform: translateY(-1px);
  color: #1E293B !important;  /* Keeps text dark on hover in Bootstrap 5 */
  text-decoration: none; 
}

/* Repetitive light background colors loop (1 to 6) */
.linkIQA-button:nth-child(6n+1) { background-color: #E2E8F0; }
.linkIQA-button:nth-child(6n+2) { background-color: #D1FAE5; }
.linkIQA-button:nth-child(6n+3) { background-color: #FFE4E6; }
.linkIQA-button:nth-child(6n+4) { background-color: #E0F2FE; }
.linkIQA-button:nth-child(6n+5) { background-color: #F3E8FF; }
.linkIQA-button:nth-child(6n+6) { background-color: #F5EBE6; }


/* Button Colors for IQA */

/* Logo Correction */
/* GeekMerit header logo */
.navbar-brand img,
.custom-logo-link img,
.custom-logo {
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 100px;
}
/* Logo Correction */


/* Line get breaks at random half way issue */
.entry-content p {
    white-space: normal !important;
}
/* Line get breaks at random half way issue */