/* Institute of Coawat portfolio styling. Visible content remains in native Elementor widgets. */
.coawat-portfolio-page { font-family: Arial, "Noto Sans Bengali", sans-serif; }
.coawat-portfolio-hero {
  position: relative; overflow: hidden; border-radius: 30px;
  background: radial-gradient(circle at 100% 0%, rgba(22,163,181,.5), transparent 36%),
              radial-gradient(circle at 0% 100%, rgba(37,99,235,.42), transparent 42%),
              linear-gradient(125deg, #071c55 0%, #0a4598 55%, #087f8c 100%);
  box-shadow: 0 22px 58px rgba(9,45,108,.22);
}
.coawat-portfolio-hero:after {
  content: ""; position: absolute; width: 360px; height: 360px; right: -130px; top: -170px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 68px rgba(255,255,255,.025);
  pointer-events: none;
}
.coawat-portfolio-hero .elementor-column, .coawat-portfolio-hero .elementor-widget { position: relative; z-index: 1; }
.coawat-portfolio-eyebrow .elementor-heading-title { letter-spacing: 2px; }
.coawat-portfolio-main-title .elementor-heading-title { font-size: clamp(42px, 5vw, 66px); line-height: 1.02; text-shadow: 0 5px 24px rgba(0,0,0,.16); }
.coawat-portfolio-bengali-title .elementor-heading-title { line-height: 1.35; }
.coawat-portfolio-hero-copy { max-width: 620px; }
.coawat-portfolio-hero-right { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.coawat-portfolio-hero-right .elementor-widget-heading { margin-bottom: 2px; }
.coawat-hero-chip .elementor-heading-title {
  border: 1px solid rgba(255,255,255,.45); border-radius: 15px; padding: 16px 18px;
  background: linear-gradient(110deg, rgba(255,255,255,.96), rgba(227,245,255,.9));
  box-shadow: 0 10px 25px rgba(0,0,0,.13); transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.coawat-hero-chip:hover .elementor-heading-title { transform: translateX(5px); box-shadow: 0 0 0 3px rgba(255,255,255,.15), 0 12px 28px rgba(0,0,0,.2); background: #fff; }
.coawat-portfolio-intro .elementor-widget-heading { margin-bottom: 6px; }
.coawat-portfolio-section-title .elementor-heading-title { letter-spacing: -.5px; }
.coawat-portfolio-section-copy { max-width: 840px; margin-left: auto; margin-right: auto; }
.coawat-portfolio-grid { position: relative; }
.coawat-portfolio-card {
  position: relative; isolation: isolate; overflow: hidden; height: 100%;
  border: 1px solid #e1eaf5; border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: 0 8px 26px rgba(17,45,82,.08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.coawat-portfolio-card:before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  opacity: 0; background: radial-gradient(circle at 50% 0%, rgba(35,174,255,.25), transparent 58%), linear-gradient(135deg, rgba(23,190,120,.05), rgba(100,75,255,.05));
  transition: opacity .35s ease;
}
.coawat-portfolio-card:after {
  content: ""; position: absolute; top: -40%; left: -70%; width: 55%; height: 180%; z-index: 0; pointer-events: none;
  opacity: 0; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
}
.coawat-portfolio-card:hover, .coawat-portfolio-card:focus-within {
  transform: translateY(-8px); border-color: #78c8ff;
  box-shadow: 0 0 0 1px rgba(65,172,255,.18), 0 20px 48px rgba(22,94,165,.17), 0 0 28px rgba(56,189,248,.12);
}
.coawat-portfolio-card:hover:before, .coawat-portfolio-card:focus-within:before { opacity: 1; }
.coawat-portfolio-card:hover:after, .coawat-portfolio-card:focus-within:after { opacity: 1; animation: coawat-portfolio-shimmer 1.05s ease forwards; }
.coawat-portfolio-card .elementor-widget { position: relative; z-index: 1; }
.coawat-portfolio-card .elementor-widget-image img { display: block; width: 100%; height: auto; border-radius: 15px; transition: transform .5s ease, filter .5s ease; }
.coawat-portfolio-card:hover .elementor-widget-image img, .coawat-portfolio-card:focus-within .elementor-widget-image img { transform: scale(1.018); filter: saturate(1.06); }
.coawat-portfolio-card-title .elementor-heading-title { line-height: 1.25; overflow-wrap: anywhere; }
.coawat-portfolio-card-copy .elementor-widget-container { line-height: 1.7; }
.coawat-card-training { border-top: 4px solid #12a86b; }
.coawat-card-workshops { border-top: 4px solid #f59e0b; }
.coawat-card-publications { border-top: 4px solid #2563eb; }
.coawat-card-institutional { border-top: 4px solid #7c3aed; }
.coawat-card-digital { border-top: 4px solid #0891b2; }
.coawat-card-nutrition { border-top: 4px solid #e11d48; }
.coawat-portfolio-closing {
  border-radius: 24px; background: radial-gradient(circle at 90% 0%, rgba(20,184,166,.25), transparent 38%), linear-gradient(120deg,#071c55,#0d4b9a 70%,#087f8c);
  box-shadow: 0 16px 42px rgba(9,45,108,.18);
}
.coawat-portfolio-closing .elementor-widget { position: relative; z-index: 1; }
@keyframes coawat-portfolio-shimmer { 0% { left: -70%; } 100% { left: 145%; } }
@media (max-width: 767px) {
  .coawat-portfolio-hero { border-radius: 22px; }
  .coawat-portfolio-hero .elementor-column { width: 100% !important; }
  .coawat-portfolio-main-title .elementor-heading-title { font-size: 42px; }
  .coawat-portfolio-bengali-title .elementor-heading-title { font-size: 24px !important; }
  .coawat-portfolio-hero-right { margin-top: 10px; }
  .coawat-portfolio-card { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .coawat-portfolio-card, .coawat-portfolio-card:before, .coawat-portfolio-card:after, .coawat-portfolio-card img, .coawat-hero-chip .elementor-heading-title { transition: none !important; animation: none !important; }
}
