/*********************************************************************************

        Custom CSS Changes made by eKamria
        
*********************************************************************************/  

  h1 {
    color: #20466a;
    font-family: "Oswald", sans-serif !important;
    Text-align: left;
    text-shadow: 1px 1px 1px #aaa;
    font-size: 3.1rem !important;
    line-height: 1.2;
    font-weight: 900;
    padding-bottom: 15px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
}
    
 
 h2 {
   font-family: "Oswald", sans-serif;
   margin-top: 10px !important;
   color: #912029; 
   font-size: 2.3rem;
   line-height: 1.2;
   }  
   
 h3 {
  font-family: "Oswald", sans-serif;
   color: #20466a;
   font-size: 1.8rem;
   line-height: 1.2;

   text-shadow:0.5px 0.5px 1px rgba(0, 0, 0, 0.15); 
   } 

h4 {
   font-family: "Oswald", sans-serif;
   color: #20466a;
   font-size: 1.5rem;
   text-shadow:0.5px 0.5px 1px rgba(0, 0, 0, 0.15); 
   } 
   


   
/* not used??
------------------------------------------------------*/
/*h2.title {

   text-align: center;
   margin: 25px 0px;
   font-family: 'Merienda One',  san-serif;
  text-shadow:0.5px 0.5px 1px rgba(0, 0, 0, 0.15); 
   } 
   */
 
