/**
 * Laureate 2-Column Action Section Styles
 *
 * @package Laureate
 * @version 1.0.0
 */

:root {
  --ap-blue: #0a2248;
  --ap-green: #1d960c;
  --ap-bg: #fafcff;
  --ap-surface: #ffffff;
  --ap-text: #64748b;
  --ap-border: #f1f5f9;
}

.evo-action-premium,
.evo-action-premium * {
  box-sizing: border-box;
}

.evo-action-premium {
  padding: 30px 24px;
  overflow: hidden;
  background-color: var(--ap-bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.evo-ap-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- 2-Column Grid --- */
.evo-ap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* --- Premium Card Styling --- */
.evo-ap-card {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(10, 34, 72, 0.02);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0; /* For animation */
}

/* Staggered entrance animations */
.evo-ap-card:nth-child(1) { animation: fadeUpPremium 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards; }
.evo-ap-card:nth-child(2) { animation: fadeUpPremium 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; }

.evo-ap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(10, 34, 72, 0.08);
  border-color: rgba(29, 150, 12, 0.15);
}

/* Optional highlight accent for the CTA card */
.evo-ap-card.highlight {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border-color: rgba(29, 150, 12, 0.1);
}

/* --- Typography & Badges --- */
.evo-ap-badge {
  display: inline-block;
  align-self: flex-start;
  background: #f1f5f9;
  color: var(--ap-blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.evo-ap-badge.green {
  background: rgba(29, 150, 12, 0.1);
  color: var(--ap-green);
}

.evo-ap-card h2 {
  font-size: 32px;
  color: var(--ap-blue);
  margin: 0 0 16px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(to right, var(--ap-blue), var(--ap-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.evo-ap-card p {
  font-size: 16px;
  color: var(--ap-text);
  margin: 0 0 30px;
  line-height: 1.7;
  flex-grow: 1;
}

/* --- Premium CTA Area --- */
.evo-ap-btn-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.evo-ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ap-blue);
  color: #ffffff !important;
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(10, 34, 72, 0.15);
}

.evo-ap-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.evo-ap-btn:hover {
  background: var(--ap-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(29, 150, 12, 0.25);
}

.evo-ap-btn:hover svg {
  transform: translateX(4px);
}

.evo-sub-note {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

/* --- Animations --- */
@keyframes fadeUpPremium {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Design --- */
@media(max-width: 991px) {
  .evo-ap-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .evo-ap-card {
    padding: 40px 30px;
  }
}

@media(max-width: 650px) {
  .evo-action-premium {
    padding: 60px 20px;
  }
  .evo-ap-card h2 {
    font-size: 28px;
  }
}
