/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* 

@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1800px;
  }

  footer .footer-links {
    padding-top: 5%
  }
}

*/

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}



/*=====================================*/

body{
  background-color: #fff;
  font-family: "Public Sans", Helvetica, sans-serif;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

body p {
  font-family: "Public Sans", Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Public Sans", Helvetica, sans-serif;
  font-weight: 800;
}

img{
  width: 100%;
}
a{
  color:#0072ce;
}

.logo{
  width: 100%;
  max-width: 160px;
}

.logo-blue {
  padding: 8px 16px 8px 16px;
}

.logo-lockup {
  padding: 8px 16px 8px 16px;
}

.img-tile-overlay{
  position: relative;
}
.img-tile-overlay:hover .img-tile {
  opacity: 0.3;
}
.img-tile-overlay:hover .middle {
  opacity: 1;
}
.img-tile {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.overlay-text {
  background-color: #4CAF50;
  color: white;
  font-size: 20px;
  padding: 16px 32px;
  color: #fff;
}
.navbar{
  padding:0px;
  background-color: #fff;
}

.navbar-brand {
  margin: 0 !important;
  padding-left: 1%;
}

.navbar-nav{
  position: relative;
  text-align: center;
}

.navbar-light .navbar-nav .nav-link {
    padding: 40px 20px !important;
    color: #003087 !important;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link .donate {
  color:#fff !important;
}

.navbar-light .navbar-nav .nav-link.active{
  color: #003087 !important;
}
.navbar-light .navbar-nav .nav-link:hover {
  background-color:#0072ce;
  color:#fff !important;
}

.navbar-light .navbar-nav .donate {
  background-color:#003087;
  color:#fff !important;
}
.navbar-light .navbar-nav .donate:hover {
  background-color:#0072ce;
  color:#fff;
}



.navbar-light .navbar-nav .dp-courses:hover {
  background-color:#3DC9EB !important;
  color:#003087;
}

.navbar-light .navbar-nav .dp-systems:hover {
  background-color:#a1e1ff !important;
  color:#003087;
}

.navbar-light .navbar-nav .dp-courses:active {
  background-color:#3DC9EB !important;
  color:#003087;
}

.navbar-light .navbar-nav .dp-systems:active {
  background-color:#a1e1ff !important;
  color:#003087;
}

.navbar-light .navbar-toggler {
  color: #003087;
  border-color: rgba(0, 0, 0, 0);
}

.navbar-light .navbar-toggler:focus {
  outline: none;
  border-radius: 0; 
}

.navbar-light .navbar-toggler:active {
  outline: none;
}

.navbar-light .navbar-toggler-icon {
  background-image: url(hamburger.svg);
}

.about-active {
  background-color: #0072ce !important;
  color: #fff !important;
}

.dp-active {
  background-color: #003087;
  color: #fff !important;
}

.dp-courses-active {
  background-color: #3DC9EB !important;
  color: #003087;
}

.dp-systems-active {
  background-color: #a1e1ff !important;
  color: #003087;
}

.dropdown-menu{
  background-color: #003087;
  width: 100%;
  text-align:center;
  color:#fff;
  top: 97%;
  border-radius: 0;
/*    left: 8%;*/

}
.dropdown-menu .nav-item.nav-link{
  padding: 10px 20px  !important;
  color:#fff !important;
}

.dropdown-menu .nav-item.nav-link:hover{
  background-color:#0072ce;
  color:#fff !important;
}

button.navbar-toggler {
    right: 1%;
    position: relative;
}
.overlay-text span{
    font-size: 14px;
    line-height: 20px;
    padding-top: 18px;
    display: inline-block;
    text-align: center;
    color: #fff;
    overflow: hidden;
}


.row-space{
  padding-top: 40px;
  padding-bottom: 40px;
}
.blue-bg{
  position: relative;
  background-color: #003087;
  overflow: hidden;
}

.cloud-blue-bg{
  position: relative;
  background-color: #eaf5ff;
  overflow: hidden;
}

.bold-blue-bg {
  position: relative;
  background-color: #0072ce;
  overflow: hidden;
}

.sky-blue-bg {
  position: relative;
  background-color: #3DC9EB;
  overflow: hidden;
}

.light-blue-bg {
  position: relative;
  background-color: #a1e1ff;
  overflow: hidden;
}

/* White Laurel Background Styling */
.laurel-white-bg {
  background-color: #fff;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

img.white-laurel {
  position: absolute;
  width: 100%;
  max-width: 400px;
  height: auto;
  left: 0;
  top: 50%;
  transform: translateY(-48%);
  pointer-events: none;
}

/* Ensure content appears above the laurel */
.laurel-white-bg * {
  position: relative;
  z-index: 2;
}

.p .director {
  font-family: "Public Sans", Helvetica, sans-serif;
  text-transform: uppercase;
  color:#003087;
  font-weight:600;
  font-size: 1rem;
  text-align:left;
  padding:0;
  margin:0;
}

.parallax-index {
  background-image: url('3_HomePage_Secondary.jpg');
  height: 480px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-systems {
  background-image: url('2_IB_DP_SystemsTransformation_Secondary.jpg');
  height: 480px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.index-box-1 {
  padding:90px 20px;
  color: #003087;
/*color:#003087;*/
  width: 100%;
  max-width: 870px;
  display:block;
  margin:0 auto;
  text-align:center;
  font-size: 32px;
  line-height: 48px;
  overflow: hidden;
  font-weight:700;
}

.index-box-1 h1 {
  font-size:32px;
}

.index-box-2 {
  padding:20% 16%;
  color: #fff;
/*color:#003087;*/
  width: 100%;
  max-width: 870px;
  display:block;
  margin:0 auto;
  text-align:left;
  font-size: 24px;
  line-height: 36px;
  overflow: hidden;
}

.hero-box {
  padding: 2% 40px;
  color: #000;
  margin:0 auto;
  width: 100%;
  max-width: 1080px;
  display: block;
}

.index-box-3 {
  padding:2% 40px;
  color: #000;
  width: 100%;
  max-width: 1080px;
  display:block;
  margin:0 auto;
  text-align:left;
  font-size: 18px;
  line-height: 32px;
  overflow: hidden;
}

.index-box-3 h1 {
  font-family: "Public Sans", Helvetica, sans-serif;
  color:#0072ce;
  font-size: 3rem;
  font-weight:800;
  line-height: 2rem;
}

.index-box-3 h2 {
  font-family: "Public Sans", Helvetica, sans-serif;
  color:#003087;
  font-size: 1.6rem;
  font-weight:400;
  line-height: 2rem;
}

.dp-box {
  justify-content: center;
  align-content: center;
  align-items: center;
  display: block;
  font-size:15px;
  line-height: 24px;
  color:#fff;
  min-height: 120px;
  width: 100%;
  padding: 2%;
  text-align: center;
}

.dp-box a {
  color: #fff;
  text-decoration: none;
}

.index-box-4 {
  padding: 4% 0 4% 40%;
  color: #003087;
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  min-height: 100%; /* Ensures div takes full height of its container */
  margin: 0 auto;
  text-align: left;
  overflow: hidden;
}

.index-box-4 h1 {
  font-family: "Public Sans", Helvetica, sans-serif;
  font-size: 2rem;
  margin: 0; /* Remove default margins */
  font-weight: 800;
}

.index-box-4 p {
  font-size: 1rem;
  line-height: 2rem;
  margin-top: 1rem; /* Add specific spacing */
}

.index-box-4 p em {
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 800;
}

/* Ensure the parent container has proper height */
.cloud-blue-bg .row {
  min-height: 300px; /* Adjust this value based on your needs */
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .index-box-4 {
    padding: 8% 20px;
  }
  
  .index-box-4 h1 {
    font-size: 1.75rem;
  }
}

.card {
  border-radius: 0 !important;
}

.fixed-card {
  width: 300px; /* Set the desired fixed width */
  min-height: 400px; /* Set the desired minimum height */
  margin: 0 auto; /* To center the card within the column */
  border: 0;
  font-size: 16px;
  line-height: 24px;
  font-family: "Public Sans", Helvetica, sans-serif;
  font-weight:400;
  text-align:left;
}

.fixed-card h5 {
  font-family: "Public Sans", Helvetica, sans-serif;
}

.fixed-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure the button sticks to the bottom */
}

.fixed-card .btn-light {
  color:#003087;
  font-weight: 600;
  background-color: #eaf5ff;
  border:0;
  border-radius: 0 !important;
}

.fixed-card a {
  color:#003087;
}

.blacktext {
  color:#000;
}

.bluetext {
  color:#003087;
}

.directors {
  font-family: "Public Sans", Helvetica, sans-serif;
  color:#000;
  font-size: 0.5em;
  text-align:left;
  font-weight: 500;
  padding: 3% 20%;
  align-items: center !important;
}

.directors h5 {
  font-family: "Public Sans", Helvetica, sans-serif;
  text-transform: uppercase;
  color:#003087;
  font-weight:600;
  font-size: 1rem;
  text-align:left;
  line-height: 0;
  padding:4% 0 0;
  margin:0;
}

.ib-modal {
  cursor: pointer;
}

.modal-content h5 {
  font-family: "Public Sans", Helvetica, sans-serif;
  color: #fff;
}

.modal-content {
  background-color: #003087;
  color: #fff;
}

.modal-content .close {
  color: #fff;
}

.second-box {
  padding:4% 20px;
  color:#000;
/*color:#003087;*/
  width: 100%;
  max-width: 870px;
  display:block;
  margin:0 auto;
  text-align:left;
  font-size: 24px;
  line-height: 32px;
  overflow: hidden;
}

.second-box h1 {
  color:#003087;
  font-size:64px;
  font-weight:700;
}

.second-box h2 {
  color:#0072ce;
  font-size: 1em;
  font-weight:700;
  font-family: "Public Sans", Helvetica, sans-serif;
}

.second-box b {
  color:#003087;
  font-weight:700;
}

.third-box {
  padding:4% 20px;
  color:#000;
  font-weight: normal;
  width: 100%;
  max-width: 870px;
  display:block;
  margin:0 auto;
  text-align:left;
  font-size: 1.25rem;
  line-height: 32px;
  overflow: hidden;
}

.third-box h1 {
  color:#003087;
  font-size: 2em;
  font-weight: 700;
}

.third-box h2 {
  color:#0072ce;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Public Sans", Helvetica, sans-serif;
}

.third-box b {
  color:#003087;
  font-weight:700;
}

.blue-button{
  background-color: #0072ce;
  color:#fff;
  padding: 12px 25px;
  font-size: 20px;
}

.blue-button:hover{
  text-decoration: none;
  background-color: #f1f1f1;
  color: #0072ce;
}

.grid-box{
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  padding:90px 25px;
  color:#fff;
}
img.blue-laurel{
    width: 100%;
    max-width: 320px;
    position: absolute;
}

img.white-laurel{
  width: 100%;
    max-width: 400px;
    position: absolute;
}

.grid-box h2{
  font-weight:700;
    font-size: 48px;
  color: #fff;
  text-transform: uppercase;
}
.grid-box h3{
  margin-top:30px;

}

.advisory-box {
  padding:2% 20px;
  color:#000;
/*color:#003087;*/
  width: 100%;
  max-width: 870px;
  display:block;
  margin:0 auto;
  text-align:left;
  font-size: 24px;
  line-height: 32px;
  overflow: hidden;
  align-items:center;
}

.advisory-box h1 {
  color:#003087;
  font-size:64px;
  font-weight:700;
  text-align: center;
}

.advisory-box h3 {
  font-family: "Public Sans", Helvetica, sans-serif;
  color: #003087;
  font-size: 18px;
  font-weight: 700;
  padding: 8% 0 0;
  text-transform: uppercase;
}

.advisory-box p {
  font-size: 16px;
  line-height: 20px;
}

.advisory-box img {
  max-width: 100%;
}

.headshot {
  padding: 1% 1.5%;
}

.directors p {
  margin:0;
  padding:0;
  line-height: auto;
}

footer{
  display:block;
  overflow: hidden;
  box-sizing: border-box;
  padding: 40px 1%;
  font-size:12px;
}

footer .footer-links{
  color:#fff;
  font-size:12px;
}

footer .footer-links h1{
  color:#fff;
  font-size:24px;
  max-width: 320px;
  font-weight: 500;
}

footer .footer-links a {
  color:#3DC9EB;
  font-size:12px;
}

footer .footer-links a:hover {
  color:#3DC9EB;
}

footer .fa-2xl{
  margin-left:10px;
  display:inline-block;
  color:#003087;
}
span.divider{
  padding:0px 5px;
}



.owl-carousel .owl-dots {
  text-align: center;
  position: absolute;
  background-color: transparent;
  width: 100%;
  padding: 10px 0px;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  margin: 0 auto;
}

.owl-carousel .owl-dots span {
    width:16px;
    height:16px;
    margin:5px 6px 2px;
    /*    background: #aaa !important;*/
    display:block;
    -webkit-backface-visibility:visible;
    -webkit-transition:opacity 200ms ease;
    -moz-transition:opacity 200ms ease;
    -ms-transition:opacity 200ms ease;
    -o-transition:opacity 200ms ease;
    transition:opacity 200ms ease;
    background: transparent !important;
    border: 2px solid #00175a !important;
    border-radius: 25px;

}
.owl-carousel .owl-dots .active span {
  background: #00175a !important;
  
}
.owl-carousel {
  position: relative;
  text-align: center;
  overflow: hidden;
  width: 100%; /* Ensure it stays within container width */
  aspect-ratio: 16 / 9;
}

.owl-carousel .owl-item {
  width: 100%;
  height: auto; /* Remove max-height constraint */
}

.owl-carousel .owl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.owl-carousel .owl-item>div{
  position:relative;
  z-index: 1;
}
.owl-prev, .owl-next {
  position:absolute;
  outline: none;
  top: 50%;
  transform: translateY(-50%);
}

/* Adjustments for different screen sizes */
@media screen and (min-width: 1920px) {
  .owl-carousel,
  .owl-carousel .owl-item,
  .owl-carousel .owl-item img {
    aspect-ratio: 16 / 9;
    object-position: 20% 20% !important;
  }

  .principals-message {
    height: auto;
    padding: 4em;
    background-position: 20% 20% !important;
  }

  .classfunds-hero {
    height: 40vh !important;
  }

  .index-box-4 {
    padding: 4% 0 4% 24%;
  }
}

@media screen and (max-width: 1200px) {
  .owl-carousel,
  .owl-carousel .owl-item,
  .owl-carousel .owl-item img {
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 768px) {
  .owl-carousel,
  .owl-carousel .owl-item,
  .owl-carousel .owl-item img {
    aspect-ratio: 16 / 9;
  }
}

.owl-prev {
  left:50px;
  top:0;
  bottom: 0;
}

.owl-next {
  right:50px;
  top:0;
  bottom: 0;
}
.owl-prev span,.owl-next span{
    font-size: 5rem;
    background-color: #fff;
    padding: 0 10px 20px 10px;
    opacity: .70;
    margin: 0;
    /* margin-top: -20px; */
    display: block;
    color: #000;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot{
  outline: none;
}

.mobile-show{
    display:none;
  }
  .mobile-hide{
    display:block;
  }

p.learn-more-para {
  min-height: 140px;
}


@media all and (max-width: 991px){
  .navbar-light .navbar-nav .nav-link {
      padding: 20px !important;
  }
  
  .dropdown-menu{
    width: 100%;
    text-align: center;
  }

  .headshot .headshot-img {
    max-width: 480px;
  }
  
  .directors h5 {
    line-height: 1rem;
  }

  .navbar-brand {
    padding-left: 0;
  }
  
  .logo-blue {
    padding: 8px 12px 8px 12px;
  }
  
  .logo-lockup {
    padding: 8px 12px 8px 12px;
  }
  
  button.navbar-toggler {
    right: 1%;
    position: relative;
  }
  
  .navbar-collapse {
    padding-top: 1rem;
  }
}
@media all and (max-width: 767px){

  .headshot .headshot-img {
    max-width: 480px;
  }
  
  .directors h5 {
    line-height: 2rem;
  }

}
@media all and (max-width: 600px){
  .logo {
    max-width: 112px;
  }
  
  .logo-blue {
    padding: 8px 8px 8px 8px;
  }
  
  .logo-lockup {
    padding: 8px 8px 8px 8px;
  }

  .mobile-show{
    display:block;
  }
  .mobile-hide{
    display:none;
  }

  /* Fix for testimonial carousel on very small screens */
  .testimonial-box .owl-carousel {
    min-height: 300px;
  }
  
  .testimonial-box .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    padding: 0 5px;
  }
  
  .testimonial-box .owl-carousel .owl-nav button.owl-prev,
  .testimonial-box .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(0, 114, 206, 0.7) !important;
  }
  
  .testimonial-box .owl-carousel .owl-nav button.owl-prev {
    left: 5px;
  }
  
  .testimonial-box .owl-carousel .owl-nav button.owl-next {
    right: 5px;
  }

  /* Original mobile styles */
  .owl-nav{
    position: relative;
    margin:0 auto;
    text-align: center;
    overflow: hidden;
  }
  .owl-prev, .owl-next {
    position:relative;
  }
  .owl-prev {
    left:0;
    top:0;
    bottom: inherit;
    float: left;
  }

  .owl-next {
    right:0;
    top:0;
    bottom: inherit;
    float: right;
  }

  .owl-prev span,.owl-next span{
    font-size: 2rem;
    background-color: #fff;
    padding: 0px;
    opacity: 1;
    margin: 20px auto;
    /* margin-top: -20px; */
    display: inline-block;
    color: #000;
    width: 140px;
  }

  .owl-carousel .owl-dots{
    /*  display: none;*/
    padding: 0px;
    width: 100%;
    display: block;
  }
  .owl-carousel .owl-dots span{
    width:5px;
    height:5px;
    margin: 3px 6px;
    border: 0.5px solid #00175a !important;
  }

  .index-box-1 h1 {
    font-size: 1.5rem;
  }

  .index-box-2 {
    font-size: 1.2rem;
  }

  .index-box-3 {
    font-size: 1rem;
    line-height: 32px;
  }

  .index-box-3 h1 {
    line-height: 3rem;
  }

  .row .dp-box {
    display: block;
  }

  .dp-box {
    min-height: 160px;
    margin: 2%
  }

  .dp-box p {
    align-content: center;
  }

  .parallax-index {
    background-image: none;
    max-height: 300px;
  }

  .parallax-systems {
    background-image: none;
    max-height: 300px;
  }

  .second-box{
    padding:8% 20px;
    font-size: 1rem;
      line-height: 32px;
  }
  .third-box{
    font-size: 1rem;
      line-height: 32px;
  }

  .third-box h2 {
    font-size: 1.1rem;
  }

  .grid-box h2{
    font-size: 36px;
  }
  .footer-links.col-lg-6 {
      text-align: center;
      font-size: 14px;
  }
  .footer-icons{
    text-align: center;
  }

  .row-space{
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .second-box h1 {
    font-size: 2rem;
  }

  p {
    font-size: 12px;
  }

  .directors p {
    line-height: 1.2rem;
  }

  ul {
    font-size: 1rem;
  }

  .advisory-box h1 {
    font-size: 2rem;
    padding: 2% 20px;
  }

  .headshot .headshot-img {
    max-width: 480px;
  }

  .directors h5 {
    line-height: 2rem;
  }

}

@media only screen 
    and (width: 393px) 
    and (height: 852px) 
    and (-webkit-device-pixel-ratio: 3) { 

      .parallax-index {
        background-image: none;
      }
      
      .parallax-systems {
        background-image: none;
      }

}


.classfunds-container {
  background-color: #003087;
}

.sort-buttons {
  display: inline-flex;
  flex-direction: column;
  margin-left: 4px;
}

.sort-btn {
  background: none;
  border: none;
  padding: 0 4px;
  cursor: pointer;
  font-size: 12px;
  color: #666;
}

.sort-btn:hover {
  color: #000;
}

.sort-btn.active {
  color: #003087;
}

.classfunds-container .card {
  background-color: transparent;
  box-shadow: none;
  border: 0;
}

.classfunds-container .card-header {
  background-color: transparent;
  border-bottom: 1px solid #0072ce;
}

.classfunds-container .card-footer {
  background-color: transparent;
  border-top: 1px solid #0072ce;
}

.classfunds-container .table {
  color: #fff;
}

.classfunds-container .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.classfunds-container .text-primary {
  color: #fff !important;
}

.classfunds-container .table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.classfunds-container .sort-btn {
  color: #fff;
}

.classfunds-container .sort-btn:hover {
  color: rgba(255, 255, 255, 0.3);
}

.classfunds-container .sort-btn.active {
  color: #fff;
  font-weight: bold;
}

.classfunds-container .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.classfunds-container .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.classfunds-container .btn-primary {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.classfunds-container .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.classfunds-container .table > :not(caption) > * > *,
.classfunds-container .table > thead > tr > th,
.classfunds-container .table > tbody > tr > td {
    border-color: #0072ce;
}

.classfunds-container .table th,
.classfunds-container .table td {
    border-color: #0072ce;
}

.classfunds-container .table tbody tr {
  border-color: #0072ce;
}

.classfunds-container .fund-details {
  border-color: #0072ce;
}

.classfunds-container .collapse {
  border-color: #0072ce;
}

.classfunds-container .collapse .p-4 {
  border-color: #0072ce;
}

.classfunds-container .table-hover tbody tr,
.classfunds-container .table-hover tbody tr td {
    border-color: #0072ce !important;
}

.classfunds-container .table tbody tr {
  border-color: #0072ce;
}


/* Dropdown on hover for desktop */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}
}

.testimonial {
  font-family: "Public Sans", Helvetica, sans-serif;
}

.testimonial h1 h2 {
  font-family: "Public Sans", Helvetica, sans-serif;
}

.testimonial h2 {
  padding-bottom: 16px;
}

.testimonial-box {
  max-width: 1200px;
  margin: 0 auto;
  height: auto;
  position: relative;
}

/* Add specific styling for the testimonial carousel */
.testimonial-box .owl-carousel {
  padding: 0 40px;
  position: relative;
  overflow: visible;
  min-height: 300px;
  margin-bottom: 30px;
  height: auto !important; /* Force auto height */
}

/* Ensure the owl-stage has proper height calculation */
.testimonial-box .owl-carousel .owl-stage {
  display: flex;
  flex-wrap: nowrap;
  height: auto !important; /* Force auto height */
}

.testimonial-box .owl-carousel .owl-item {
  height: auto !important; /* Force auto height */
  display: flex;
  flex: 1 0 auto;
}

/* Ensure the owl-stage-outer doesn't clip content */
.testimonial-box .owl-carousel .owl-stage-outer {
  overflow: visible;
  padding-bottom: 10px; /* Add padding to prevent clipping */
}

.testimonial-box .owl-carousel .owl-dots {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  z-index: 5;
}

/* Styling for testimonial carousel navigation controls */
.testimonial-box .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 40px);
  left: -20px;
  right: -20px;
  z-index: 10;
  pointer-events: none;
}

.testimonial-box .owl-carousel .owl-nav button.owl-prev,
.testimonial-box .owl-carousel .owl-nav button.owl-next {
  width: 40px;
  height: 40px;
  background: rgba(0, 114, 206, 0.8) !important;
  border-radius: 50%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 18px;
  pointer-events: auto;
  transition: background 0.3s ease;
  position: absolute;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.testimonial-box .owl-carousel .owl-nav button.owl-prev:hover,
.testimonial-box .owl-carousel .owl-nav button.owl-next:hover {
  background: rgba(0, 48, 135, 0.9) !important;
}

.testimonial-box .owl-carousel .owl-nav button.owl-prev {
  left: 10px;
}

.testimonial-box .owl-carousel .owl-nav button.owl-next {
  right: 10px;
}

.testimonial-grid {
  -webkit-overflow-scrolling: touch; 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  height: 384px; 
  overflow-y: auto;
  padding: 0.5rem;
}

.testimonial-card {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Change from default to align content at top */
  height: auto; /* Allow natural height instead of trying to fill space */
}

/* Add specific styling for carousel testimonial cards */
.owl-carousel .testimonial-card {
  padding: 0 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto !important; /* Force auto height */
  overflow: visible; /* Allow content to be visible */
  border-radius: 0; /* Added to ensure all testimonial cards have hard edges */
}

.testimonial-card blockquote {
  font-family: "Public Sans", Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #003087;
  margin-bottom: 0.5rem; /* Reduce space between quote and citation */
  flex-grow: 0; /* Change from 1 to prevent stretching */
  overflow: visible; /* Allow text to be visible */
}

.testimonial-card cite {
  font-family: "Public Sans", Helvetica, sans-serif;
  font-style: normal;
  color: #003087;
  font-weight: 400;
  font-size: 1rem;
  text-align: left;
  display: block;
  text-transform: uppercase;
  margin-top: 0; /* Remove top margin if any */
  padding-top: 0; /* Remove top padding if any */
}

.testimonial-card em {
  color: #0072ce;
  font-size: 1.6rem;
  font-style: normal;
}

.testimonial-grid > * {
  direction: ltr; /* This keeps the text reading left-to-right */
  text-align: left;
}

/* Responsive design for mobile devices */
@media screen and (max-width: 900px) {
  .testimonial-grid {
      grid-template-columns: 1fr;
  }
  
  .testimonial-box .owl-carousel {
    min-height: 280px;
    overflow: hidden;
  }
  
  .testimonial-box .owl-carousel .owl-stage-outer {
    overflow: hidden;
  }
  
  .testimonial-box .owl-carousel .owl-nav {
    width: 100%;
    padding: 0 5px;
  }
  
  .testimonial-box .owl-carousel .owl-nav button.owl-prev,
  .testimonial-box .owl-carousel .owl-nav button.owl-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .owl-carousel .testimonial-card {
    padding: 0 1rem 1rem;
    min-height: 220px;
  }
  
  .testimonial-card blockquote {
    font-size: 1.1rem;
  }
  
  .testimonial-card cite {
    font-size: 0.9rem;
  }
  
  .testimonial-card em {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  .testimonial-grid {
      grid-template-columns: 1fr;
  }
  .testimonial-grid::-webkit-scrollbar {
    width: 10px; /* Slightly wider for mobile touch */
  }
  
  .testimonial-grid::-webkit-scrollbar-thumb {
    background: #0072ce;
    border-radius: 4px;
    min-height: 40px; /* Ensures thumb is tall enough to be visible */
  }
  
  /* Adjust navigation controls for mobile */
  .testimonial-box .owl-carousel .owl-nav button.owl-prev,
  .testimonial-box .owl-carousel .owl-nav button.owl-next {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .testimonial-box .owl-carousel {
    padding: 0 25px;
    min-height: 250px;
  }
  
  .testimonial-box .owl-carousel .owl-nav {
    padding: 0 5px;
  }
  
  .owl-carousel .testimonial-card {
    min-height: 200px;
    padding: 0 0.5rem 1rem;
  }
  
  .testimonial-card blockquote {
    font-size: 1rem;
  }
  
  .testimonial-card cite {
    font-size: 0.85rem;
  }
  
  .testimonial-card em {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 576px) {
  .testimonial-box .owl-carousel {
    min-height: 350px; /* Increase from 280px to 350px */
    padding: 0 20px 40px; /* Add bottom padding for dots */
    overflow: visible; /* Allow content to be visible outside the container */
    margin-bottom: 40px; /* Increase bottom margin to make room for dots */
  }
  
  .testimonial-box .owl-carousel .owl-dots {
    bottom: -30px; /* Move dots further down */
    padding: 10px 0; /* Add more padding to dots container */
    z-index: 10; /* Ensure dots are above other elements */
  }
  
  .testimonial-box .owl-carousel .owl-nav {
    top: calc(50% - 30px); /* Adjust vertical position to be higher in the container */
    width: 100%; /* Change from calc(100% + 20px) to 100% */
    left: 0; /* Change from -10px to 0 */
    padding: 0; /* Remove padding that might cause positioning issues */
  }
  
  .owl-carousel .testimonial-card {
    min-height: 280px; /* Increase from 230px to 280px */
    padding: 0 0.5rem 2rem; /* Increase bottom padding */
    overflow: visible; /* Allow content to overflow if needed */
  }
  
  .testimonial-card blockquote {
    font-size: 0.9rem; /* Reduce from 0.95rem to 0.9rem */
    line-height: 1.4; /* Add line height for better readability */
    max-height: none; /* Remove any max-height constraints */
  }
  
  .testimonial-card em {
    font-size: 1.1rem; /* Reduce from 1.2rem to 1.1rem */
  }
  
  /* Remove the 3D gallery effect and opacity changes */
  #student-thanks .testimonial-box .owl-carousel .owl-item.active {
    z-index: 1; /* Reset z-index */
    opacity: 1; /* Keep full opacity */
    transform: none; /* Remove scale transform */
    transition: none; /* Remove transition */
  }
  
  /* Remove visibility reduction for non-active items */
  #student-thanks .testimonial-box .owl-carousel .owl-item:not(.active) {
    opacity: 1; /* Keep full opacity */
    transform: none; /* Remove scale transform */
    transition: none; /* Remove transition */
  }
}

/* iPhone-specific styles */
@media screen and (max-width: 428px) {
  /* Remove debug overlay */
  .testimonial-box::after {
    display: none;
  }
  
  /* Ensure the carousel container has enough height */
  .testimonial-box .owl-carousel {
    min-height: 400px;
    height: auto !important;
    overflow: visible;
    padding: 0 15px 50px;
    margin-bottom: 50px;
  }
  
  /* Ensure navigation controls are fully visible without causing overflow */
  .testimonial-box .owl-carousel .owl-nav {
    z-index: 15;
    position: absolute;
    top: calc(50% - 40px);
    width: 100%; /* Change from calc(100% + 30px) to 100% */
    left: 0; /* Change from -15px to 0 */
  }
  
  /* Position the buttons inside the container */
  .testimonial-box .owl-carousel .owl-nav button.owl-prev {
    left: 0px; /* Change from 5px to 0 */
  }
  
  .testimonial-box .owl-carousel .owl-nav button.owl-next {
    right: 0px; /* Change from 5px to 0 */
  }
  
  /* Other existing styles */
}

/* Custom scrollbar styling */
.testimonial-grid::-webkit-scrollbar {
  width: 8px;
}

.testimonial-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.testimonial-grid::-webkit-scrollbar-thumb {
  background: #0072ce;
  border-radius: 4px;
}

.testimonial-grid::-webkit-scrollbar-thumb:hover {
  background: #003087;
}

.classfunds-hero {
  /* Keep the existing properties */
  background-image: url('../img/clock-tower-large.jpg');
  height: 24em;
  padding: 4em;
  
  /* Add these properties for better responsive behavior */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  
  /* Use min-height instead of fixed height for better mobile response */
  min-height: 24em;
  height: auto;
  
  /* Add a media query for mobile devices */
  @media screen and (max-width: 768px) {
    min-height: 640px;
    padding: 2em;
    background-position: center 40%;
  }
}

.classfunds-hero h1 {
  font-family: "Public Sans", Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #003087;
  text-transform: uppercase;
  line-height: 1em;
  font-size: 3.2em;
}

.classfunds-hero h2 {
  padding-bottom: 2em;
  font-family: "Public Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
}

.hero-button {
  width: 16em;
  height: auto;
  border: none;
  padding: 16px;
  text-transform: uppercase;
  background-color: #fff;
  color: #003087;
  font-weight: bold;
}

.hero-button:hover {
  background-color: #003087;
  color: #eaf5ff;
}

.download-button {
  width: 10em;
  height: auto;
  border: none;
  padding: 10px;
  text-transform: uppercase;
  background-color: #eaf5ff;
  color: #003087;
  font-weight: bold;
  margin: 0 16px;
}

.download-button:hover {
  background-color: #0072ce;
  color: #eaf5ff;
}

.principals-message {
  /* Keep the existing properties */
  background-image: url('../img/principal-wide.jpg');
  padding: 4em;
  min-height: 880px;
  
  /* Add these properties for better responsive behavior */
  background-repeat: no-repeat;
  background-position: center 25%;
  background-size: cover;
  position: relative;
}

@media screen and (max-width: 768px) {
  .principals-message {
    min-height: 1440px; /* Keep this */
    height: 880px; /* Add this */
    padding: 2em;
    background-position: center 40%;
  }
}

.principals-message h1 {
  font-family: "Public Sans", Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1em;
  font-size: 3.2em;
}

.principals-message h3 {
  padding-bottom: .4em;
  font-family: "Public Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #3DC9EB;
}

.principals-letter {
  height: 240px;
  width: 100%; /* Change from fixed 720px to 100% */
  max-width: 640px; /* Add max-width instead of fixed width */
  overflow-y: auto;
  padding: 0 1rem;
  margin: 4rem 0 1rem;
  border-radius: 4px;
  color: #fff;
  font-family: "Public Sans", Helvetica, sans-serif;
  line-height: 1.6;
  margin-bottom: 2em;
  transform: scaleX(-1);
}

.principals-letter-revised {
  height: auto;
  width: 100%; /* Change from fixed 800px to 100% */
  max-width: 720px; /* Add max-width instead of fixed width */
  color: #fff;
  font-family: "Public Sans", Helvetica, sans-serif;
  line-height: 1.6em;
  margin-bottom: 2em;
}

/* Custom scrollbar styling */
.principals-letter::-webkit-scrollbar {
  width: 8px;
}

.principals-letter::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.principals-letter::-webkit-scrollbar-thumb {
  background: #0072ce;
  border-radius: 4px;
}

.principals-letter::-webkit-scrollbar-thumb:hover {
  background: #003087;
}

.principals-letter-content {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .principals-letter-revised {
    width: 100%; /* Make it responsive on mobile */
    max-width: 620px;
    max-height: auto;
    margin-top: 1rem;
  }
  
  .principals-letter::-webkit-scrollbar {
    width: 10px; /* Slightly wider for mobile touch */
  }
  
  .principals-letter::-webkit-scrollbar-thumb {
    background: #0072ce;
    border-radius: 4px;
    min-height: 40px; /* Ensures thumb is tall enough to be visible */
  }

/*
  .testimonial-box::before {
    content: "↓ Scroll for more";
    display: block;
    text-align: left;
    color: #0072ce;
    font-size: 14px;
    padding: 5px 0;
    margin-top: 10px;
  }
*/

  .principals-message .index-box-3 .letter-before::after {
    content: "↓ Scroll for more";
    display: block;
    text-align: left;
    color: #0072ce;
    font-size: 14px;
    padding: 5px 0;

  }

  .principals-message {
    background-image: url('../img/principal-mb.jpg');
    background-position: center 40%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .principals-message h1 {
    font-size: 2.4em;
    margin: 0.24em 0;
  }

  .testimonial h1 {
    font-size: 2.4em;
    line-height: 1em;
    margin: 1em 0 0;
  }

  .testimonial h2 {
    font-size: 1.2em;
    line-height: 1em;
    margin: .8em 0 0;
  }

  .classfunds-hero {
    background-image: url('../img/clocktower-1080x1920.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .download-button {
    margin: 16px 0;
    width:100%;
  }


}



#student-thanks {
  scroll-margin-top: 100px;
  padding-bottom: 2rem;
}

#class-funds {
  scroll-margin-top: 200px;
}

.fundname-column {
  background: #0072ce;
  color: #fff;
  text-transform: uppercase;
}

.balance-column {
  background: #eaf5ff;
  color: #003087;
  text-transform: uppercase;
}

.sort-buttons {
  display: inline-flex;
  flex-direction: row; /* Change from column to row */
  margin-left: 4px;
}

.sort-btn {
  background: none;
  border: none;
  padding: 3px 8px; /* Increase padding for larger clickable area */
  cursor: pointer;
  font-size: 14px; /* Increase font size from 12px */
  color: #666;
  margin: 0 2px; /* Add horizontal margin between buttons */
}

.at1200px-show{
  display:none;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .card-header .d-flex {
    flex-direction: column;
    align-items: flex-end !important;
  }
  
  .card-header .d-flex .form-control {
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
  
  .card-header .d-flex a {
    align-self: flex-end;
    min-width: 200px !important;
  }
  
  /* Keep the yearFilter wider */
  #yearFilter, #amountFilter {
    min-width: 200px;
    margin: .25rem;
  }
  .at1200px-show{
    display:block;
  }
  .at1200px-hide{
    display:none;
  }
/*
  .testimonial-box::before {
    content: "↓ Scroll for more";
    display: block;
    text-align: left;
    color: #0072ce;
    font-size: 14px;
    padding: 5px 0;
    margin-top: 10px;
  }
*/

  .principals-message .index-box-3 .letter-before::after {
    content: "↓ Scroll for more";
    display: block;
    text-align: left;
    color: #0072ce;
    font-size: 14px;
    padding: 5px 0;
  }

  .principals-letter {
    width: 640px;
    margin-top:0;
  }

}

@media screen and (max-width: 1200px) {

  .testimonial-grid, .principals-letter {
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  }


}

.donate {
  border: none;
  text-transform: uppercase;
  background-color: #003087;
  color: #fff !important;
  font-weight: bold;
}

.donate:hover {
  background-color: #0072ce;
}

button .donate {
  border: none;
  text-transform: uppercase;
  background-color: #003087;
  color: #fff;
  font-weight: bold;
}

button .donate:hover {
  background-color: #0072ce;
}

/*** @media screen and (max-width: 767px) {
  .fundname-column, .balance-column {
    font-size: 0.9rem;
  }


  @media screen and (max-width: 390px) {
    .fundname-column, .balance-column {
      font-size: 4px;
    }

    .balance-column .d-flex {
      font-size: 4px;
      line-height: 1.1;
    }
  }
} ***/

/* Mobile styles moved to the media query section */

/* Testimonial-specific styles - Isolated from other carousels */
#student-thanks .testimonial-box {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 60px; /* Space for dots */
}

/* Override aspect-ratio only for testimonial carousel */
#student-thanks .testimonial-box .owl-carousel {
  aspect-ratio: auto !important;
  position: relative;
  overflow: visible;
  min-height: 300px;
  height: auto !important;
  padding: 0 60px; /* Space for navigation arrows */
  margin-bottom: 30px;
}

#student-thanks .testimonial-box .owl-carousel .owl-item {
  aspect-ratio: auto !important;
  height: auto !important;
}

