.privacy-policy-area{
  --cw-cyan: #02ACED;
  --cw-pink: #EA058B;
  --cw-yellow: #FFD500;
  --ink-900:#0c1b2a;
  --ink-700:#24415b;
  --ink-500:#5c7084;

  --card-bg: #f7fbff;
  --tile-blue: #eaf3ff;
  --tile-shadow: 0 14px 40px rgba(14, 23, 43, .10);
}

.privacy-policy-area{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 300px at -10% 0%, rgba(2,172,237,.10), transparent 60%),
    radial-gradient(1000px 260px at 110% -20%, rgba(234,5,139,.08), transparent 60%),
    #ffffff;
}
.privacy-policy-area::before,
.privacy-policy-area::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.22;
  z-index: 0;
}

.privacy-policy-area::before {
  width: 340px; height: 340px;
  left: -140px; top: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(2,172,237,0.35), transparent 70%);
}

.privacy-policy-area::after {
  width: 400px; height: 400px;
  right: -150px; bottom: -130px;
  background: radial-gradient(circle at 70% 70%, rgba(234,5,139,0.3), transparent 70%);
}


@media (min-width: 992px) {
  .privacy-policy-area {
    background:
      radial-gradient(1200px 400px at -10% 5%, rgba(2,172,237,.15), transparent 60%),
      radial-gradient(1000px 380px at 110% -5%, rgba(234,5,139,.12), transparent 60%),
      #ffffff;
  }
}


.privacy-content h1{
  font-weight: 800;
  letter-spacing:.2px;
  background: linear-gradient(90deg, var(--cw-cyan), var(--cw-pink), var(--cw-yellow));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}


.privacy-content h2{
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing:.2px;
  position: relative;
  z-index: 1;
}
.privacy-content p{
  color: var(--ink-700);
  font-size: 1.05rem;
  line-height: 1.85;
}
.privacy-content h3,
.privacy-content h4{
  color: var(--ink-900);
  font-weight: 700;
}


.policy-section{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  padding: 2.75rem 0;
  border-bottom: 1px dashed rgba(2,172,237,.18);
  position: relative;
}

.policy-section::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2,172,237,.25), transparent);
  pointer-events:none;
}