body {
     font-family: 'Nunito Sans',  san-serif;
     text-align:left;
   line-height: 1.6em;
   padding-top: .5em;
   font-size:1.2rem;
   } 
   

 a {
  transition: color .4s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

  a:link,
a:visited { color: #3B58A7; }
a:hover   { color: #912029; }
a:active  {
  transition: color .3s;
  color: #912029;
  text-underline-offset: 3px;
}  

.link { text-decoration: none; }
    
.logo-image {
    margin-top: 5.5rem;
}

/* responsive image
-------------------------------------------------------------------*/
img.responsive {
    max-width : 100%;
    height : auto;
}

@media (max-width: 768px) {
    p img[style*="float: right"],
    p img[style*="float: left"] {
        float: none !important;
        margin: 0 auto 1.5rem !important;
        display: block;
        max-width: 200px !important;
        height: auto !important;
    }
}

/* Responsive video
-------------------------------------------------------------------*/
.embed-responsive {
    position: relative;
    width: 100%;
    max-width: 854px;
    margin: 0 auto;
    height: 480px; /* Standard YouTube height */
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .embed-responsive {
        max-width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 for mobile */
    }
}



/* Bullet list 
-----------------------------------------------------------------*/
/* Apply FontAwesome bullets only to lists inside article content */
/*.com-content-article ul,*/
.item-page ul,
.blog-item ul,
article ul,
.article-content ul,
.content ul {
  list-style: none;
  padding-left: 0;
}

.com-content-article ul li,
.item-page ul li,
.blog-item ul li,
article ul li,
.article-content ul li,
.content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.com-content-article ul li:before,
.item-page ul li:before,
.blog-item ul li:before,
article ul li:before,
.article-content ul li:before,
.content ul li:before {
  content: "\f138";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #912029;
  font-size: 18px;
  margin-right: 10px;
  margin-top: 0;
  flex-shrink: 0;
}

/*ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

ul li:before {
  content: "\f138";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  color: #912029;
  font-size: 18px;
  margin-right: 10px;*/
 /* margin-top:0; /* Fine-tune vertical alignment */
  /*flex-shrink: 0; /* Prevents icon from shrinking */
/*}
*/

/* Breadcrumbs
-----------------------------------------------------------------*/
/*ol.mod-breadcrumbs {
    margin-left: -25px !important;
}*/
.breadcrumbs {
    margin-left: 25px !Important;
}


/* Contact bar mobile adjustment
----------------------------------------------------------------*/
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) {

  .contact-bar {
    font-size: 12px !important;     /* make it a bit smaller in landscape */
  }
  .contact-bar .ms-5 {
    margin-left: 0.3rem !important;  /* reduce the left margin a little */
  }
}


#donatesub {
   color: #912029;
   font-size: 125%;
   font-style: bold;
   font-weight: 600;
   text-shadow: 1px 1px 1px #aaa;
   }

/*  twoColumns
---------------------------------------------------------------*/
/*.twoColumns{
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
}*/

/* Two columns
--------------------------------------------------------------*/
.twoColumns {
  column-gap: 20px; /* Consistent gap for all screen sizes */
}

/* Large screens (two columns) */
@media (min-width: 768px) {
  .twoColumns {
    column-count: 2;
  }
}

/* Small screens (single column) */
@media (max-width: 768px) {
  .twoColumns {
    column-count: 1;
  }
}

/* Curved underline -red
-----------------------------------------------------------------*/
.curved-underline {
    position:relative;
}

.curved-underline:after {
    content: '';
    position:absolute;
    width: 100%;
    border-top: solid 3px #20466a;
    left: 0;
    bottom: -10px;
    border-radius: 50%;
    height: 9px;
}

/* Curved underline - white
-----------------------------------------------------------------*/
.curved-underline-2 {
    position:relative;
}

.curved-underline-2:after {
    content: '';
    position:absolute;
    width: 100%;
    border-top: solid 3px #ffffff;
    left: 0;
    bottom: -15px;
    border-radius: 50%;
    height: 9px;
}
/*  Stars at top of modules
--------------------------------------------------------------------*/


.module-with-stars::before {
 content: "\e28b\00a0\00a0\00a0\00a0\e28b\00a0\00a0\00a0\00a0\e28b";
  font-family: "Font Awesome 6 Pro";
  color: #fff;
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

.module-with-stars-blue::before {
  content: "\e28b\00a0\00a0\00a0\00a0\e28b\00a0\00a0\00a0\00a0\e28b";
  font-family: "Font Awesome 6 Pro";
  color: #20466A;
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

.special-box {
    border-top: #912029 25px solid;
    border-bottom: #20466a 10px solid;
    border-left: #20466a 0px solid;
    border-right: #912029 0px solid;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -o-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
   
    margin: 20px;

    margin-left: 0px;
    padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 50px;
    padding-left: 30px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 14px 0px;
    -moz-box-shadow: rgba(0,0,0,0.08) 0px 6px 14px 0px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 14px 0px;
}

/* spotlight border
--------  -------------------------------------------------------*/
.bg-blue {
    background-color: #20466A !important;
}



/* Overview Mission/Vision
-----------------------------------------------------------------*/

        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
  
        .white-box {
            background: white;
            margin-bottom: 30px;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        

        .columns {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 30px;
        }
        
        .column-align {
            text-align: center;
        }
        
        .bar {
            height: 10px;
            background: #8b2332;
            margin-bottom: 20px;
        }
        
        .image-container {
            margin: 30px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: auto;
        }
        

        
        @media (max-width: 768px) {
            .columns {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }

    
/*Resources Push button to bottom of card
---------------------------------------------------------------*/
.card.h-100 {
    display: flex;
    flex-direction: column;
  }

  /* Make card body stretch and push button down */
  .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background-color: #F2EEE4;
    border-top:#912029 25px solid;
       border-left:none !important;
    border-radius: 5px;
  }

  .card-body .btn {
    margin-top: auto;       /* pushes button to bottom */
    align-self: flex-start; /* keep button left-aligned */
  }

/* Home cards - light on dark
-----------------------------------------------------------------*/
     .home-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .home-card {
            background: #FBFAF8;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        
        .home-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 12px rgba(0,0,0,0.15);
        }
        
        .home-card h3 {
            color: #1e40af;
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .home-card p {
            color: #6b7280;
            margin-bottom: 20px;
        }
        
        .home-card a {
            color: #1e40af;
            text-decoration: none;
            font-weight: 600;
        }
/* Home cards - dark on light
-----------------------------------------------------------------*/        
       .home-cards-2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .home-card-2 {
            background: #F2EEE4;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        
        .home-card-2:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 12px rgba(0,0,0,0.15);
        }
        
        .home-card-2 h3 {
            color: #1e40af;
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .home-card-2 p {
            color: #6b7280;
            margin-bottom: 20px;
        }
        
        .home-card-2 a {
            color: #1e40af;
            text-decoration: none;
            font-weight: 600;
        }
 
/* Full width container for content area
---------------------------------------------------------------------------*/
    .full-width-container {
    /* Push the container to the left edge of the viewport */
    margin-left: calc(-50vw + 50%); 
    /* Push the container to the right edge of the viewport */
    margin-right: calc(-50vw + 50%);
    /* Set the maximum width to the full viewport width */
    max-width: 100vw;
  
    /* Ensure the content within the container is centered if desired */
    /*box-sizing: border-box; *//* Include padding in the element's total width */
}

/* Mission Icon (blue gradient) */
/*-----------------------------------------------------------------*/
.icon-mission {
  background: linear-gradient(135deg, #4A7FAE, #5A8CBF);
  color: #fff;
}

/* Vision Icon (red gradient) */
.icon-vision {
  background: linear-gradient(135deg, #C04B54, #D6616A);
  color: #fff;
}

/* Values Icon (orange-ish gradient for variety) */
.icon-values {
  background: linear-gradient(135deg, #F4A261, #F7B77F);
  color: #fff;
}

/* General styles for all icons */
.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-card:hover .icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/*.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #00539B; /* VA blue example */
 /* display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  
}*/

.home-card h3 {
  margin: 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}



/* home card end-----------------------------------------------*/


/* Stats Section */
.stats-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: #912029;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #912029;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    display: block;
}

/* Responsive adjustments */
/* iPad landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-width: 1366px) 
  and (orientation: landscape) {

  .stats-grid {
    display: grid !important;
    grid-template-columns: unset !important;  /* cancel auto-fit behavior */
    grid-auto-flow: column !important;        /* force horizontal row */
    overflow-x: auto;                          /* allow scrolling if needed */
    gap: 1.5rem !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .stat-card {
    flex: 0 0 auto;        /* prevent shrinking in grid-auto-flow: column */
    padding: 1.5rem !important;
  }

  .stat-number {
    font-size: 2.5rem !important;
  }

  .stat-label {
    font-size: 1rem !important;
  }
}
 /*===========================================================================
 
   Shaded background area for pages
   ==========================================================================
*/
  .bottomshade {
  background-color: #F2EEE4;
  border-radius: 5px;
  padding: 70px 50px 50px 50px;
    margin: 50px 0px;
 }

/* space under captions
------------------------------------------------------------------------*/
.figure {
    margin:0px !important;
}
/*===========================================================================
 
   Donation page
   ===========================================================================
*/

.page-title {
    display: none;
}
.jd-container .jd-row {
    margin: 30px;
    border: 1px #cfd0d3 solid;
    /* box-sizing: border-box; */
    -moz-box-sizing: border-box;
    /* -webkit-box-sizing: border-box; */
    width: 100%;
    max-width: 90%;
    border-radius: 5px;
}


.caret1::before {
   font-family: 'FontAwesome';

    content: '\f0da';
    color: #20466a;
 /*   margin: 0px 7px 0px -11px;*/
    padding-right: 7px;
}

/*  Memorial & Honor sidebar
-------------------------------------------------------------------------*/
.campaign-details {
    background-color: transparent !important;
    border-top: 0px !Important;
}

.mod-jd-campaign-donate-now {
    background-color: transparent !Important;
}

.campains-list .campain-list {
    border: 0px;
}

.campain-list .campaign-details .campaign-donate-info {
    border: 0px;
}

/*********************************************************************************

        JCE Mediabox closing link "x"
        
*********************************************************************************/ 

.wf-icon-close-squeeze:before {
    content: "\f05c";
    background-color: none;
    color: #912029;
}



/*===========================================================================
 
   Add separator line (old board)
  ===========================================================================
*/
/* Gradient transparent - color - transparent */

hr.separate {

    border: 0;
    height: 3px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0));
        width: 80%;
    margin:40px auto 40px auto;
}

.entry-header {
  margin-bottom: 0px;
  }
  
address {
    margin-bottom: 0px;
    font-style: normal;
    line-height: 1.42857143;
}

/*===========================================================================
 
   icon-colors
  ===========================================================================
*/

.icon-color-1 {
    color: #e8e0cb;
}

.icon-color-2 {
    color: #912029;
}

 /*===========================================================================
 
   Add a right border (page separator line)
  ===========================================================================
*/
 .lborder {
  
  border-left: solid; 
  border-width: 1px; 
  border-color: #eeeeee;
  }
 


 
/*Centering of Donate Area
-----------------------------------------------------------------------------
*/  
 #donate {
 text-align: right;
 float: right;
 margin-right: 5px !important;
 } 
 
 
/* Page Title
-----------------------------------------------------------------------------
*/

div.article-details {
   /* border-bottom: 1px solid #eee !Important;*/
    margin-bottom: 50px !Important;
    padding: 0px 50px !Important;
}


 
  /*===========================================================================
 
   Donate Amount Module
   ===========================================================================
   General Donation
   ---------------------------------------------------------------------------
*/


.module-title donate {
  color: #912029;
}
.donate-details .jd-taskbar .btn, .donate-details-mod .jd-taskbar .btn {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 5px 0 0;
    color: #e8e0cb !important;
    min-height: 10px;
    background-color: #57A73A;
    background-image: none;
    border: 1px  solid;
    padding: 5px 10px;
    text-align:center;
}
  .donatetitle {
   background-color:#57A73A; 
   color: white;
   padding:20px;
   width: 116%;
   }
   
  .btn-primary {
  background-color:#3b58a7 !important;
  border-color:#2E6DA4;
  color:#FFFFFF !important;
}

  .btn-primary a:visited {
  background-color:#3b58a7 !important;
  border-color:#2E6DA4;
  color:#FFFFFF;
}

  .btn-primary a:hover {
  background-color:#912029 !important;
  border-color:#2E6DA4;
  color:#FFFFFF;
}
 .btn-primary a:active {
  background-color:#912029 !important;
  border-color:#2E6DA4;
  color:#FFFFFF;
}
   .input-append .add-on, .input-prepend .add-on {
     min-height: 34px;
   }

  .button {
  background-color:#3b58a7 !important;
  border-color:#2E6DA4;
  color:#FFFFFF !important;
  text-decoration: none;
}

.donate-btn {
  background-color: #3B58A7;
  color: #ffffff !Important;
  padding: 10px 0px;
  }
  
.donate-btn:hover {
  background-color:#912029 !important;
  border-color:#2E6DA4;
  color:#e8e0cb;
}

/* Add caret on dropdown menu and adjust spacing
-----------------------------------------------------------------*/
span.mod-menu__heading.nav-header {
  position: relative;
 }

span.mod-menu__heading.nav-header {
    display: block;
    color: #e8e0cb;
    margin: 2px 10px 2px 0px; /* shorthand for top/right/bottom/left margins */
    padding: 7px 0px 7px 0px; /* shorthand for padding */
    text-align: left;
    font-weight: normal;
}

span.mod-menu__heading.nav-header::after {
       content: "▼";
    font-size: 12px;
    color: #e8e0cb;
    margin-top: 4px;
    margin-left: 5px;
}



 /* Hero Section 
 ------------------------------------------------------------------------*/
        .hero {
            /*background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);*/
            color: #F2EEE4;
            padding: 5rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

 .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
    z-index: 0;
    /*background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;*/
}

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            color: #F2EEE4;
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-align: center;
        }

        .hero p {
            color: #F2EEE4;
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
          /*  opacity: 0.95;*/
        }
        
/* iPad portrait */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: portrait) {

  .hero {
    width: 100vw !important;          /* full viewport width */
    padding: 3rem 1rem !important;    /* adjust padding as needed */
    margin: 0 auto !important;        /* center container */
    background-size: cover !important;
    background-position: center center !important;
    min-height: 400px !important;
  }

  .hero-content {
    max-width: 100% !important;       /* remove any limiting width */
    padding: 0 1rem !important;
    margin: 0 auto !important;
  }

  .hero h1, 
  .hero p {
    text-align: center;                /* optional: center text */
  }

  .hero .btn {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
  }

  .hero .btn:last-child {
    margin-bottom: 0;
  }
}


/* Overview Page-Mission/Vision section - also used on Research Sponsors
------------------------------------------------------------------------*/
/* for Research Sponsor without a hero*/

/* Research Sponsors page - make h1 look like h2 */

.research-sponsors-mission .card-header h1 {
  font-size: 2em;
  margin: 0;
  line-height: 1;
  color: #912029;
  border-bottom: none;
}

@media (max-width: 768px) {
  .research-sponsors-mission .card-header h1 {
    font-size: 1.6em;
  }
}

/*---end */


 .mission-vision-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: relative;
  }
  
  .section-header {
    text-align: center;
    padding: 20px 20px 20px;
    background: linear-gradient(135deg, #912029 0%, #20466A 100%);
    color: white;
    position: relative;
  }
  
  .section-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
  }
  
  .section-header p {
    font-size: 1.2em;
    opacity: 0.95;
  }
  
  .mission-vision-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    align-items: stretch;
  }
  
  .mission-card,
  .vision-card {
    padding: 50px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .mission-card {
    background: #fef8f4;
  }
  
  .vision-card {
    background: #f0f5f9;
    border-radius: 0 0 12px 12px;
  }
  
  .puzzle-divider {
    position: relative;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 50px 40px;
  }
  
  .puzzle-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .puzzle-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.15));
  }
  
  @media (max-width: 768px) {
    .puzzle-divider {
      padding: 40px 20px;
    }
    
    .puzzle-image-wrapper {
      max-width: 500px;
    }
  }
  
  .card-icon {
    font-size: 60px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .mission-card .card-icon {
    color: #912029;
  }
  
  .vision-card .card-icon {
    color: #20466A;
  }
  
  .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .card-header h2 {
    font-size: 2em;
    margin: 0;
    line-height: 1;
  }
  
  .mission-card .card-header h2 {
    color: #912029;
  }
  
  .vision-card .card-header h2 {
    color: #20466A;
  }
  
  .card-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #475569;
  }
  
  .mission-card .card-content strong {
    color: #912029;
    font-weight: 600;
  }
  
  .vision-card .card-content strong {
    color: #20466A;
    font-weight: 600;
  }
  

  .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 15px;
    font-size: 0.9em;
    font-weight: 500;
  }
  

  @media (max-width: 768px) {
    .card-header h2 {
      font-size: 1.6em;
    }
    
    .section-header h1 {
      font-size: 2em;
    }
    
    .section-header h1 {
      font-size: 2em;
    }
    
    .mission-card,
    .vision-card {
      padding: 40px 30px;
    }
  }

