/* ==========================================================================
   Template: DPDP Page Template Style
   File:     assets/css/template-dpdp.css

   Styled exactly to match Homepage (https://www.tulipdesk.com/) and
   About Page (https://www.tulipdesk.com/about-school-erp/).
   ========================================================================== */

/* Modern SVG Graph Containers */
.dpdp-svg-graph-box {
  margin: 35px auto;
  max-width: 900px;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px;
  border: 1px solid #edf2f7;
  box-shadow: 0 15px 40px rgba(16, 43, 82, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dpdp-svg-graph-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(16, 43, 82, 0.09);
}

.dpdp-svg-graph-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading-color);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e8edf4;
}

.dpdp-svg-graph-title i {
  color: var(--primary-colors);
  font-size: 18px;
}

.dpdp-svg-graph-box svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Feature Boxes */
.dpdp-feature-box {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 15px;
  padding: 30px 24px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.dpdp-feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-colors);
}

.dpdp-feature-box span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(189, 33, 131, 0.08);
  color: var(--primary-colors);
  font-size: 24px;
  margin-bottom: 18px;
}

.dpdp-feature-box h6 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

/* Mini Risk Cards */
.dpdp-risk-mini-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border-left: 4px solid var(--primary-colors);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.dpdp-risk-mini-card h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.dpdp-risk-mini-card p {
  font-size: 13.5px;
  color: var(--inner-text-color);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Accordion Styling (Matching Home/Overview/FAQ) */
.dpdp-faq-accordion .accordion-item,
.overview .accordion-item {
  border: 1px solid #eaeaea;
  border-radius: 12px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.dpdp-faq-accordion .accordion-button,
.overview .accordion-button {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--heading-color);
  background: #ffffff;
}

.dpdp-faq-accordion .accordion-button h5,
.overview .accordion-button h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
  color: inherit;
}

.dpdp-faq-accordion .accordion-button:not(.collapsed),
.overview .accordion-button:not(.collapsed) {
  background: #FFFBEA;
  color: var(--heading-color);
  border-bottom: 2px solid #FED22B;
}

.dpdp-faq-accordion .accordion-body,
.overview .accordion-body {
  padding: 24px;
  background: #ffffff;
  font-size: var(--text-size);
  color: var(--inner-text-color);
  line-height: 1.7;
}

.dpdp-faq-accordion .accordion-body p {
  margin-bottom: 0;
}

/* DPDP Card Items (High-Risk Vectors & Downloadable Resources) */
.dpdp-card-item {
  border: 1px solid #edf2f7;
  border-radius: 16px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dpdp-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(16, 43, 82, 0.08) !important;
}

.dpdp-card-item h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
}

.dpdp-card-item h5 i {
  color: var(--primary-colors);
}

.dpdp-card-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--inner-text-color);
}

.dpdp-conflict-text {
  color: #ba2284;
  background: #fdf5fa;
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 3px solid #ba2284;
  margin-top: 14px;
}

/* Technology Boxes */
.technology .box {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 26px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.technology .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.technology .box h6 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.technology .box .text p {
  font-size: 13px;
  color: var(--inner-text-color);
  line-height: 1.6;
  text-align: left;
  margin-bottom: 10px;
}

/* Alert Styling */
.alert-warning {
  background-color: #FFFBEA;
  border: 1px solid #fce8a6;
  border-left: 5px solid #FED22B;
}

.alert-warning h5 {
  color: #102b52;
}

.alert-warning a {
  color: var(--primary-colors);
  font-weight: 700;
  text-decoration: none;
}

.alert-warning a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Typography & Spacing Matching Features Pages
   ========================================================================== */
.default-group p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 24px;
  color: var(--inner-text-color);
}

.default-group h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 45px;
  margin-bottom: 22px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.default-group h3 i {
  color: var(--primary-colors);
  font-size: 28px;
  margin-right: 12px;
  display: inline-block;
  line-height: 1;
}

.default-group ul {
  margin-top: 15px;
  margin-bottom: 35px;
  padding-left: 0;
}

.default-group ul li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--inner-text-color);
  margin-bottom: 14px;
}

.default-group ul li ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.default-group hr {
  margin: 60px 0 50px;
  border-top: 1px solid #e2e8f0;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .dpdp-svg-graph-box {
    padding: 14px 10px;
    border-radius: 12px;
  }

  .default-group h3 {
    font-size: 22px;
  }

  .default-group h3 i {
    font-size: 22px;
  }
}
