:root {
  --cfanj-navy: #14213d;
  --cfanj-gold: #d4a017;
  --cfanj-cream: #fffaf0;
  --cfanj-red: #9f1d20;
  --cfanj-text: #243041;
  --cfanj-soft: #f6f8fb;
  --cfanj-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cfanj-text);
  background: #fff;
}

.site-header {
  position: sticky;
  /*top: 0;*/
  z-index: 1030;
  /*background: rgba(255,255,255,.97);*/
  background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('../images/bg-header.png');
  background-size: contain;
  background-repeat: round;
  background-position: 0 0px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.topbar {
  background: linear-gradient(90deg, #c8002d, #c9002d);
  color: #fff;
  font-size: 14px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
}
.topbar a:hover { color: #ffd978; }
.topbar-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Section */
/*.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    display: block;
}*/

/* --- BASE STYLES --- */
.hero {
    /* Rules for your inline background-image */
    background-size: cover;       /* Ensures the image fills the area */
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat;
    
    /* Layout Setup */
    position: relative;
    width: 100%;
    min-height: 500px; /* Desktop height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;    /* White text */
}

/* --- THE DARK OVERLAY --- */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 60% black overlay */
    z-index: 1; /* Puts overlay above the background image */
}

/* --- PULL TEXT ABOVE OVERLAY --- */
.hero .container {
    position: relative;
    z-index: 2; /* Sits on top of the overlay */
    padding: 0 15px; /* Safety padding for mobile screens */
}

/* --- RESPONSIVE HEIGHTS --- */
/* Tablets */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .hero {
        min-height: 300px;
    }
}

/*end hero*/

.social-link {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  transition: all .2s ease;
}
.social-link:hover {
  background: #fff;
  color: var(--cfanj-navy);
  transform: translateY(-2px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;

}
.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--cfanj-gold), #f0c34e);
  color: var(--cfanj-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(212,160,23,.28);
}
.brand-text strong {
  display: block;
  color: var(--cfanj-navy);
  font-size: 1rem;
  line-height: 1.15;
}
.brand-text span {
  display: block;
  font-size: .76rem;
  color: #6c7a8c;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}

.main-navbar .nav-link {
  color: #101828 !important;
  font-weight: 600;
  font-size: .93rem;
  text-transform: uppercase;
  padding: 0.5rem .72rem !important;
  white-space: nowrap;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--cfanj-red) !important;
}

.mega-dropdown { position: static; }
.mega-menu {
  left: 50% !important;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 32px));
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
  margin-top: 0;
}
.mega-title {
  color: var(--cfanj-red);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mega-menu .dropdown-item,
.dropdown-menu .dropdown-item {
  border-radius: 12px;
  padding: .68rem .8rem;
  white-space: pre;

}
.mega-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:hover {
  background: #f2f5fb;
  color: var(--cfanj-red);
}
.mega-card {
  background: linear-gradient(135deg, #fff8e6, #fff);
  border: 1px solid rgba(212,160,23,.18);
  border-radius: 18px;
  padding: 1.2rem;
  height: 100%;
}
.mega-card h5 {
  font-weight: 800;
  color: var(--cfanj-navy);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #fff;
}
.hero-slide {
  min-height: 82vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.eyebrow-dark {
  background: #f3f6fb;
  border: 1px solid rgba(20,33,61,.1);
  color: var(--cfanj-red);
}
.hero-section h1 {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 760px;
}
.hero-section p {
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 700px;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.75rem;
}
.hero-actions .btn {
  padding: .9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
}

/*.hero-bottom-panel {
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding-bottom: 30px;
}*/
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card,
.quick-box {
  background: rgba(255,255,255,.96);
  color: var(--cfanj-text);
  border-radius: 20px;
  padding: 1.15rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.stat-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--cfanj-navy);
}
.stat-card span {
  font-size: .92rem;
  color: #5d6b7a;
}
.quick-box h3 {
  color: var(--cfanj-navy);
  font-size: 1.2rem;
  font-weight: 800;
}

.section-block {
  padding: 5rem 0;
}
.section-soft { background: var(--cfanj-soft); }
.section-title {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--cfanj-navy);
  margin-bottom: .9rem;
}
.section-title-2 {
  font-size: clamp(1.2rem, 1vw, 1rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--cfanj-navy);
  margin-bottom: .9rem;
}
.section-intro {
  /*max-width: 760px;*/
  color: #5d6b7a;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.section-image-wrap,
.cta-image-wrap {
  position: relative;
}
.section-image,
.cta-image {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(20,33,61,.08);
  box-shadow: 0 18px 45px rgba(31,45,84,.12);
}
.section-image {
  min-height: 430px;
}
.cta-image {
  min-height: 250px;
}
.image-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-block;
  background: rgba(20,33,61,.88);
  color: #fff;
  padding: .6rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 999px;
}
.image-label-light {
  background: rgba(255,255,255,.9);
  color: var(--cfanj-navy);
}

.mini-feature {
  background: #fff;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid rgba(20,33,61,.06);
  box-shadow: 0 10px 25px rgba(31,45,84,.07);
}

.feature-card,
.program-card,
.event-card,
.gallery-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(31,45,84,.08);
  border: 1px solid rgba(20,33,61,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover,
.program-card:hover,
.event-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(31,45,84,.12);
}
.feature-card {
  padding: 1.2rem;
}
.program-card-body {
  padding: 1.35rem;
}
.card-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #edf2f8;
}
.small-cover {
  height: 180px;
  border-radius: 16px;
  margin-bottom: 1rem;
}
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .45rem .65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: #f4f7fb;
  color: var(--cfanj-red);
}
.feature-card h4,
.program-card h5,
.event-card h5,
.gallery-card h5 {
  color: var(--cfanj-navy);
  font-weight: 800;
  margin-bottom: .7rem;
}
.feature-card p,
.program-card p,
.event-card p,
.gallery-card p {
  color: #5d6b7a;
  line-height: 1.75;
  margin-bottom: 0;
}

