/* ====================
   0. Header + Title Overrides
======================= */
.kadence-sticky-header .site-header-row-container {
  background-color: #ffffff !important;
}
.page-title, .page-title h1 {
  color: #FFFFFF !important;
}
/* ====================
   0.5 Coming Soon Banner Hero Page
======================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dev-banner {
  animation: fadeIn 1s ease-out;
}

/* ====================
   1. Cards (Feature + Philosophy + Dark Variant)
======================= */
.landing-card-grid,
.philosophy-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 64px auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.landing-card,
.philosophy-card {
  background-color: rgba(255, 255, 255, 0.9); /* semi-transparent white */
  border: 1px solid #C8CEC9;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease-in-out, transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.landing-card:hover,
.philosophy-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.landing-card h4,
.philosophy-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A3E5C;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.landing-card p,
.philosophy-card p {
  color: #2F2F2F;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.landing-card.why-it-matters,
.philosophy-card.dark {
  background-color: #1A3E5C !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.landing-card.why-it-matters:hover,
.philosophy-card.dark:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.landing-card.why-it-matters h4,
.philosophy-card.dark h4 {
  color: #BFA980 !important;
}

.landing-card.why-it-matters p,
.philosophy-card.dark p {
  color: #E6E6E6 !important;
}

/* ====================
   2. Hero Section Styles
======================= */
.hero-tagline {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: #D1E8F2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 700px;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-subheading {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 2rem;
  color: #ffffff;
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.8rem;
    line-height: 1.3;
    word-break: normal;
    white-space: normal;
  }

  .hero-subheading {
    font-size: 1rem;
  }
}

/* ====================
   3. Hero CTA Buttons
======================= */
.hero-btn-primary,
.hero-btn-secondary,
.wp-block-kadence-rowlayout .hero-btn-primary,
.wp-block-kadence-rowlayout .hero-btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  min-width: 220px;
  transition: all 0.2s ease-in-out;
}

.hero-btn-primary {
  background-color: #5AC8C8;
  color: #ffffff;
  border: none;
}

.hero-btn-primary:hover {
  background-color: #48b5b5;
}

.hero-btn-secondary {
  background-color: #2F2F2F;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.hero-btn-secondary:hover {
  background-color: #444444;
}

@media (max-width: 768px) {
  .hero-btn-primary,
  .hero-btn-secondary {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 16px;
  }
}

/* ====================
   4. Call-to-Action Block
======================= */
.landing-cta-block {
  background-color: #5AC8C8;
  color: #ffffff;
  padding: 48px 24px;
  text-align: center;
  border-radius: 12px;
  margin-top: 64px;
}

.landing-cta-block h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.landing-cta-block p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.landing-cta-block a.cta-button {
  background-color: #1A3E5C;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.2s;
}

.landing-cta-block a.cta-button:hover {
  background-color: #163549;
}

/* ====================
   5. Utility + Animation
======================= */
.card-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  margin-top: 48px;
}

/* ====================
   6. Page-Specific Overrides
======================= */
.home h1.entry-title,
.home .entry-meta,
.home .post-meta,
.home .posted-on,
.home .byline,
.home .entry-header,
.home .single-header,
.home header.entry-header,
header.entry-header .entry-breadcrumbs,
.entry-hero-breadcrumb,
.page .entry-header .breadcrumb,
.page .entry-header nav {
  display: none !important;
}

/* ====================
   6.1 Featured Tier Container Pop
======================= */
/* Highlight Tier 2 as Featured */
.tier2-featured {
    border: 3px solid #38C7C7; /* Pennate Aqua */
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    transform: scale(1.03);
    z-index: 3;
    overflow: visible !important; /* CRITICAL FIX */
}

/* "Most Popular" Tag ABOVE the border */
.tier2-featured::before {
    content: "Most Popular";
    position: absolute;
    top: -18px; /* move it above the border */
    left: 50%;
    transform: translateX(-50%);
    background: #38C7C7;
    color: white;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;

    /* Shadow to visually separate from card */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);

    z-index: 10; /* ensure it's on top of the card */
    pointer-events: none; /* purely decorative */
}
/*Add a hover effect (premium feel) */
.tier2-featured:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}


