/*B5v2.1 082025*/
/* --- 1. Global & Root --- */
@import url(https://fonts.googleapis.com/css2?family=Catamaran:wght@400;600;700&family=Montserrat:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap);
:root {
  --white: #FFFFFF;
  --black: #000000;
  --primary: #771B61; /*BRAND COLOR - UPMC Purple, Pantone 255 C*/
  --secondary: #904199; /*BRAND COLOR - Medium Purple, Pantone 2592 C*/
  --success: #C7B4E2; /*BRAND COLOR - Light Lavender, Pantone 2635 C*/
  --teal: #0092B4; /*BRAND COLOR - UPMC Blue, from upmcpinnaclefoundation.org brand-blue*/
--light: color-mix(in srgb, var(--secondary) 90%, transparent 0%);
--dark: color-mix(in srgb, var(--primary), var(--black) 70%);
--danger: color-mix(in srgb, var(--black), var(--primary) 10%);
--warning: #CDDC29;
--info: color-mix(in srgb, var(--primary), var(--secondary) 40%);
}
*{ box-sizing: border-box; }
html, body { background-color: var(--white); font-family: 'Catamaran', sans-serif; font-size: 18px; font-weight: 400; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none !important; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-2 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
ul { list-style: none; margin: 0; padding: 0; }
p { color: var(--black); line-height: 28px; }
img { max-width: 100%; height: auto; }
ul.square-list { margin-inline-start: 20px; }
ul.square-list > li { list-style-type: square; }
.object-fit-cover { width: 100%; height: 100%; object-fit: cover; }
:focus-visible { outline: 2px dashed var(--primary); outline-offset: 1px; }
.offscreen { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(1px 1px 1px 1px); }
.skip-to-content.offscreen:focus { position: relative; display: inline; }
legend { font-size: 16px; margin-top: 15px; }
.form-group { margin-bottom: 15px !important; }

/* --- 2. Utilities --- */
.bg-dark { background-color: var(--black) !important; color: var(--white) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-danger { background-color: var(--danger) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-black { background-color: var(--black) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-dark { color: var(--dark) !important; }
.text-light { color: var(--light) !important; }
.text-white { color: var(--white) !important; }
.text-black { color: var(--black) !important; }
.border-primary { border-color: var(--primary) !important; }
.border-secondary { border-color: var(--secondary) !important; }
.border-success { border-color: var(--success) !important; }
.border-danger { border-color: var(--danger) !important; }
.border-warning { border-color: var(--warning) !important; }
.border-info { border-color: var(--info) !important; }
.border-dark { border-color: var(--dark) !important; }
.border-light { border-color: var(--light) !important; }
.border-white { border-color: var(--white) !important; }
.border-black { border-color: var(--black) !important; }

/* --- 3. Header (Revised for Flexible Height) --- */
.background-header { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 100; transition: all .5s ease; }
.header-area { background-image: url(../images/bg-pattern.png), linear-gradient(to right, #4d104a, #842581); position: relative; transition: all .5s ease; z-index: 100; }
.header-area .main-nav { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; }
.header-area .main-nav .logo { flex-shrink: 0; }
.header-area .main-nav a.logo > img { display: block; height: 10px !important; width: auto !important; max-width: none !important;margin: 10px 0; }
.header-area .main-nav .nav { display: none; align-items: center; gap: 15px; }
.header-area .main-nav .nav li a { display: block; color: var(--white); font-size: 15px; font-weight: 700; padding: 10px 0; transition: all 0.3s ease; text-transform: uppercase; }
.header-area .main-nav .nav li:hover a, .header-area .main-nav .nav li a.active { color: var(--warning) !important; }
.background-header .main-nav .nav li:hover a, .background-header .main-nav .nav li a.active { color: var(--warning) !important; }
.header-area .main-nav .nav li.has-sub { position: relative; padding-right: 15px; }
.header-area .main-nav .nav li.has-sub:after { color: var(--white); content: "\f107"; font-family: FontAwesome; font-size: 12px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.header-area .main-nav .nav li.has-sub:hover ul.sub-menu { opacity: 1; transform: translateY(0); visibility: visible; z-index: 1; }
.header-area .main-nav .nav li.has-sub ul.sub-menu { background: var(--white); box-shadow: 0 2px 28px rgba(0,0,0,.06); opacity: 0; position: absolute; top: 100%; transform: translateY(1em); transition: all .3s; visibility: hidden; width: 200px; }
.header-area .main-nav .nav li.has-sub ul.sub-menu li a { color: var(--black) !important; font-size: 13px; font-weight: 400; padding: 10px 20px; border-bottom: 1px solid var(--info); }
.header-area .main-nav .nav li.has-sub ul li a:hover { background: var(--success); color: var(--primary) !important; padding-left: 25px; }
.header-area .main-nav .menu-trigger { cursor: pointer; display: block; height: 40px; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); text-indent: -9999em; width: 32px; z-index: 99; }
.header-area .main-nav .menu-trigger span, .header-area .main-nav .menu-trigger span:before, .header-area .main-nav .menu-trigger span:after { background-color: var(--white); display: block; height: 2px; position: absolute; transition: all 0.4s; width: 30px; }
.header-area .main-nav .menu-trigger span:before, .header-area .main-nav .menu-trigger span:after { content: ""; }
.header-area .main-nav .menu-trigger span { top: 16px; }
.header-area .main-nav .menu-trigger span:before { top: -10px; transform-origin: 33% 100%; }
.header-area .main-nav .menu-trigger span:after { top: 10px; transform-origin: 33% 0; }
.header-area .main-nav .menu-trigger.active span { background-color: transparent; }
.header-area .main-nav .menu-trigger.active span:before { background-color: var(--white); transform: translateY(6px) translateX(1px) rotate(45deg); }
.header-area .main-nav .menu-trigger.active span:after { background-color: var(--white); transform: translateY(-6px) translateX(1px) rotate(-45deg); }
.sub-header { font-size: .84rem; background-color: var(--warning); font-weight: 700; text-transform: uppercase; color: #4D104A; }
.sub-header a { color: #4D104A; }

/* --- 4. Page Sections & Components --- */
.section-heading { color: var(--primary); display: inline-block; border-bottom: 3px solid var(--primary); padding-bottom: 12px; text-transform: uppercase; }
section.heading-page, section.landing-header, section.donor-header { background-repeat: no-repeat; background-size: cover; padding: 80px 0 60px; text-align: center; }
section.heading-page { background-image: url(../images/bg-pattern.png), linear-gradient(to right, #016982, #0092B4); background-repeat: repeat, no-repeat; background-size: auto, cover; background-position: center; }
section.landing-header { background-image: url(../images/bg-pattern.png), linear-gradient(to right, #016982, #0092B4); background-repeat: repeat, no-repeat; background-size: auto, cover; background-position: center; }
section.donor-header { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(/assets/images/donor-bg.jpg); background-position: center center; }
section.heading-page h6, section.heading-page .h6, section.landing-header h6, section.landing-header .h6, section.donor-header h6, section.donor-header .h6 { color: var(--white); font-size: 15px; letter-spacing: 1px; margin-top: 0; }
section.heading-page h2, section.heading-page .h2, section.landing-header h2, section.landing-header .h2, section.donor-header h2, section.donor-header .h2 { color: var(--white); font-size: 38px; letter-spacing: 1px; margin: 20px 0; }
section.landing-page, section.donor-page, section.downloads-page { padding-top: 30px; padding-bottom: 0; }
.main-banner { position: relative; max-height: 400px; overflow: hidden; background-color: var(--black); height: 400px; }
#bg-video { width: 100%; height: 400px; z-index: 0; overflow: hidden; }
.owl-main.owl-carousel .owl-item img { width: 100%; height: 400px; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; }
.main-banner .caption { width: 100%; background-color: rgba(77, 16, 74, 0.85); padding: 16px 0; color: var(--white) !important; pointer-events: all; }
.services { margin-top: -135px; position: absolute; width: 100%; }
.services .item { background: var(--primary); background-position: center; background-repeat: no-repeat; background-size: cover; border-radius: 20px; color: var(--white); padding: 40px; text-align: center; }
.services .item .icon { margin: 0 auto; max-width: 100px; }
.services .item p { color: var(--white); font-size: 13px; }
.services .item p.h4 > a { color: var(--white); font-size: 18px; font-weight: 700; margin: 25px 0 15px; }
.owl-custom-nav .owl-nav { display: none; }
.owl-custom-nav .owl-nav .owl-prev span, .owl-custom-nav .owl-nav .owl-next span { opacity: 0; }
.owl-custom-nav .owl-nav .owl-prev, .owl-custom-nav .owl-nav .owl-next { position: absolute; top: 50%; transform: translateY(-50%); outline: none; transition: opacity .5s; }
.owl-custom-nav .owl-nav .owl-prev:before, .owl-custom-nav .owl-nav .owl-next:before { background-color: var(--white); border-radius: 50%; color: var(--black); display: inline-block; font-family: 'FontAwesome'; font-size: 25px; font-weight: 700; height: 50px; line-height: 50px; width: 50px; }
.owl-custom-nav .owl-nav .owl-prev:hover, .owl-custom-nav .owl-nav .owl-next:hover { opacity: 0.9; }
.owl-custom-nav .owl-nav .owl-prev { left: -80px; }
.owl-custom-nav .owl-nav .owl-prev:before { content: '\f104'; }
.owl-custom-nav .owl-nav .owl-next { right: -85px; }
.owl-custom-nav .owl-nav .owl-next:before { content: '\f105'; }
.image-extend-right-wrapper { width: 100%; }
.image-extend-right-wrapper img { width: 100%; height: auto; display: block; }
.society-section { background-image: url(../images/bg-pattern.png), linear-gradient(to right, #4d104a, #842581); }
.society-label { color: var(--white); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; margin-bottom: .5rem; }
.society-quote { color: var(--white); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.3; }
.society-link { color: var(--white); font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .05em; text-decoration: underline !important; }
.society-link:hover { color: var(--warning); }
.contact-us { background-image: url(../images/bg-pattern.png), linear-gradient(to right, #C7B4E2, #ffffff); padding: 60px 0; }
section.contact-us h2 { color: var(--primary); }
.right-info { background-color: var(--white); padding: 1.5rem; border: 1px solid color-mix(in srgb, var(--success) 60%, transparent); }
.give-card-photo { width: 100%; height: 200px; object-fit: cover; }
.give-item-lead-in { color: var(--info); }
/* Card Base & Hover Interaction */
.give-item { border-radius: 0; border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 10%, transparent); }
.give-item:hover { transform: translateY(-6px); box-shadow: 0 16px 40px color-mix(in srgb, var(--primary) 22%, transparent) !important; }
.give-card-photo { width: 100%; height: 220px; object-fit: cover; display: block; }
.give-card-badge { position: absolute; bottom: 0; right: 0; background-color: var(--teal); color: var(--white); text-transform: uppercase; font-size: .7rem; font-weight: 700; padding: .25rem .6rem; letter-spacing: .08em; }
.give-card-title { color: var(--primary); }
.give-card-title:hover { color: var(--teal); }
.give-card-cta { display: block; color: var(--primary) !important; text-decoration: underline !important; font-weight: 700; text-transform: uppercase; text-align: right; font-size: .875rem; border-top: 3px solid var(--success)!important; padding: .75rem 1.5rem 1.5rem; }
.give-card-cta:hover { color: var(--secondary) !important; border-color: var(--secondary); }
.hero-caption-below { background-color: color-mix(in srgb, var(--success) 18%, white); border-bottom: 2px solid color-mix(in srgb, var(--success) 60%, transparent); }
.give-card-icon-wrap svg { width: 80px; height: 80px; display: block; }
.give-card-icon-wrap .st0 { fill: var(--warning) !important; }
.our-courses .item .down-content { background-color: var(--white); height: 100%; }
.our-courses .item .down-content h3.h4 { border-bottom: 1px solid var(--light); color: var(--primary); font-size: 18px; padding: 25px; text-align: center; font-weight: 700; }
.our-courses .item .down-content .info { padding: 25px; }
.our-courses .item .down-content .info ul li { display: inline-block; margin-right: 1px; }
.our-courses .item .down-content .info ul li i { color: var(--primary); font-size: 14px; }
.our-courses .item .down-content .info span { color: var(--primary); display: inline-block; font-size: 15px; font-weight: 700; text-align: right; width: 100%; }
.our-courses .owl-dots { display: inline-block; margin-top: 40px; text-align: center; width: 100%; }
.our-courses .owl-dots .owl-dot { background-color: var(--white); border-radius: 50%; height: 7px; margin: 0px 5px; outline: none; transition: all .5s; width: 7px; }
.our-courses .owl-dots .active { border-radius: 4px; height: 8px; width: 24px; }
.services .owl-stage, #donors .owl-stage { display: flex; }
.services .owl-item, #donors .owl-item { display: flex; align-items: stretch; }
.services .item, #donors .item { height: 100%; }
.donors-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.donor-controls { display: flex; align-items: center; gap: 10px; }
.donor-controls .custom-nav-btn { background: none; border: none; color: var(--info); font-size: 24px; cursor: pointer; padding: 5px; line-height: 1; }
.donor-controls .custom-nav-btn:hover { color: var(--dark); }
.donor-controls .owl-stop-button { width: 40px; height: 40px; background-color: var(--info); border: none; border-radius: 50%; color: var(--dark); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.donor-controls .owl-stop-button:hover { background-color: #ddd; }
#donors .card {border-radius: 0;}
section.contact-us #contact input:not([type='submit']) { background-color: var(--white); border: none; height: 40px; margin-bottom: 10px; outline: none; padding: 0px 15px; width: 100%; }
section.contact-us #contact textarea { background-color: var(--white); border: none; border-radius: 20px; color: #7a7a7a; font-size: 13px; margin-bottom: 30px; max-height: 180px; min-height: 140px; outline: none; padding: 15px; width: 100%; }
section.contact-us #contact button { background-color: var(--primary); border: none; color: var(--white); display: inline-block; font-size: 13px; font-weight: 700; outline: none; padding: 12px 30px; transition: all .3s; }
section.contact-us #contact button:hover { opacity: 0.9; }
section.contact-us .right-info-2 { background-color: color-mix(in srgb, var(--secondary) 12%, white); border: 1px solid color-mix(in srgb, var(--success) 60%, transparent); text-align: left; color: var(--dark) !important; }
section.contact-us .right-info-2 h2 { color: var(--primary); font-size: 1.15rem; font-weight: 700; border-bottom: 2px solid var(--success); padding-bottom: 0.6rem; margin-bottom: 0.75rem; }
.contact-image { border-radius: 0; max-width: 100px; margin-bottom: 0; border: 3px solid var(--success); }
#radio1, #radio2, #radio3 { height: 15px !important; display: inline-block; width: auto !important; margin-bottom: 0 !important; }
#contactForm label, label { display: inline-block !important; }
._checkbox-radio { display: flex; }
._checkbox-radio input { width: 15px !important; height: 15px !important; }
.donor-image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 75%; }
.donor-image-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;border-radius:0}

/* --- 5. Buttons --- */
.btn { border-radius: 0px; text-align: left !important; }
.btn-primary {color: var(--white);border-color: var(--primary); background-color: var(--primary); cursor: pointer; transition: all 0.2s ease-in-out; }
.btn-primary:hover, .btn-primary:focus { color: var(--white); background-color: var(--black); border-color: var(--black); text-decoration: none; }
.btn-primary:focus { outline: 0; box-shadow: 0 0 0 0.25rem var(--light); }
.btn-primary:disabled, .btn-primary.disabled { color: var(--primary); background-color: transparent; border-color: var(--primary); opacity: 0.65; cursor: not-allowed; pointer-events: none; }

/* --- 6. Footer --- */
.footer-section { font-size: .75rem; padding: 1rem; }

/* --- 7. Media Queries --- */
@media (max-width: 991px) {
  .mobile-top-fix { margin-top: 30px; }
  .mobile-bottom-fix { margin-bottom: 30px; }
  .mobile-bottom-fix-big { margin-bottom: 60px; }
  .h-100 { height: auto !important; }
  .main-banner .caption h4 { font-size: 18px; margin-bottom: 0; }
  .services { margin-top: -135px; }
  section.upcoming-how-to-give { padding: 20px 0 0; }
  section.upcoming-how-to-give .categories { margin: 0 0 30px; }
  section.contact-us #contact { margin-bottom: 30px; }
  section.society-section { padding: 30px 0; }
  section.our-courses, section.contact-us { padding-top: 30px; padding-bottom: 20px; }
}
@media (max-width: 767px) {
  .header-area { padding: 0 15px; }
  .header-area .main-nav .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-image: url(../images/bg-pattern.png), linear-gradient(to right, #4d104a, #842581); }
  .header-area .main-nav .nav li { width: 100%; padding: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .header-area .main-nav .nav li:first-child { border-top: 1px solid rgba(255,255,255,0.2); }
  .header-area .main-nav .nav li a { color: var(--white) !important; padding: 15px 20px !important; height: auto !important; line-height: normal !important; }
  .header-area .main-nav .nav li a:hover { background: rgba(255,255,255,0.15) !important; color: var(--white) !important; }
  .header-area .main-nav .nav li.has-sub ul.sub-menu { display: none; }
  .display-2 { font-size: calc(1.2rem + 1.9vw); }
  .donor-controls { display: none; }
}
@media (min-width: 768px) {
  .header-area .main-nav .nav { display: flex !important; }
  .header-area .main-nav .menu-trigger { display: none !important; }
  .owl-nav { display: none; }
}
@media (min-width: 992px) {
  .image-extend-right-wrapper { width: calc(100% + 100px); }
  .image-extend-right-wrapper img { max-width: none; }
  .header-area .main-nav a.logo > img { height: 20px !important; margin:15px 0 }
  .header-area .main-nav a.logo  {margin:15px 0 }
}
@media (min-width: 1006px) {
  .owl-custom-nav .owl-nav { display: block !important; }
}

/* --- 8. Print Styles --- */
@media print {
  .print-logo { height: auto; max-height: 48px; max-width: 220px; width: auto; margin: 0; align-self: center; }
  .print-header-text { font-size: 10px; line-height: 1.7; list-style: none; margin: 0; padding: 0; text-align: right; align-self: center; }
  .print-header-wrap { border-bottom: 2px solid #771B61; padding-bottom: .75rem; margin-bottom: 1rem; }
  body, p, blockquote { font-size: 13px; line-height: 18px; }
  h1, .h1 { font-size: 28px; }
  h2, .h2 { font-size: 21px; }
  h3, .h3 { font-size: 18px; }
  h4, .h4 { font-size: 16px; }
  h5, .h5 { font-size: 14px; }
  h6, .h6 { font-size: 12px; }
  .mb-3 { margin-bottom: 10px !important; }
  .container { width: 100% !important; max-width: 100% !important; }
  .footer-section, .header-area, .sub-header, section.heading-page, section.landing-header { display: none !important; }
  footer .btn { display: none !important; }
  html { height: 100%; }
  body { display: flex; flex-direction: column; min-height: 100%; }
  main { flex: 1 0 auto; }
  footer { flex-shrink: 0; padding-top: 2em; }
  footer .container, footer p { margin: 0 !important; padding: 0 !important; }
}
@page { size: 8.5in 11in; margin: .5in; }