/* =========================
   TRANSPARENT OVERLAY BUTTON
   ========================= */
a[data-variant="transparentoverlay"] {
  display: inline-block;
  color: #fff;
  font-weight: 400;
  font-size: 18px;
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

  /* Glass effect */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  /* Stroke */
  border: 1.25px solid rgba(255, 255, 255, 0.3);

  /* No hover, no click changes */
  cursor: default;
  
}
/* ===== Playbook Accordion ===== */
.playbook-steps {
  display: grid;
  gap: 16px;
}

/* Card */
.step {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

/* Header */
.step-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  background: transparent;
  border: none;
  font: inherit;
  cursor: pointer;
}

/* Title */
.step-title {
    font-size: 1.25rem;
    font-family: "Geist", sans-serif;
    font-weight: var(--semibold);
    color: var(--black);
}

/* Chevron */
.step-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.step-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #6b7280;
  mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'>\
<path d='M5 7l5 5 5-5' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") center / contain no-repeat;
  transition: transform 250ms ease;
}

/* Rotate chevron */
.step-toggle[aria-expanded="true"] .step-icon::before {
  transform: rotate(180deg);
}

/* Panel */
.step-panel {
  height: 0;
  overflow: hidden;
  padding: 0 30px;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  transition:
    height 300ms ease,
    padding 200ms ease;
}

/* Open state padding (perfect symmetry) */
.step-toggle[aria-expanded="true"] + .step-panel {
  padding: 0px 30px 12px 30px;
}

/* Content spacing */
.step-panel p {
  margin: 0 0 10px;
}

.step-panel ul {
  margin: 0;
  padding-left: 18px;
}

.step-panel li {
  margin-bottom: 6px;
}
/* Existing Section Styles */
.whyexecatlas {
  max-width: unset;
  width: 100%;
  border-radius: unset;
  background: #F2F2F7;
  text-align: center;
  margin-bottom: 0;
}

.whyexecatlas .container {
  padding: 5.5em 0;
  margin-bottom: 0;
  width: 90%;
  max-width: 1280px; /* optional, keep content constrained */
  margin-left: auto;
  margin-right: auto;
}

.whyexecatlas h2 {
  font-size: 2rem;
  font-weight: var(--semibold);
  margin-bottom: 3rem;
}

.whyexecatlas p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: var(--normal);
}


.whyexecatlas .feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: left;
  margin-bottom: 30px;
  font-weight: var(--normal);
}

.whyexecatlas .feature-icon img {
  width: 48px;
  height: 48px;
}

.whyexecatlas .feature-text h3 {
  font-size: 1.25rem;
  font-weight: var(--semibold);
  margin: 0 0 0.5rem 0;
}

.whyexecatlas .feature-text p {
  margin: 0;
  line-height: 1.5;
}

/* Alerts Image */
.whyexecatlas .exec-image img {
  max-width: 90%;
  margin: 0 auto;
  display: block;
}
/* =========================
   EXECUTION SECTION
   ========================= */
.execution .container {
    max-width: 1280px;
    margin: 0 auto;
    width: 90%;
}
.execution h2 {
    margin-bottom:3rem;
}

/* Steps layout */
.execution-steps {
  display: grid;
  gap: 20px;
}

/* Row: badge + card */
.execution-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: flex-start;
}

/* Number badge */
.execution-badge {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem;
  font-family: "Geist", sans-serif;
  font-weight: var(--semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Card */
.execution-item {
  text-align: left;
}

/* Title */
.execution-title {
  font-size: 1.25rem;
  font-family: "Geist", sans-serif;
  font-weight: var(--semibold);
  color: var(--black);
  margin: 0 0 10px;
}

/* Content */
.execution-panel {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

.execution-panel p {
  margin: 0 0 10px;
}

.execution-panel ul {
  margin: 0;
  padding-left: 18px;
}

.execution-panel li {
  margin-bottom: 6px;
}
.execution-image img {
 width: 25%;
 padding: 20px 0px 20px 0px;
}
.messaging {
  width: 100%;
  text-align: left;
}

.messaging h2{
    padding-bottom: 3rem;
}

.messaging .container {
  max-width: 1280px;
  margin: 0 auto;
  width: 90%;
}

/* Two-column layout */
.messaging-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  padding-bottom: 2rem;
}

/* Messaging items */

.messaging-item {
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 2rem; /* top/right/bottom/left padding */
  border-radius: 6px; /* round corners for background */
}
.messaging .messaging-item.messaging-full::before {
  background-color: #0E1461;
}

.messaging .messaging-item.messaging-full::after {
  background-color: rgba(14, 20, 97, 0.08);
}

/* Left bar */
.messaging-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4.5px; /* thickness of the bar */
  height: 100%;
  background-color:#44C1C5;
   border-radius: 6px 2px 2px 6px;
}

/* Light background behind text */
.messaging-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(156, 226, 209, 0.1);
  border-radius: 6px;
  z-index: -1;
}