#student-thanks .testimonial-box .owl-carousel .owl-stage-outer {
  overflow: visible;
}

#student-thanks .testimonial-box .owl-carousel .owl-stage {
  display: flex;
  height: auto !important;
}

/* Testimonial card styling */
#student-thanks .testimonial-box .testimonial-card {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 0; /* Changed from 8px to 0 for hard edges */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin: 10px;
}

#student-thanks .testimonial-box .testimonial-card blockquote {
  font-family: "Public Sans", Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #003087;
  margin-bottom: 1rem;
  line-height: 1.5;
}

#student-thanks .testimonial-box .testimonial-card cite {
  font-family: "Public Sans", Helvetica, sans-serif;
  font-style: normal;
  color: #003087;
  font-weight: 400;
  font-size: 1rem;
  text-align: left;
  display: block;
  text-transform: uppercase;
  margin-top: auto;
}

#student-thanks .testimonial-box .testimonial-card em {
  color: #0072ce;
  font-size: 1.4rem;
  font-style: normal;
}

/* Navigation controls styling - TESTIMONIAL SPECIFIC */
#student-thanks .testimonial-box .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 40px);
  left: -20px;
  right: -20px;
  z-index: 10;
  pointer-events: none;
}

#student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev,
#student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next {
  width: 40px;
  height: 40px;
  background: rgba(0, 114, 206, 0.8) !important;
  border-radius: 50%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 18px;
  pointer-events: auto;
  transition: background 0.3s ease;
  position: absolute;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev:hover,
