/*B5v2.1 082025*/
/* --- 1. Global & Root --- */
  @import url("https://use.typekit.net/xxu0mug.css");
:root {
  --white: #FFFFFF;
  --black: #000000;
  --primary: #002F6C; /*BRAND COLOR*/
  --secondary: #98D5FF; /*BRAND COLOR*/
  --success: #D5D5D5; /*BRAND COLOR*/
--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(--white) 0%, var(--secondary) 10%);
--warning: color-mix(in srgb, var(--black), var(--secondary) 20%);
--info: color-mix(in srgb, var(--primary), var(--secondary) 40%);
}
*{ box-sizing: border-box; }
html, body { background-color: var(--white); font-family: avenir-next-lt-pro-condensed, sans-serif;
font-size: 16px; 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: avenir-next-lt-pro-condensed, sans-serif; font-weight: 700; }
ul { list-style: none; margin: 0; padding: 0; }
p { color: var(--black); line-height: 25px; }
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-color: var(--white); 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: 30px; width: auto; }
.header-area .main-nav .nav { display: none; align-items: center; gap: 15px; }
.header-area .main-nav .nav li a { display: block; color: var(--black); font-size: 16px; font-weight: 700; padding: 10px 0; transition: all 0.3s ease; }
@media screen  and (min-width: 768px) { .header-area .main-nav .nav li a {font-size: clamp(13px, 2px + 1.319vw, 16px);}}
.header-area .main-nav .nav li:hover a, .header-area .main-nav .nav li a.active { color: var(--primary) !important; }
.background-header .main-nav .nav li:hover a, .background-header .main-nav .nav li a.active { color: var(--primary) !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(--black); 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(--black); transform: translateY(6px) translateX(1px) rotate(45deg); }
.header-area .main-nav .menu-trigger.active span:after { background-color: var(--black); transform: translateY(-6px) translateX(1px) rotate(-45deg); }
.sub-header {font-size:.84rem;}

