@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
        font-family: "Roboto", Arial, Helvetica, sans-serif !important;
    font-size: 15px;
	font-weight: 400;
    color: #333333;
    line-height: 24px;
    text-rendering: optimizeLegibility;

}
h1, h2, h3, h4 {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-weight: bold;
}
img.img-fluid.logo-original {
   height: 90px;
    margin-left: 17px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.text-primary {
    color: #3d808f !important;
}
p {
    font-family: "Roboto", Arial, Helvetica, sans-serif;

}


.section {
    padding: 60px;
}

.blurb {
    background-color: #ffffff;
    color: #ffffff;
    text-align: center;
}

.footer {
    background-color: #ff3333;
    color: #333;
    text-align: center;
}

.positions_button {
    color: #ff3333 !important;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
    border-width: 2px;
    border-radius: .5rem;
	    border: solid 1px;
}

.positions_button:hover{
    background-color: #ff3333;
  color: #fff !important;
 	    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
    border-width: 2px;
    border-radius: .5rem;
}

.our_brands {
    background-color: #ffffff;
    text-align: center;
}

.our_brands img {
    max-height: 100px;
    max-width: 200px;
    padding: 15px;
    transition: transform .2s
}

.our_brands img:hover {
    transform: scale(1.1)
}

.student_img {
    width: 350px;
    padding-top: 60px;
}

.bursary_title {
    padding-top: 60px;
}
/*//<!--
////nat-->*/
.bg-primarypg {
    color: #ff3333;
}
.h-1 {
    height: 0.25rem;
}
.w-16 {
    width: 4rem;
}
.max-w-4xl {
    max-width: 56rem;
}
.rounded-full {
	    width: 100px;
    border-radius: 9999px;
	background-color: #ff3333;
}
.headershome {        font-size: 3rem;
	font-weight: 800;
	color: #000000;
        line-height: 1;}


.stat-numberpg {
    font-size: 3.25rem;           /* ≈ text-4xl */
    font-weight: 800;
    color: #3d808f;               /* Vivid corporate red – change to your exact brand red */
    line-height: 1.1;
    letter-spacing: -0.05em;
  }

  .stat-label {
    font-size: 0.95rem;
    color: #2d3748;               /* Dark slate gray for readability */
    font-weight: 900;
  }

  .card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08) !important; /* subtle border fallback */
  }

  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
  }

  @media (min-width: 768px) {
    .stat-numberpg {
      font-size: 2.3rem;
    }
  }

.card:hover {
  transform: translateY(-8px);
  transition: transform 0.25s ease;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.12) !important;
}
@keyframes fade2 {
  0%, 40% { opacity:0; }
  50%, 90% { opacity:1; }
  100% { opacity:0; }
}



/*//<!--
////silder- nat-->*/
.textfront {
	    color: #333333;
	        font-size: 1.125rem;
        line-height: 1.75rem;
	
	
}
.textfrontleft {
	    color: #333333;
	        font-size: 1.125rem;
        line-height: 1.75rem;
	text-align: left;
	
	
}
.textfrontleftbb {
    color: #333333;
    font-size: 1.3rem;
    line-height: 1.3;
    text-align: left;
}
.textfrontleftbigger {
    font-size: 1.3rem;
    color: #ff3333;
	font-weight: 700;
    line-height: 37px;
}


.custom-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 1.2s ease-in-out;
}


.slide {
  min-width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Smooth infinite loop using keyframes */


.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  top: 0;
  left: 0;
}

.slide-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.slide-content h2 {
  font-size: 3.5rem;
  margin-bottom: 15px;
	text-align: center;
}