#student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next:hover {
  background: rgba(0, 48, 135, 0.9) !important;
}

#student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev {
  left: 10px;
}

#student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next {
  right: 10px;
}

/* Dots styling - TESTIMONIAL SPECIFIC */
#student-thanks .testimonial-box .owl-carousel .owl-dots {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  z-index: 5;
}

#student-thanks .testimonial-box .owl-carousel .owl-dots .owl-dot {
  margin: 0 5px;
}

#student-thanks .testimonial-box .owl-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: transparent !important;
  border: 2px solid #003087 !important;
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
}

#student-thanks .testimonial-box .owl-carousel .owl-dots .owl-dot.active span {
  background: #003087 !important;
  transform: scale(1.2);
}

/* Responsive styles - TESTIMONIAL SPECIFIC */
@media screen and (max-width: 1200px) {
  #student-thanks .testimonial-box .testimonial-card blockquote {
    font-size: 1.1rem;
  }
  
  #student-thanks .testimonial-box .testimonial-card em {
    font-size: 1.3rem;
  }
}

/* iPad Pro and similar tablets */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #student-thanks .testimonial-box .owl-carousel {
    min-height: 320px;
    padding: 0 50px;
  }
  
  #student-thanks .testimonial-box .testimonial-card blockquote {
    font-size: 1rem;
  }
  
  #student-thanks .testimonial-box .testimonial-card em {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  #student-thanks .testimonial h1 {
    font-size: 2rem;
  }
  
  #student-thanks .testimonial-box .owl-carousel {
    min-height: 320px;
    padding: 0 40px;
  }
  
  #student-thanks .testimonial-box .testimonial-card {
    min-height: 280px;
    padding: 15px;
  }
  
  #student-thanks .testimonial-box .testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  #student-thanks .testimonial-box .testimonial-card cite {
    font-size: 0.9rem;
  }
  
  #student-thanks .testimonial-box .testimonial-card em {
    font-size: 1.1rem;
  }
}

