.hero-section{
  background: #00253c;
  padding: 100px 200px;
}

.hero-container{
  position: relative;
  z-index: 2;
}

.hero-content{
    margin-bottom: 50px;
}

.hero-title{
  text-align: center;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.hero-sub{
  text-align: center;
  color: #fff;
  margin-top: 14px;
  font-weight: 300;
  text-transform: capitalize;
}

.color-title{
  color: #ffb300;
}

.hero-btn{
  text-decoration: none;
}

/* ---------- Grid ---------- */
.hero-cards{
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  text-align: center;
  margin-top: 40px;
}

.hero-cards a{
  text-decoration: none;
}

/* =========================
   FLIP CARD (FULL)
========================= */
.hero-card{
  background: transparent;
  border: none;
  padding: 0;
  height: 340px;               /* adjust if needed */
  perspective: 1100px;
  cursor: pointer;
  outline: none;
}

/* rotating wrapper */
.hero-card-inner{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 650ms ease;
}

/* rotate */
.hero-card:hover .hero-card-inner,
.hero-card:focus .hero-card-inner,
.hero-card.is-flipped .hero-card-inner{
  transform: rotateY(180deg);
}

/* BOTH FACES */
.hero-card-front,
.hero-card-back{
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

/* FRONT */
.hero-card-front{
  z-index: 2;
  transform: rotateY(0deg);
  background: #001f33;
}

/* image: no stretch */
.hero-card-front img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* front title strip like screenshot */
.hero-front-title{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;

  background: rgba(0,0,0,0.55);
}

/* BACK */
.hero-card-back{
  z-index: 1;
  transform: rotateY(180deg);
  background: #ffb300;
  border: 3px solid #ffb300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 28px 22px;
  text-align: center;
}

.hero-card-back h3{
  font-size: 22px;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-card-back p{
  font-size: 16px;
  color: #fff;
  margin: 0;
  line-height: 1.6;
  max-width: 360px;
}

/*  LOGOS area (kept from your CSS) */

.logo-img{
  margin: 0px;
}

.logo-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-sec-title{
  color:#00253c;
  margin-bottom: 40px;
}

/*   RESPONSIVE*/
@media (max-width: 1600px){
  .hero-section{
    padding: 60px 100px;
  }
}

@media (max-width: 1400px){
  .hero-section{
    padding: 80px 50px;
  }
}

@media (max-width: 1100px){
  .hero-section{
    padding: 50px 30px;
  }

  .hero-cards{
    /* grid-template-columns: 1fr; */
  }

  .hero-card{
    height: 320px;
  }

  .hero-front-title{
    font-size: 30px;
  }
}

@media (max-width: 767px){
  .hero-cards{
    grid-template-columns: 1fr;
  }

  .hero-card{
    width: 90%;
    margin: 0 auto;
    height: 300px;
  }

  .hero-front-title{
    font-size: 36px;
    padding: 16px 18px;
  }
}

@media (max-width: 600px){
  .hero-card{
    width: 95%;
    height: 280px;
  }

  .hero-front-title{
    font-size: 34px;
  }
}

@media (max-width: 420px){
  .hero-section{
    padding: 40px 14px;
  }

  .hero-card{
    height: 260px;
  }

  .hero-front-title{
    font-size: 30px;
  }
}

/* mission  */
.mission-section{
  background: #fff;
  padding: 0px 0px 60px;
}

.mission-section .container{
  width: min(1200px, 92%);
  margin: 0 auto;
}

.mission-title{
     color:#00253c;
     text-align: center;
}

.mission-quote {
    width: 75%;
    margin: 0 auto;
}

.quote-mark{
  font-size: 90px;
    line-height: 0.9;
    color: #bfc6cc;
    font-family: sans-serif;
    position: absolute;
    margin-left: -60px;
    margin-top: -7px;
}

.quote-text{
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: #00253c;
  text-align: center;
  font-weight: 300;
}

.quote-content{
  /* display: flex;
  flex-direction: column;
  align-items: center; */
}

.quote-meta{
  width: 100%;
  margin-top: 18px;
  text-align: right;
}

.quote-name{
  font-weight: 700;
  color: #00253c;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.quote-title{
  margin-top: 6px;
  color: #00253c;
  font-size: 16px;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px){
  .quote-mark{
    font-size: 70px;
  }
  .quote-text{
    font-size: 16px;
  }

  .quote-title {
    font-size: 14px;
}

.quote-name {
    font-size: 14px;
}

.mission-quote {
    width: 100%;
}
}



/* how-we-support-you section  */
.support-section{
  position: relative;
  background: #00253c;
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
  clip-path: polygon(76% 10%, 100% 0, 100% 90%, 25% 100%, 0 90%, 0 0);
}

/* Layout */
.support-inner{
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 30px auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.support-left {
    position: relative;
    height: 100%;
    display: grid;
    align-items: center;
    place-content: center;
}

.support-title{
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.2px;
  margin-bottom: 60px;
}

.support-highlight{
  font-weight: 600;
}

.support-caret{
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  opacity: 0.9;
}

.support-text{
  line-height: 1.8;
  font-size: 18px;
  width: 90%;
}

.support-btn {
    margin-top: 40px;
}

/* Image grid */
.support-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.support-grid img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.support-left a{
  text-decoration: none;
}

.rotating-text-container {
  font-size: inherit;
  font-weight: 500;
  white-space: nowrap;
}

.rotating-text {
  color: #fff;
  font-weight: 500;
}

.rotating-text::after {
  content: '|';
  animation: blink 0.7s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


/* Responsive */
@media (max-width: 992px){
  .support-inner{
    grid-template-columns: 1fr;
  }
  

  .support-section {
    clip-path: polygon(76% 4%, 100% 0, 100% 96%, 25% 100%, 0 96%, 0 0);
}
}

@media (max-width: 480px){
  .support-section{
    padding: 56px 0;
  }
 
 
  .support-grid{
    gap: 10px;
  }
}



/* success section  */
.success-section{
  background: #ffffff;
  margin-top: 60px;

}


.success-title{
  text-align: center;
  color: #00253c;
  margin-bottom: 40px;
}

.success-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: min(1300px, 92%);
    margin: 30px auto;
}

.success-card{
  background: #00253c;
    border-radius: 10px;
    height: 430px;
}

.success-card-inner {
    color: #fff;
    display: grid;
    grid-template-rows: 2fr 0.6fr 2fr;
    height: 100%;
    width: 90%;
    margin: 0 auto;
}

.success-icon{
 width: auto;
    display: grid;
    place-items: center;
}

.success-icon img{
  width: auto;
  height: 130px;
  object-fit: contain;
}

.success-card h3{
margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
}

.success-card p{
  margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px){
  .success-grid{
    grid-template-columns: repeat(2, 1fr);
  }


  .success-card h3 {
    font-size: 18px;
}
}

@media (max-width: 680px){
  .success-grid{
    grid-template-columns: 1fr;
  }

  .success-title{
    font-size: 28px;
  }

  .success-card{
    height: auto;
    padding: 20px;
  }

.success-card-inner {
    grid-template-rows: auto;
}
  
}


/*********************** Events ****************** */
 .events-section {
    position: relative;
    overflow: hidden;
}

.events-bg{
       background: url('../images/DSC06076.webp') center/cover no-repeat;
  position: absolute;
  inset: 0;
  z-index: 0;
        }

        .events-bg::after{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0, 35, 55, 0.78);
}

        .events-inner{
                padding:50px 180px;
                position: relative;
                z-index: 9;
        }

        .events-container {
                display: grid;
        grid-template-columns: 43% 57%;
        align-items: center;
        gap:30px;
        }

        .events-left {
                float: left;
        }

        .events-title{
  color: #fff;
}

.events-lead{
  line-height: 1.2;
  color: #fff;
  font-size: 30px;
}

.events-sub{
  line-height: 1.8;
  color: #fff;
}

.events-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.events-btn:hover{
 
}

.events-btn-icon{
  display: grid;
  place-items: center;
}


        .events-right {
                float: right;
        }

.events-carousel a{
text-decoration: none;
}

        .carousel-card {
        border: none;
        outline: none;
        margin: 10px;
        }

        .card-content{
    color: #00253c;
    min-height: 50px;
    width: 600px;
    text-align: left;
    background: #f2f2f2;
    padding: 40px 0;
    margin: 0 auto;
        }

        .carousel-card img {
            height: auto;
    width: 600px;
    object-fit: cover;
    margin: 0 auto;
        
        }


        .card-title {
    padding: 0 20px;
        }

.card-title:hover{
  color: #c75a88;
}

    .card-desc {
    padding: 0 20px;
    margin: 0;
}

.events-btn-icon svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}


 @media (max-width: 1400px) {
                .events-inner{
                padding:50px 100px;
                }
        }


        @media (max-width: 1200px) {
                .events-inner{
                padding:50px;
                }
        }

        @media (max-width: 1100px) {
  .card-content{
    width: 500px;
        }

        .carousel-card img {
    width: 500px;
        
        }
        }

        @media (max-width: 950px) {
                .events-section {
        padding:  0;
        }

                .events-inner{
                padding:30px;
                }

                .events-container {
        grid-template-columns: 100%;
        align-items: center;
        gap:30px;
        }

            .card-content {
        width: 100%;
        padding: 30px 0;
    }

        .carousel-card img {
        width: 100%;
    }

    .events-right {
    float: right;
    width: 70%;
    margin: 0 auto;
}
        }

        @media (max-width: 500px) {
        .events-container {
                grid-template-columns: 100%;
                gap: 30px;
        }

         .events-right {
    float: right;
    width: 100%;
    margin: 0 auto;
}
        }




.learning-section{
  padding-top: 80px;
}

.ldp-section .container{
  width: min(1200px, 92%);
  margin: 0 auto;
}

.ldp-inner{
  text-align: center;
}

.ldp-title{
  font-style: italic;
  color: #00253c; 
  letter-spacing: 0.2px;
}

.ldp-subtitle{
  color: #00253c;
    font-size: 16px;
    font-weight: 600;
}

.ldp-text{
 color: #00253c; 
  line-height: 1.8;
  width: 75%;
    margin: 0 auto;
}

.ldp-link{
  color: #00253c;
  text-decoration: underline;
  font-weight: 500;
}

.ldp-cta{
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.ldp-btn{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.ldp-arrow{
  color: #fc5412;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.ldp-btn:hover .ldp-arrow{
  color: #fff;
}

/* Responsive */
@media (max-width: 768px){
.ldp-text{
  width: 100%;
    margin: 0 auto;
}
}


/* Training Section */
.training-section{
  position: relative;
  overflow: hidden;
}

/* background */
.training-bg{
  background: url('../images/training-bg.webp') center/cover no-repeat;
  position: absolute;
  background-attachment: fixed;
  inset: 0;
  z-index: 0;
}
.training-bg::after{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0, 37, 60, 0.78); /* brand navy overlay */
}

/* inner */
.training-inner{
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 70px) clamp(12px, 6vw, 100px);
}

.training-title{
  text-align: center;
  color: #fff;
  font-style: italic;
  margin: 0 0 28px;
}

/* wrap + center badge */
.training-wrap{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Center badge */
.training-badge{
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.training-badge img{
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
}

/* Slick container spacing */
.training-carousel .slick-list{
  padding: 20px 0;
}

/* Slide */
.training-slide{
  padding: 0 18px;
}

/* Card */
.training-card{
 display: grid;
    place-items: center;
    place-content: center;
    gap: 20px;
    text-align: center;
    background: #fff;
    color: var(--brand-navy, #00253c);
    text-decoration: none;
    border-radius: 14px;
    padding: 26px;
    min-height: 150px;
}

.training-card a{
  text-decoration: none;
  color:#00253c;
}

.training-card-title{
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 6px;
}

.training-card-desc{
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--brand-navy, #00253c);
  margin-bottom: 10px;
}

.training-card-date{
  font-size: 14px;
    color: #00253c;
    opacity: 0.9;
}

/* hover */
.training-card:hover{
  outline: 3px solid rgba(91,127,27,0.35); /* brand green glow */
}

/* Dots (bottom center like screenshot) */
.training-carousel .slick-dots{
  bottom: -16px;
}
.training-carousel .slick-dots li button:before{
  font-size: 10px;
  color: #fff;
  opacity: 0.6;
}
.training-carousel .slick-dots li.slick-active button:before{
  opacity: 1;
  color: var(--brand-orange, #fc5412);
}

/* Responsive */
@media (max-width: 1100px){
  .training-badge{
    width: 130px;
    height: 130px;
  }
  .training-badge img{
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 768px){
  .training-badge{
    display: none; /* hide badge on small screens (prevents overlap mess) */
  }
  .training-slide{
    padding: 0 10px;
  }
}