/*.cta-band {
  background: linear-gradient(135deg, var(--cfanj-red), #7f1318);
  color: #fff;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(127,19,24,.22);
}
.cta-band h3 {
  font-weight: 800;
  margin-bottom: .6rem;
}*/

.footer {
  background: #0f1a31;
  color: rgba(255,255,255,.82);
  padding: 4rem 0 1.2rem;
}
.footer h5 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}
.footer a:hover { color: #ffd978; }
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li { margin-bottom: .7rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .92rem;
}

@media (max-width: 1199px) {
  .mega-dropdown { position: relative; }
  .mega-menu {
    left: 0 !important;
    transform: none !important;
    width: 100%;
  }
  .main-navbar .nav-link { padding: .8rem 0 !important; }
}

@media (max-width: 991px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-bottom-panel { margin-top: 0; padding-top: 20px; }
  .hero-slide { min-height: 70vh; }
  .section-image { min-height: 300px; }
}

@media (max-width: 767px) {
  .topbar-inner { justify-content: center; }
  .brand-text strong { font-size: .9rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .section-block { padding: 3.7rem 0; }
  .hero-slide { min-height: 31vh; background-size:contain; }
  .card-cover { height: 210px; }

}

@media (max-width:991px){

.menu-item-has-children .sub-menu{
display:none;
padding-left:15px;
}

.menu-item-has-children.open > .sub-menu{
display:block;
}

}

@media (max-width:991px){

.mobile-menu,
.navbar-collapse,
.main-navigation{
    
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

}

.team-section{
background:#f8f9fa;
}

.team-card{
padding:25px;
background:#fff;
border-radius:0px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.team-card:hover{
transform:translateY(-8px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.team-card img{
/*width:120px;
height:120px;*/
object-fit:cover;
border:0px solid #eee;
}

.breadcrumb {
    background: transparent;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #0d6efd;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #6c757d;
}



/**/

 :root {
            --cfanj-blue: #0d47a1;
            --cfanj-gold: #fbc02d;
            --cfanj-light-blue: #e3f2fd;
        }
        
        /* Custom Colors */
        .text-cfanj-blue { color: var(--cfanj-blue) !important; }
        .text-cfanj-gold { color: var(--cfanj-gold) !important; }
        .bg-cfanj-blue { background-color: var(--cfanj-blue) !important; }
        
        .btn-cfanj-gold {
            background-color: var(--cfanj-gold);
            color: var(--cfanj-blue);
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .btn-cfanj-gold:hover {
            background-color: #ffffff;
            color: var(--cfanj-blue);
        }

         .btn-cfanj-blue {
            background-color: var(--cfanj-blue);
            color: #ffffff;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .btn-cfanj-blue:hover {
            background-color: var(--cfanj-gold);
            color: var(--cfanj-blue);
        }

        /* Hero Image Background */
        .hero-bg {
            background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.9)), url('https://via.placeholder.com/1920x600') center/cover;
            background-attachment: fixed;
        }

        /* Custom Checkmark List */
        .check-list {
            list-style: none;
            padding-left: 0;
        }
        .check-list li {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 0.75rem;
            color: #555;
        }
        .check-list li::before {
            content: '\f058'; /* FontAwesome check-circle */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--cfanj-gold);
        }

        /* Card Hover Effects */
        .card-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
        }
        
        /* Icon styles inside cards */
        .icon-box i {
            font-size: 2.5rem;
            color: var(--cfanj-gold);
            margin-bottom: 1rem;
        }

        /* Custom Checkmark List */
        .check-list {
            list-style: none;
            padding-left: 0;
        }
        .check-list li {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 0.75rem;
            color: #555;
        }
        .check-list li::before {
            content: '\f058'; /* FontAwesome check-circle */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--cfanj-gold);
        }

        .check-list-light li { color: #e0e0e0; }
        .check-list-light li::before { color: var(--cfanj-gold); }

         /* Flagship Feature Box */
        .flagship-box {
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-left: 5px solid var(--cfanj-gold);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

         /* Form Styling */
        .form-control:focus, .form-select:focus {
            border-color: var(--cfanj-gold);
            box-shadow: 0 0 0 0.25rem rgba(251, 192, 45, 0.25);
        }
        
        .contact-info-box {
            background-color: #ffffff;
            border-left: 4px solid var(--cfanj-gold);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            height: 100%;
        }
        .contact-info-box:hover {
            transform: translateY(-5px);
            border-left-color: var(--cfanj-blue);
        }
        
        .contact-icon {
            width: 60px;
            height: 60px;
            background-color: var(--cfanj-light-blue);
            color: var(--cfanj-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        /* Social Icons */
        .social-circle {
            width: 45px;
            height: 45px;
            background-color: var(--cfanj-blue);
            color: white;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-right: 10px;
        }
        .social-circle:hover {
            background-color: var(--cfanj-gold);
            color: var(--cfanj-blue);
            transform: translateY(-3px);
        }



         




/* event */

/* Custom Checkmark List */
        .check-list {
            list-style: none;
            padding-left: 0;
        }
        .check-list li {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 0.75rem;
            /*color: #555;*/
        }
        .check-list li::before {
            content: '\f058'; /* FontAwesome check-circle */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--cfanj-gold);
        }

        /* Card Hover Effects */
        .card-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
        }
        
        /* Event Date Badge */
        .event-date-badge {
            background-color: var(--cfanj-blue);
            color: white;
            text-align: center;
            border-radius: 8px;
            padding: 15px 20px;
            min-width: 100px;
            box-shadow: 0 4px 10px rgba(13, 71, 161, 0.2);
        }
        .event-date-badge .month {
            display: block;
            font-size: 0.9rem;
            text-transform: uppercase;
            font-weight: bold;
            color: var(--cfanj-gold);
        }
        .event-date-badge .day {
            display: block;
            font-size: 2rem;
            font-weight: 900;
            line-height: 1;
            margin: 5px 0;
        }

        /* Past Event Image Overlay */
        .past-event-img {
            position: relative;
            overflow: hidden;
            border-radius: 8px 8px 0 0;
            height: 200px;
        }
        .past-event-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .card-hover:hover .past-event-img img {
            transform: scale(1.1);
        }

        /* Process Steps */
        .process-step {
            text-align: center;
            padding: 20px;
            position: relative;
        }
        .process-icon {
            width: 80px;
            height: 80px;
            background-color: var(--cfanj-blue);
            color: var(--cfanj-gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin: 0 auto 15px auto;
            border: 4px solid white;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
        }

/*get involved*/

/* Sidebar Styles */
        .sticky-sidebar {
            position: sticky;
            top: 30px;
        }
        
        .list-group-item {
            font-weight: 600;
            color: #555;
            transition: all 0.3s ease;
            border: 1px solid #eaeaea;
        }
        .list-group-item:hover {
            background-color: #f8f9fa;
            color: var(--cfanj-blue);
            padding-left: 25px; /* Slight indent effect on hover */
        }
        .list-group-item.active {
            background-color: var(--cfanj-blue) !important;
            border-color: var(--cfanj-blue) !important;
            color: #ffffff;
        }

        /* Numbered Icon Circle */
        .icon-circle {
            width: 50px;
            height: 50px;
            background-color: var(--cfanj-gold);
            color: var(--cfanj-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 800;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        /* Stat Box Styling */
        .stat-box {
            background-color: #ffffff;
            border-top: 4px solid var(--cfanj-gold);
            padding: 30px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            text-align: center;
            height: 100%;
        }
        .stat-box h3 {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--cfanj-blue);
            margin-bottom: 10px;
        }
        .stat-box p {
            color: #666;
            font-size: 1.05rem;
            font-weight: 500;
        }
        
        /* Link styling for cards */
        .explore-link {
            transition: all 0.2s ease;
        }
        .card-hover:hover .explore-link {
            color: var(--cfanj-blue) !important;
            padding-left: 5px;
        }

        /* Form Styling */
        .form-control:focus, .form-select:focus {
            border-color: var(--cfanj-gold);
            box-shadow: 0 0 0 0.25rem rgba(251, 192, 45, 0.25);
        }
        .form-wrap {
            background-color: #f8f9fa;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-left: 5px solid var(--cfanj-gold);
        }
        
        .form-label {
            font-weight: 600;
            color: #333;
        }

/*.badge-soft{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);padding:8px 14px;border-radius:999px;font-weight:700;margin-bottom:18px;}
.section-title{font-size:2rem;font-weight:800;color:var(--primary);margin-bottom:1rem;}
.card-soft{background:#fff;border:none;border-radius:20px;box-shadow:0 12px 35px rgba(17,24,39,.08);height:100%;}
.icon-circle{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(177,31,42,.08);color:var(--secondary);font-size:1.5rem;font-weight:800;}
.feature-list li{margin-bottom:.65rem;}
.cta-band{background:linear-gradient(135deg,var(--secondary),#7f1720);color:#fff;border-radius:28px;padding:36px;box-shadow:0 18px 40px rgba(127,23,32,.25);}
.cta-band a.btn-light{font-weight:700;}
.content-section h2{font-size:1.75rem;margin-top:2rem;color:var(--primary);font-weight:800;}
.content-section h3{font-size:1.2rem;margin-top:1.2rem;color:var(--secondary);font-weight:800;}
.content-section p{margin-bottom:1rem;}
.content-section ul{padding-left:1.2rem;}
.form-wrap{background:var(--light);border-radius:24px;padding:34px;box-shadow:0 10px 30px rgba(15,23,42,.06);}

.stat-box{background:#fff;border-radius:22px;padding:24px;text-align:center;box-shadow:0 10px 28px rgba(2,6,23,.06);height:100%;}
.stat-box h3{font-size:2rem;color:var(--secondary);font-weight:800;}
.breadcrumb-wrap{background:#f4f6fb;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;}
.page-sidebar .list-group-item{border:none;border-left:4px solid transparent;padding:14px 16px;font-weight:700;}
.page-sidebar .list-group-item.active{background:#fff;color:var(--secondary);border-left-color:var(--secondary);box-shadow:0 8px 18px rgba(2,6,23,.06);}
.mini-cta{background:#fff7f8;border:1px solid #f7d7dc;border-radius:20px;padding:22px;}
.sticky-sidebar{position:sticky;top:100px;}*/


.main-brand-custom {
        display:block !important;
    }
  
        /* Mobile Phones */
@media (max-width: 480px) {
    .main-brand-custom {
        display:flex !important;
    }
    /*.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.97);
  background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('../images/bg-header.png');
  background-size: cover;
  background-position: 0 0px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}*/
.navbar-custom {
    background-color: #ffffff; /* Must have a solid background color */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Adds a nice drop shadow */
    border-top: 1px solid #f0f0f0;
    z-index: 1030; /* Forces the navbar to stay on top of all other content */
    position: sticky;
    top: 0; /* Tells it to stick to the very top of the screen */
    background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('../images/bg-header.png');
  background-size: cover;
  background-repeat: initial !important;
  background-position: 0 0px;
  margin: 0;
}
}

@media (max-width: 768px) {
    .main-brand-custom {
        display:flex !important;
    }
    .navbar-custom {
    background-color: #ffffff; /* Must have a solid background color */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Adds a nice drop shadow */
    border-top: 1px solid #f0f0f0;
    z-index: 1030; /* Forces the navbar to stay on top of all other content */
    position: sticky;
    top: 0; /* Tells it to stick to the very top of the screen */
    background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('../images/bg-header.png');
  background-size: cover;
  background-repeat: initial !important;
  background-position: 0 0px !important;
  margin: 0;
}
}


/* Navigation Bar Styles */
.navbar-custom {
    background-color: #ffffff; /* Must have a solid background color */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Adds a nice drop shadow */
    border-top: 1px solid #f0f0f0;
    z-index: 1030; /* Forces the navbar to stay on top of all other content */
    position: sticky;
    top: 0; /* Tells it to stick to the very top of the screen */
    background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('../images/bg-header.png');
  background-size: cover;
  background-repeat: round;
  background-position: 0 0px;
  margin: 0;
}

/* Accordion Custom Styling */
        .accordion-item {
            border: none;
            margin-bottom: 15px;
            border-radius: 8px !important;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            overflow: hidden;
        }
        .accordion-button {
            font-weight: 600;
            color: var(--cfanj-blue);
            background-color: #ffffff;
            padding: 20px;
            font-size: 1.05rem;
            transition: all 0.3s ease;
        }
        .accordion-button:not(.collapsed) {
            background-color: var(--cfanj-light-blue);
            color: var(--cfanj-blue);
            box-shadow: none;
        }
        .accordion-button:focus {
            box-shadow: none;
            border-color: rgba(0,0,0,0.125);
        }
        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d47a1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }
        .accordion-body {
            color: #555;
            line-height: 1.7;
            padding: 20px;
            background-color: #ffffff;
            border-top: 1px solid #f0f0f0;
        }

        .faq-category-title {
            color: var(--cfanj-blue);
            font-weight: 700;
            border-bottom: 3px solid var(--cfanj-gold);
            display: inline-block;
            padding-bottom: 8px;
            margin-bottom: 25px;
            margin-top: 40px;
        }

        /* Pulls the panel up so it overlaps the hero image */
    .hero-bottom-panel {
        margin-top: auto; 
        position: relative;
        z-index: 10;
    }

    /* Stat Card Styling */
    .stat-card {
        padding: 25px 15px;
        height: 100%;
        transition: background-color 0.3s ease;
        border-right: 1px solid #eaeaea; /* Vertical dividers */
    }
    
    /* Removes border from the last stat card before the blue box */
    .stat-col:last-child .stat-card {
        border-right: none;
    }

    .stat-card:hover {
        background-color: #f8f9fa;
    }

    .stat-card i {
        color: var(--cfanj-gold, #fbc02d);
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .stat-card h3 {
        color: var(--cfanj-blue, #0d47a1);
        font-size: 2.2rem;
        font-weight: 900;
        margin-bottom: 5px;
        line-height: 1;
    }

    .stat-card .stat-title {
        font-weight: 700;
        color: #333333;
        font-size: 0.95rem;
        margin-bottom: 5px;
        display: block;
        line-height: 1.2;
    }

    .stat-card .stat-desc {
        color: #6c757d;
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0;
    }

    /* Action Box Styling */
    .quick-box-wrapper {
        background-color: var(--cfanj-blue, #0d47a1);
        background-image: radial-gradient(circle at top right, rgba(251, 192, 45, 0.15), transparent 60%);
        border-radius: 0 12px 12px 0;
        height: 100%;
    }
    
    /* Button Styling */
    .btn-quick-box {
        background-color: var(--cfanj-gold, #fbc02d);
        color: var(--cfanj-blue, #0d47a1);
        font-weight: 700;
        padding: 10px 20px;
        border-radius: 50px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        border: none;
    }
    .btn-quick-box:hover {
        background-color: #ffffff;
        color: var(--cfanj-blue, #0d47a1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    /* Mobile adjustments */
    @media (max-width: 991.98px) {
        .hero-bottom-panel { margin-top: -30px; }
        .stat-card { border-right: none; border-bottom: 1px solid #eaeaea; }
        .quick-box-wrapper { border-radius: 0 0 12px 12px; }
    }

    /* Profile Image Styling */
.profile-img {
    width: 250px;
    height: 250px;
    object-fit: cover; /* Ensures the image doesn't stretch or distort */
    border-color: #ffffff !important; /* White border */
    margin: 0 auto 1.5rem auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Team Card Styling */
        .team-card {
            border: none;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 3rem;
            background-color: #ffffff;
        }
        .team-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .team-sidebar {
            background-color: var(--cfanj-light);
            border-right: 1px solid #eaeaea;
            padding: 40px 20px;
            text-align: center;
        }
        
        .team-img {
            width: 180px;
            height: 180px;
            object-fit: cover;
            border-radius: 50%;
            border: 5px solid #ffffff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        
        .team-content {
            padding: 40px;
        }
        
        .team-content p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 1.2rem;
        }
        
        .team-contact {
            display: inline-block;
            background-color: #ffffff;
            border: 1px solid #ddd;
            padding: 8px 20px;
            border-radius: 30px;
            color: var(--cfanj-blue);
            font-weight: 600;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        .team-contact:hover {
            background-color: var(--cfanj-blue);
            color: #ffffff;
            border-color: var(--cfanj-blue);
        }

        .bio-section-title {
            color: var(--cfanj-blue);
            font-size: 1.1rem;
            font-weight: 700;
            margin-top: 1.5rem;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Checkmark lists for CVs */
        .cv-list {
            list-style: none;
            padding-left: 0;
        }
        .cv-list li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 8px;
            color: #555;
        }
        .cv-list li::before {
            content: '\f00c'; /* Check mark */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--cfanj-gold);
        }

        @media (max-width: 768px) {
            .team-sidebar {
                border-right: none;
                border-bottom: 1px solid #eaeaea;
            }
            .team-content {
                padding: 25px;
            }
        }



         /* Album Card Styling */
        .album-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border-bottom: 5px solid var(--cfanj-gold);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .album-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .album-img-wrap {
            position: relative;
            overflow: hidden;
            height: 250px;
        }

        .album-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .album-card:hover .album-img-wrap img {
            transform: scale(1.1);
        }

        /* Photo Count Badge */
        .photo-count {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(13, 71, 161, 0.9);
            color: #ffffff;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Hover Overlay */
        .album-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(13, 71, 161, 0.6);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: #ffffff;
        }

        .album-card:hover .album-overlay {
            opacity: 1;
        }

        .album-overlay i {
            font-size: 3rem;
            color: var(--cfanj-gold);
            margin-bottom: 10px;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .album-overlay span {
            font-weight: 700;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transform: translateY(20px);
            transition: all 0.3s ease 0.1s;
        }

        .album-card:hover .album-overlay i,
        .album-card:hover .album-overlay span {
            transform: translateY(0);
        }

        /* Album Info Text */
        .album-info {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .album-info h4 {
            color: var(--cfanj-blue);
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 10px;
        }

        .album-info p {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0;
        }
        
        .album-info p i {
            color: var(--cfanj-gold);
            width: 20px;
            text-align: center;
        }

        /* Remove default link styling from the card wrap */
        .album-link-wrap {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
        }