/* iPhone and small mobile styles */
@media screen and (max-width: 576px) {
  #student-thanks .testimonial-box {
    padding-bottom: 50px;
  }
  
  #student-thanks .testimonial-box .owl-carousel {
    min-height: 320px;
    padding: 0 15px;
  }
  
  #student-thanks .testimonial-box .testimonial-card {
    min-height: 280px;
    padding: 12px 8px;
    width: 100%;
  }
  
  #student-thanks .testimonial-box .testimonial-card blockquote {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  
  #student-thanks .testimonial-box .testimonial-card cite {
    font-size: 0.8rem;
  }
  
  #student-thanks .testimonial-box .testimonial-card em {
    font-size: 0.9rem;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev,
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-dots {
    bottom: -35px;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
  }
}

/* iPhone 15 specific styles */
@media screen and (max-width: 428px) {
  #student-thanks .testimonial-box {
    min-height: 360px;
    padding: 0 10px;
  }
  
  #student-thanks .testimonial-box .testimonial-card {
    min-height: 280px;
  }
  
  #student-thanks .testimonial-box .testimonial-card blockquote {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  
  #student-thanks .testimonial-box .testimonial-card cite {
    font-size: 0.75rem;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev {
    left: 5px;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next {
    right: 5px;
  }
}

/* Fix for testimonial carousel on very small screens */
@media all and (max-width: 600px) {
  #student-thanks .testimonial-box .owl-carousel {
    min-height: 260px;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    padding: 0;
    z-index: 10;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev,
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(0, 114, 206, 0.7) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 14px;
    pointer-events: auto;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev {
    left: 0;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next {
    right: 0;
  }
  
  /* Keep the wider cards but remove 3D effects */
  #student-thanks .testimonial-box .owl-carousel {
    padding: 0 5px; /* Further reduce side padding to make cards even wider */
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-stage-outer {
    overflow: visible;
    width: 100%;
    padding: 0;
  }
  
  #student-thanks .testimonial-box .testimonial-card {
    margin: 0; /* Remove margin completely for maximum width */
    width: 100%;
  }
  
  /* Move navigation buttons further outside to avoid overlapping with content */
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-prev {
    left: -8px;
  }
  
  #student-thanks .testimonial-box .owl-carousel .owl-nav button.owl-next {
    right: -8px;
  }
}