/* ===== STRATEGIC CARDS (UPGRADED DESIGN) ===== */
.strategic-section { background: #fdfdfd; text-align: center; }
.strategic-section h2 {
  color: var(--highlight);
  font-size: 1.9rem;
  margin-bottom: 35px;
  font-weight: 700;
  letter-spacing: .5px;
}

.strategic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.strategic-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: justify;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  border-top: 4px solid var(--highlight);
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 420px;
}
.strategic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.icon-circle {
  background: var(--highlight);
  border-radius: 50%;
  width: 70px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.icon-circle img { width: 38px; height: 38px; filter: brightness(0) invert(1); }
.strategic-card h3 {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
.strategic-card .excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #222;
  text-align: justify;
  flex-grow: 1;
}
.read-more {
  margin-top: 16px;
  background: var(--highlight);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  align-self: center;
  transition: background .3s ease;
}
.read-more:hover { background: #0b3d2e; }

/* ===== MODAL (PERFECTLY CENTERED, PROFESSIONAL DESIGN) ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;                  /* hidden by default */
  justify-content: center;        /* centers horizontally */
  align-items: center;            /* centers vertically */
  background: rgba(0,0,0,0.5);    /* dim background */
  backdrop-filter: blur(6px);     /* elegant blur effect */
  animation: fadeIn .3s ease;
}

.modal.show {
  display: flex !important;       /* when active, center it */
}

.modal-dialog {
  background: #fff;
  border-radius: 14px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: zoomIn .35s ease;
  transform: translateY(0);       /* ensures true center */
}

.modal-header {
  background: var(--highlight);
  color: #fff;
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 26px 28px;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
  text-align: justify;
  max-height: 70vh;               /* never exceeds screen height */
  overflow-y: auto;               /* scrolls neatly if needed */
}

.modal-header h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
}

.close {
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  transition: transform .2s ease;
}
.close:hover {
  transform: scale(1.25);
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes zoomIn {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* ===== MODAL FOOTER CLOSING BUTTON ===== */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 26px 24px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.close-btn {
  background: #daa207;            /* gold accent */
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
  background: #e5b006;
  transform: scale(1.05);
}