.slide-content p {
  font-size: 20px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 26px;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover,
.next:hover {
  background: rgba(0,0,0,0.9);
}

/* Responsive */
@media (max-width: 768px) {
  .custom-slider { height: 350px; }
}




/*second slider*/

.image-rotate-gallery {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.rotate-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.rotate-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* First image is visible immediately */
.rotate-item:nth-child(1) {
  opacity: 1;
  animation: fadeOutFirst 24s infinite;  /* Only fades out after its turn */
}

/* Others fade in/out with staggered starts */
.rotate-item:nth-child(1) { animation: rotateFadeAnim 40s infinite 0s;    }
.rotate-item:nth-child(2) { animation: rotateFadeAnim 40s infinite 4.4s;  }
.rotate-item:nth-child(3) { animation: rotateFadeAnim 40s infinite 8.9s;  }
.rotate-item:nth-child(4) { animation: rotateFadeAnim 40s infinite 13.3s; }
.rotate-item:nth-child(5) { animation: rotateFadeAnim 40s infinite 17.8s; }
.rotate-item:nth-child(6) { animation: rotateFadeAnim 40s infinite 22.2s; }
.rotate-item:nth-child(7) { animation: rotateFadeAnim 40s infinite 26.7s; }
.rotate-item:nth-child(8) { animation: rotateFadeAnim 40s infinite 31.1s; }
.rotate-item:nth-child(9) { animation: rotateFadeAnim 40s infinite 35.6s; }

@keyframes rotateFadeAnim {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Special fade-out-only for the first one (after others have cycled) */
@keyframes fadeOutFirst {
  0%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}



/*sections with icons*/
h5.fw-bold.mb-3 {
    color: #333333;
	text-align: center;
}
 .section-muted {
      background-color: #f8f9fa;
    }

    .transition-card {
      transition: all 0.3s ease;
      border-radius: 1rem;
    }

    .transition-card:hover {
      border-color: rgba(13, 110, 253, 0.3);
      box-shadow: 0 12px 30px rgba(13, 110, 253, 0.08);
    }

    .icon-box {
      width: 48px;
      height: 48px;
      border-radius: 0.75rem;
      background-color: rgba(13, 110, 253, 0.1);
      display: flex !important;
  align-items: center !important;
  justify-content: center !important;
		    margin-left: 130px;
      color: #0d6efd;
      transition: background-color 0.3s ease;
    }

    .transition-card:hover .icon-box {
      background-color: rgba(13, 110, 253, 0.2);
    }

    .icon-box svg {
      width: 24px;
      height: 24px;
    }

small, .small {
    font-size: 1em !important;
    font-weight: 400 !important;
}


/*bursary*/
 .bursary-card {
      transition: all 0.3s ease;
      border-radius: 1rem;
    }

    .bursary-card:hover {
      border-color: rgba(13, 110, 253, 0.3);
    }

    .icon-circle {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background-color: rgba(13, 110, 253, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.25rem;
      color: #0d6efd;
      transition: background-color 0.3s ease;
    }

    .bursary-card:hover .icon-circle {
      background-color: rgba(13, 110, 253, 0.2);
    }

    .icon-circle svg {
      display: block;
    }


/*footerfrom their site*/

.top-bar {
/*  background: linear-gradient(120deg, #3b7f8b, #5fa3ad);*/
  padding: 22px 20px;
  text-align: center;
	margin-top: 35px;
}

/* Menu layout */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .3px;
  position: relative;
  transition: color .25s ease;
}

.footer-links a:hover {
  color: #000000;
}

/* Active item (like screenshot) */
.footer-links a.active {
  color: #ff5a4f;
  font-weight: 600;
}

/* ===== TOOLTIP CARD ===== */
.tooltip.show {
  opacity: 1;
}

.tooltip-inner {
  background: #fff;
  color: #333;
  border-radius: 4px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  max-width: 260px;
}

/* Arrow */
.tooltip .tooltip-arrow::before {
  border-bottom-color: #ffffff !important;
}

/* Tooltip image */
.tooltip-inner img {
  display: block;
  margin: 0 auto 10px;
  max-width: 120px;
}

/* ===== LOWER BAR (buttons area) ===== */

#ja-footer {
	background-image: url(/sites/pggroup/image/jpeg/groupsites.jpg);
background-size: cover;
	height: 263px;
	    padding-top: 55px;
  
}


.bottom-bar {
  /*background: #083d47;*/
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 14px;
	
	
}

.bottom-bar .box {
  padding: 19px 14px 0px 14px;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
}

.box.green { background: #3d808f }
.box.red { background: #ff3333; }
.box.blue { background: #0274B3; }

.btn-primary {
    border-color: #ff3333 !important;
    background-color: #ff3333 !important;
    color: white;
}
.footer-area {
  background: #0b4650;
  padding: 50px 20px;
  color: #fff;
}

/* ===== TOP BUTTONS ===== */
.footer-top-buttons .btn {
  border-radius: 4px;
  padding: 14px 26px;
  font-weight: 600;
  letter-spacing: .5px;
}

.btn-contact { background: #2dbecd; border: none; }
.btn-disclaimer { background: #f05a4f; border: none; }
.btn-linkedin { background: #1f6fa5; border: none; }

/* ===== POLICY BARS ===== */
.policy-bar {
  background: rgba(255,255,255,0.25);
  padding: 16px 22px;
  margin: 10px auto;
  max-width: 760px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .25s ease;
}

.policy-bar:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* Arrow icon */
.policy-arrow {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Text */
.policy-text {
  font-size: 14px;
  letter-spacing: .3px;
}

/* Smaller bar */
.policy-small {
  max-width: 520px;
}

/* Bottom hotline */
.hotline {
  max-width: 360px;
  text-align: left;
}

/* Policy Section */
.policy-section {
	
  max-width: 900px;
}

.policy-list li {
  margin-bottom: 6px;
}

.policy-list a {
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  transition: opacity .2s ease;
}

.policy-list a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.hotline {
  font-weight: 600;
}

.policy-list a {
  display: flex;
  align-items: center;
  gap: 8px;              /* slightly tighter */
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
}

.policy-icon {
  flex: 0 0 14px;        /* fixed width */
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
}

.policy-icon svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 1.8;     /* thinner stroke = more elegant */
}

.policy-list a:hover .policy-icon {
  color: #ffffff;
}

/*bursaries*/
.bg-secondary {
    background-color: #efefef !important;
}
.badge {
    border: none !important;
margin: 3px;
}
img.img-fluid.w-100.h-100.object-fit-cover {
    border-radius: 1rem;
    
}
.card.shadow.border-0.rounded-4.overflow-hidden {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 15px;
}
.cardwhite {
    background-color: #ffffff;
    /* padding: 0 12px 0 12px; */
}
/* Mobile font adjustments */
@media (max-width: 768px) {

  body {
    font-size: 14px;
    line-height: 22px;
  }
	
	 #ja-footer {
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: auto;   /* Let content control height */
        background-position: center center;
    }
	
	.mobilepadd {
		
	padding-top: 25px	
		
	}
  .headershome {
    font-size: 2rem;
  }

  .textfront,
  .textfrontleft {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .textfrontleftbigger {
    font-size: 1.2rem;
    line-height: 28px;
  }
.textfrontleftbb {
    color: #333333;
    font-size: 1rem;
    line-height: 1;
    text-align: left;
}
  .stat-numberpg {
    font-size: 1rem;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 14px;
  }

}

/*end mobile*/