/* --- 4. Page Sections & Components --- */
section.heading-page, section.landing-header, section.donor-header { background-repeat: no-repeat; background-size: cover; padding: 230px 0 110px; text-align: center; }
section.heading-page { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(/assets/images/heading-bg.jpg); background-position: center 10%; }
section.landing-header { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(/assets/images/landing-bg.jpg); background-position: center 15%; }
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: 36px; letter-spacing: 1px; margin: 20px 0; }
section.landing-page, section.donor-page, section.downloads-page { padding-top: 30px; padding-bottom: 0; }
/* Layout & Height Fixes */
/* Slider Base & Heights */
.main-banner { height: 600px; } 
.owl-main, .owl-main .owl-stage-outer, .owl-main .owl-stage, .owl-main .owl-item, .owl-main .slider-img { height: 600px !important; }/* Sidebar Styling */
.video-overlay {background: linear-gradient(to right, rgba(255, 255, 255,1), transparent);}
.caption-sidebar { width: 100%; max-width: 420px;  }
/*.caption-sidebar { width: 100%; max-width: 420px; background-color: var(--light); border-right: 6px solid var(--primary); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 10px 0 30px rgba(0,0,0,0.1); }*/
.pe-none { pointer-events: none; } .pe-auto { pointer-events: auto; }
/* Buttons */
.btn-carousel { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primary); background: rgba(255,255,255,0.95); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: 0.3s; cursor: pointer; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-carousel:hover { background: var(--primary); color: var(--white) }
/* Mobile Fixes (Natural Stack) */
@media (max-width: 991px) { .main-banner { height: auto; display: flex; flex-direction: column; } .slider-wrapper, .owl-main, .owl-stage-outer, .owl-stage, .owl-item, .slider-img { height: 350px !important; } .video-overlay { position: relative !important; width: 100%; height: auto !important; } .caption-sidebar { max-width: 100%; border-right: none; border-bottom: 6px solid var(--primary); padding: 2.5rem 1.5rem !important; } }
.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('/assets/images/parallax.jpg'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
/* Card Base & Hover Interaction */
.transition { transition: all 0.35s ease-in-out; }
.give-item { border-top: 5px solid var(--primary) !important; border-radius: 8px; }
.give-item-lead-in {letter-spacing: 1.5px;font-weight:bold;}
.give-item:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; }
/* Icon & Icon Box Styling */
.give-icon { fill: var(--primary) !important; height:30px; width:30px; transition: all 0.3s ease-in-out; }
.icon-box { background: var(--light) !important; border: 2px solid var(--primary) !important; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; height: 60px; width: 60px; transition: all 0.3s ease-in-out; }
.give-item:hover .icon-box { background: var(--primary) !important; border-color: var(--primary) !important; transform: scale(1.05); }
.give-item:hover .give-icon { fill: var(--white) !important; }
/* Typography & Button */
.give-item h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.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;}
.donor-card { background: var(--white); border-top: 5px solid var(--primary) !important; border-radius: 8px; overflow: hidden; height: 100%; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.35s ease-in-out; }
.donor-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; }
.donor-card-image { width: 100%; aspect-ratio: 1 / 1.4; overflow: hidden; position: relative; }
.donor-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
#donors .owl-stage, #donors .owl-item { display: flex; }
.donor-image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 135%; }
.donor-image-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;border-radius:0}
/*Knight Thumbs*/
.knight-card {border-top: 5px solid var(--primary) !important; border-radius: 8px; background-color: var(--white); transition: all 0.3s ease; overflow: hidden; height: 100%; display: block; text-decoration: none;}
.knight-card:hover {transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; cursor: pointer;}
.knight-thumb {aspect-ratio: 1 / 1; width: 100%; object-fit: contain; padding: 15px; display: block;}
/* Contact Section Base */
.contact-us { background-color: #f8f9fa; }
.contact-image { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); }
/* Form Styling */
#contact input:not([type='submit']), #contact select { background-color: var(--white); border: 1px solid #dee2e6; border-radius: 4px; height: 48px; margin-bottom: 15px; padding: 0 15px; width: 100%; transition: border-color 0.3s; }
#contact textarea { background-color: var(--white); border: 1px solid #dee2e6; border-radius: 4px; padding: 15px; width: 100%; min-height: 120px; margin-bottom: 20px; transition: border-color 0.3s; }
#contact input:focus, #contact textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary), transparent 85%); }
/* Promo Card (Advisor Box) */
.promo-card { border-top: 5px solid var(--primary) !important; border-radius: 8px; position: relative; }
.promo-card h3 { font-size: 1.5rem; }
/* Form Label & Radio Styling */
#contactForm label, .form-label { font-weight: 700; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 8px; display: block; }
._checkbox-radio { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 10px; background: #fff; border-radius: 4px; border: 1px solid #eee; }
._checkbox-radio input { width: 18px !important; height: 18px !important; cursor: pointer; }

/* --- 5. Buttons --- */
.btn { border-radius: 4px; text-align: left !important; font-weight:700}
.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 h2 { font-size: 22px; margin-bottom: 10px; margin-top: 10px; }
    .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: var(--white); }
    .header-area .main-nav .nav li { width: 100%; padding: 0 !important; border-bottom: 1px solid var(--info); }
    .header-area .main-nav .nav li:first-child { border-top: 1px solid var(--info); }
    .header-area .main-nav .nav li a { color: var(--dark) !important; padding: 15px 20px !important; height: auto !important; line-height: normal !important; }
    .header-area .main-nav .nav li a:hover { background: var(--success) !important; color: var(--primary) !important; }
    /* SPECIFIC FIX FOR MOBILE HOVER */
    .header-area .main-nav .nav li a.btn-primary:hover { background: var(--black) !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; }
    /* SPECIFIC FIX FOR DESKTOP HOVER */
    .header-area .main-nav .nav li a.btn-primary:hover { background-color: var(--black) !important; border-color: var(--black) !important; color: var(--white) !important; }
}

@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: 60px; }
}

@media (min-width: 1006px) {
    .owl-custom-nav .owl-nav { display: block !important; }
}

/* --- 8. Print Styles --- */
@media print {
  .print-logo { height: 75px; width: auto; margin: 0;filter: none !important; -webkit-print-color-adjust: exact; }
  .print-header-text { font-size: 11px; list-style: none; padding: 0; margin: 0; }
  .text-primary { color: var(--primary) !important; }
  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 { 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; }