/* ====================
   7. Media Queries (Cards)
======================= */
@media (min-width: 992px) {
  .philosophy-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) and (min-width: 600px) {
  .philosophy-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .philosophy-card-grid {
    grid-template-columns: 1fr;
  }
}

.service-icon {
  border: 2px solid transparent;
  border-radius: 50%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-icon:hover {
  transform: rotate(20deg);
  border-color: #5AC8C8; /* Use Pennate accent */
}

.pennate-callout-box {
  border-left: 4px solid #1A3E5C;
  background-color: #F2E8D5;
  padding: 1.25em 1.5em;
  margin: 2em 0;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2F2F2F;
}
.pennate-callout-box strong {
  color: #1A3E5C;
}
.pennate-button {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.6em 1.25em;
  background-color: #5AC8C8;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

:target { scroll-margin-top: 100px; }

/*======================
 * CSS Statement to resolve border issues with Landing pages                               ========================*/ 

:root{
  --pn-container: 1200px;
  --pn-gutter: clamp(16px, 3vw, 32px);
  --pn-section: clamp(24px, 5vw, 64px);
  --pn-stack-sm: 8px;
  --pn-stack: 16px;
  --pn-stack-lg: 24px;
}
.pn-container{max-width:var(--pn-container); margin-inline:auto; padding-inline:var(--pn-gutter);}
.pn-section{padding-block:var(--pn-section);}
.pn-stack > * + *{margin-top:var(--pn-stack);}
.pn-stack-lg > * + *{margin-top:var(--pn-stack-lg);}
.pn-hero{display:grid; grid-template-columns:1.1fr 0.9fr; gap:var(--pn-gutter); align-items:start;}
@media (max-width:1024px){ .pn-hero{grid-template-columns:1fr;} }
.pn-form-card{background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px; padding:24px; box-shadow:0 6px 20px rgba(0,0,0,.06);}
.pn-form-card .kadence-blocks-form-field,
.pn-form-card .wp-block-kadence-form{margin-bottom:14px;}
.pn-form-card input[type="text"],
.pn-form-card input[type="email"],
.pn-form-card input[type="tel"],
.pn-form-card textarea,
.pn-form-card select{width:100%;}
.pn-cta{padding:14px 22px; border-radius:10px;}
.pn-h1{margin:0 0 14px 0;}
.pn-sub{margin:0 0 18px 0; color:#3d3d3d;}
.pn-cred{display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:10px; font-weight:600;}
.pn-cred span{white-space:nowrap;}
.kadence-row-layout-inner-wrap{max-width:var(--pn-container);}
.pn-form-card .kb-form-field-checkbox,
.pn-form-card .kb-form-field-radio{display:flex; align-items:center; gap:8px;}
@media (max-width:768px){
  .pn-sticky-cta{position:fixed; left:0; right:0; bottom:0; z-index:50; background:#fff; border-top:1px solid rgba(0,0,0,.08); padding:10px var(--pn-gutter); display:flex; gap:10px; align-items:center; justify-content:space-between;}
  body{padding-bottom:62px;}
}

/*======================
 * CSS attempt to phish for bots to prevent database flooding DDoS attacks: 
 * 
 * if (payload.hp_field_honeypot && payload.hp_field_honeypot.trim() !== "") {
  return new Response("OK", { status: 200 }); // silently drop
}
                             ========================*/
.pennate-honeypot {
  display: none !important;
}

/* Pennate — global dropdown consistency (forms) */
form select,
form select option {
  color: #2F2F2F;            /* Charcoal Gray */
  background-color: #ffffff; /* Clean white */
}

/* Hover + selected option */
form select option:hover,
form select option:checked {
  background-color: #5AC8C8; /* Primary Aqua */
  color: #2F2F2F;
}

/* Pennate Consulting Form — force readable select + options */
.pennate-consulting-form select,
.pennate-consulting-form select option {
  color: #2F2F2F !important;            /* Charcoal Gray */
  background-color: #ffffff !important; /* White */
}

/* The closed select field itself */
.pennate-consulting-form select {
  border-color: rgba(47,47,47,0.25) !important;
}