.policy-header{
  display:flex; align-items:center; gap:12px; margin-bottom:1rem;
}
.policy-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%;
  background:#f0f4ff; color:#4a69bd; font-size:1.25rem; flex-shrink:0;
  box-shadow: 0 8px 20px rgba(2,172,237,.12);
  animation: pulseSoft 6s ease-in-out infinite;
}
.policy-icon.icon-usage    { background-color: #e6f7ff; color: #0056b3; }
.policy-icon.icon-security { background-color: #e0f2f1; color: #004d40; }
.policy-icon.icon-sharing  { background-color: #fff3e0; color: #ef6c00; }
.policy-icon.icon-rights   { background-color: #f3e5f5; color: #6a1b9a; }
.policy-icon.icon-changes  { background-color: #f1f8e9; color: #558b2f; }
.policy-icon.icon-contact  { background-color: #f0f0f0; color: #424242; }


.privacy-content .policy-section > .col-md-7 h3{
  position:relative; padding-left:0.25rem;
}
.privacy-content .policy-section > .col-md-7 h3::after{
  content:"";
  position:absolute; left:0; bottom:-10px; height:3px; width:84px;
  background: linear-gradient(90deg, var(--cw-cyan), rgba(2,172,237,0));
  border-radius:2px;
  filter: saturate(120%) brightness(1.05);
}

.policy-section .col-md-7 p,
.policy-section .col-md-5 p,
.privacy-content .text-center > p {
  position: relative;
  margin: 0 0 18px;
  padding: 14px 18px 14px 22px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow:
    0 2px 6px rgba(15, 30, 60, 0.05),
    0 10px 26px rgba(15, 30, 60, 0.07);
  color: var(--ink-700);
  line-height: 1.85;
  transform: translateZ(0);
  transition: box-shadow .25s ease, transform .25s ease;
}

.policy-section .col-md-7 p::before,
.policy-section .col-md-5 p::before,
.privacy-content .text-center > p::before {
  content: "";
  position: absolute;
  left: 8px; top: 10px; bottom: 10px;
  width: 6px; border-radius: 12px;
  background: linear-gradient(180deg, #02ACED, #6fd6ff);
  box-shadow: 0 0 0 2px rgba(2,172,237,.10) inset;
}

@media (hover:hover){
  .policy-section .col-md-7 p:hover,
  .policy-section .col-md-5 p:hover,
  .privacy-content .text-center > p:hover {
    transform: translateY(-2px);
    box-shadow:
      0 4px 10px rgba(15, 30, 60, 0.06),
      0 14px 34px rgba(15, 30, 60, 0.10);
  }
}

.policy-section .col-md-7 p:hover::before,
.policy-section .col-md-5 p:hover::before,
.privacy-content .text-center > p:hover::before {
  background: linear-gradient(180deg, #EA058B, #ff91cf);
  box-shadow: 0 0 0 2px rgba(234, 5, 139, .10) inset;
}
.policy-section .col-md-7 p:last-of-type,
.policy-section .col-md-5 p:last-of-type { margin-bottom: 24px; }


.policy-image-placeholder {
  display:flex; align-items:center; justify-content:center;
  padding: 8px 0;
}
.policy-image-placeholder img{
  width: 100%;
  max-width: 560px;
  height: 100%;
  max-height: 520px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  background:#fff;
  box-shadow:
    0 8px 18px rgba(0,0,0,.05),
    0 14px 50px rgba(2,172,237,.12);
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform .45s ease, box-shadow .45s ease;
}
@media (hover:hover){
  .policy-image-placeholder img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,30,60,.16), 0 6px 16px rgba(15,30,60,.10);
  }
}

@media (max-width: 991.98px){
  .policy-image-placeholder img{
    max-width: 480px;
    height: auto;
    aspect-ratio: auto;
  }
}
@media (max-width: 767.98px){
  .policy-image-placeholder img{
    width: 92%;
    max-width: 420px;
  }
}

.privacy-content .text-center h2{ margin-top: 8px; }
.privacy-content p.text-end em {
  display: inline-block;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 6px 14px;
  color: #0b2540;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(2,172,237,0.15);
}


@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation: none !important; transition: none !important; }
}

@keyframes pulseSoft{
  0%,100%{ box-shadow: 0 8px 20px rgba(2,172,237,.10); transform: translateZ(0) }
  50%{ box-shadow: 0 10px 26px rgba(234,5,139,.14); transform: translateZ(0) }
}

/* Match Cowriting's Bootstrap-based policy layout within Cotutoring's base. */
.privacy-policy-area {
  padding: 25px 0 120px;
  font-family: 'DM Sans', sans-serif;
}
.privacy-policy-area * { font-family: inherit; }
.privacy-policy-area .container { width: min(1140px, calc(100% - 40px)); }
.privacy-policy-area .justify-content-center { justify-content: center; }
.privacy-policy-area .row { display: flex; flex-wrap: wrap; }
.privacy-policy-area .col-lg-10 { width: 83.333333%; min-width: 0; max-width: 100%; }
.privacy-policy-area .col-md-7 { width: 58.333333%; min-width: 0; padding: 0 12px; }
.privacy-policy-area .col-md-5 { width: 41.666667%; min-width: 0; padding: 0 12px; }
.privacy-policy-area .align-items-center { align-items: center; }
.privacy-policy-area .text-center { text-align: center; }
.privacy-policy-area .text-end { text-align: right; }
.privacy-policy-area .d-none { display: none; }
.privacy-content { position: relative; z-index: 1; min-width: 0; max-width: 100%; overflow-wrap: break-word; }
.privacy-content h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.privacy-content h2 { font-size: clamp(25px, 3vw, 32px); line-height: 1.25; }
.privacy-content h3 { font-size: 24px; line-height: 1.3; }
.privacy-content h4 { font-size: 19px; line-height: 1.4; }
.privacy-content .mb-15 { margin-bottom: 15px; }
.privacy-content .mb-20 { margin-bottom: 20px; }
.privacy-content .mb-30 { margin-bottom: 30px; }
.privacy-content .mb-45 { margin-bottom: 45px; }
.privacy-content .my-5 { margin: 48px 0; border: 0; border-top: 1px solid #dee2e6; }
.privacy-content .policy-header h3 { margin-bottom: 0; }
.privacy-content .policy-section { margin: 0; }
.privacy-content .policy-section h4 { margin-top: 0; }
.privacy-content .policy-section p { margin-bottom: 18px; }
.privacy-content .policy-section p:last-of-type { margin-bottom: 24px; }
.policy-icon i::before { display: block; font-style: normal; }
.policy-icon .fa-info-circle::before { content: 'ⓘ'; }
.policy-icon .fa-tasks::before { content: '☷'; }
.policy-icon .fa-shield-alt::before { content: '♢'; }
.policy-icon .fa-share-alt::before { content: '↗'; }
.policy-icon .fa-user-check::before { content: '✓'; }
.policy-icon .fa-sync-alt::before { content: '↻'; }
.policy-icon .fa-envelope::before { content: '✉'; }

@media (min-width: 768px) {
  .privacy-policy-area .d-md-block { display: flex; }
}
@media (max-width: 991px) {
  .privacy-policy-area .col-lg-10 { width: 100%; }
}
@media (max-width: 900px) {
  .privacy-policy-area { padding: 90px 0 70px; }
  .privacy-policy-area .col-md-7,
  .privacy-policy-area .col-md-5 { width: 100%; }
  .privacy-content .policy-section { padding: 2rem 0; }
}