/* Title */
.messaging-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black, #111);
  margin-bottom: .5rem;
}

/* Supporting text */
.messaging-item p {
  margin: 0;
  line-height: 1.6;
  color: #4b5563;
}
/* Flex layout for the tip card */
.messaging-tip {
  display: flex;
  align-items: center;
  gap: 16px; /* space between icon and text */
}

/* Icon styling */
.messaging-tip .tip-icon img {
  width: 25px; /* adjust size as needed */
  height: 25px;
  
}

/* Make title and paragraph inline */
.messaging-tip .tip-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 0px;
}
.messaging-tip h3 {
    margin: 0px;
}

/* Automated Section */

.automated-steps h2{
    padding-bottom: 3rem;
}

.automated .container {
  max-width: 1280px;
  margin: 0 auto;
  width: 90%;
}

/* Steps layout */
.automated-steps {
  display: grid;
  gap: 0; /* spacing handled by step margin */
}

/* Step card */
.automated-step {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  padding: 18px 30px;

  /* Spacing between steps */
  margin-bottom: 24px;
}

/* Remove margin for last step */
.automated-step:last-child {
  margin-bottom: 0;
}

/* Title */
.automated-title {
    font-size: 1.25rem;
    font-family: "Geist", sans-serif;
    font-weight: var(--semibold);
    color: var(--black);
    padding-top: 7px;
}

/* Panel / content */
.automated-panel {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

.automated-panel p {
  margin: 0 0 10px 0;
}

.automated-panel ul {
  margin: 0;
  padding-left: 18px;
}

.automated-panel li {
  margin-bottom: 6px;
}
.automated-image img {
 width: 100%;
 padding: 20px 0px 20px 0px;
}
/* Full-width background wrapper */
.automated-bg {
  width: 100%;
  background-color: #F3F3F3; /* change to your desired color */
  padding: 80px 0; /* vertical breathing room */
  border-radius: 14px;
}

/* Constrain inner content */
.automated-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 90%;
}

/* =========================
   MEDIA QUERIES
   ========================= */

/* Large screens: 1200px and below */
@media (max-width: 1200px) {
  .playbook-steps {
    gap: 12px;
  }

  .execution-steps {
    gap: 16px;
  }

  .messaging-grid {
    gap: 1.5rem 2rem;
  }

  .automated-step {
    padding: 16px 24px;
    margin-bottom: 20px;
  }
}

/* Medium screens: 1000px and below */
@media (max-width: 1000px) {
  .execution-row {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .execution-image img {
      width: 60%;
  }

  .execution-badge {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .messaging-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .whyexecatlas .feature {
    flex-direction: row;
    gap: 1rem;
  }

  .automated-image img {
    width: 100%;
  }
}

 .whyexecatlas a {
    font-size: 1rem;
}

/* Tablets: 768px and below */
@media (max-width: 768px) {
  .playbook-steps {
    gap: 10px;
  }
   .whyexecatlas .exec-image {
    display: none;
  }
  
  .execution-image img {
      width: 100%;
  }

  .execution-badge {
    margin-bottom: 12px;
  }

  .messaging-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .whyexecatlas .feature {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .whyexecatlas .feature-text h3,
  .whyexecatlas .feature-text p {
    text-align: center;
  }

  .header {
    padding: 8em 2em 4em;
  }

  .header h1 {
    font-size: 1.75rem;
  }

  .automated-bg {
    padding: 60px 1.5em;
  }
}