/* Board Individual Page
-----------------------------------------------------------------*/

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }


        .board-member {
         /*   background: #fdfdfd; */
            margin-bottom: 3rem;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: all 0.3s ease;
            border-left: 5px solid #3498db;
        }

        .board-member:hover {
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
            transform: translateY(-2px);
        }

        .member-header {
            display: flex;
            align-items: flex-start;
            padding: 2.5rem;
            gap: 2rem;
        }

        .member-photo-wrapper {
             
              width: 100%;
        }

        .member-photo {
             max-width: 254px;
             height: auto;
             display: block;
             box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
             border-radius: 4px;
             margin: 0 auto 10px auto;
}


        .member-title {
            font-size: 1.3rem;
            color: #3498db;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .member-card .row {
             display: flex;
             flex-direction: column; /* default stack */
        }

       .member-position {
            font-style: italic;
        }
        
        .member-institution {
            font-weight: 600;
        }

        .member-tenure {
            background: #ecf0f1;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            color: #555;
            display: inline-block;
            margin-bottom: 1rem;
        }

        

        
        @media(min-width: 992px) {
            .member-card .row {
             flex-direction: row; /* side by side on desktop */
  }
}

@media (min-width: 768px) {
  .member-photo-wrapper {
    max-width: 254px;
  }
  
}

        @media (max-width: 768px) {
            .container {
                padding: 2rem 1rem;
            }
            
            .header h1 {
                font-size: 1.5rem;
            }
            
            .member-header {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }
            

            .member-photo {
                width: 254px !important;
                height: auto;
                display:block;
                margin: 0 auto 10px auto;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Subtle soft shadow */
                 border-radius: 4px; 
            }
            
           
        }

        .loading-animation {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }