/* =========================================================
   GLOBAL RESET & BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: #2b2b2b;
  line-height: 1.6;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, li {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.accent {
  color: #f5a623;
}

/* =========================================================
   COLOR VARIABLES
========================================================= */
:root {
  --navy: #16305e;
  --navy-dark: #0f2547;
  --gold: #f5a623;
  --yellow-banner: #f6c945;
  --blue-tint: #e9f1fb;
  --blue-tint-strong: #2f6fd6;
  --green-tint: #eaf8ee;
  --green-strong: #2e9e5b;
  --orange-tint: #fdece0;
  --orange-strong: #ef7f2e;
  --purple-tint: #f1edfb;
  --purple-strong: #6c4bd6;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero-section {
  background-color: var(--navy);
  color: #ffffff;
  border-radius: 0 0 40px 40px;
  padding: 60px 0 70px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1 1 55%;
}

.hero-text h1 {
  font-size: 2.1rem;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text p {
  max-width: 480px;
  font-size: 0.95rem;
  color: #d7e0f0;
}

.hero-image {
  flex: 1 1 40%;
}

.hero-image img {
  width: 100%;
}

/* =========================================================
   COURSES OFFERED
========================================================= */
.courses-section {

  padding: 30px 0 60px;
  margin-top: -1px;
}

.section-heading {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: 700;
}

.section-heading.light {
    color: #ffffff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px 15px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.course-card img {
  margin: 0 auto 15px;
  width: 60px;
  height: 60px;
}

.course-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.course-card p {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================================
   GOVERNMENT POSTS SECTION
========================================================= */
.posts-section {
  padding: 60px 0;
}

.posts-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.posts-text {
  flex: 1 1 50%;
  position: relative;
}

.megaphone-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
}

.posts-text h2 {
  font-size: 2rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 15px;
}

.posts-text h2 span {
  display: block;
  font-size: 1.1rem;
  color: #1f2937;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 6px;
}

.posts-text p {
  color: #6b7280;
  font-size: 0.9rem;
  max-width: 420px;
}

.posts-images {
  flex: 1 1 45%;
  display: flex;
  align-items: flex-end;
  gap: 0px;
}

.posts-images img {

  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* =========================================================
   YELLOW BANNER STRIP
========================================================= */
.banner-strip {
  background-color: var(--yellow-banner);
  padding: 16px 0;
  text-align: center;
}

.banner-strip p {
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.banner-strip .star {
  color: var(--navy-dark);
  margin: 0 8px;
}

/* =========================================================
   GROUPS SECTION
========================================================= */
.groups-section {
  padding: 60px 0;
  background-color: #fafafa;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.group-card {
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
}

.group-blue   { background-color: var(--blue-tint); }
.group-green  { background-color: var(--green-tint); }
.group-orange { background-color: var(--orange-tint); }
.group-purple { background-color: var(--purple-tint); }

.icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.circle-blue   { background-color: var(--blue-tint-strong); }
.circle-green  { background-color: var(--green-strong); }
.circle-orange { background-color: var(--orange-strong); }
.circle-purple { background-color: var(--purple-strong); }

.icon-circle img {
  width: 60px;
  height: 60px;
}

.group-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  color: #ffffff;
  margin-bottom: 14px;
}

.badge-blue   { background-color: var(--blue-tint-strong); }
.badge-green  { background-color: var(--green-strong); }
.badge-orange { background-color: var(--orange-strong); }
.badge-purple { background-color: var(--purple-strong); }

.group-card p {
  font-size: 0.8rem;
  color: #6b7280;
}

/* =========================================================
   WHY CHOOSE US SECTION
========================================================= */
.why-section {
  background-color: var(--navy);
  padding: 60px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.why-card {
  background-color: #ffffff;
  border-radius: 8px;
  text-align: center;
  padding: 26px 12px;
}

.why-card img {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
}

.why-card h4 {
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.why-card p {
  font-size: 0.72rem;
  color: #6b7280;
}

/* =========================================================
   BOTTOM CTA SECTION
========================================================= */
.cta-section {
  background-color: var(--navy-dark);
  padding: 35px 0;
  margin:40px;
}

.cta-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

.cta-icon-link {
  flex-shrink: 0;
}

.cta-icon-link img {
  width: 60px;
  height: 60px;
}

.cta-text h2 {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cta-text p {
  color: #c9d2e3;
  font-size: 0.85rem;
  max-width: 600px;
}

/* =========================================================
   RESPONSIVE - TABLET (max-width: 991px)
   4 columns -> 2 columns
========================================================= */
@media (max-width: 991px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto;
  }

  .posts-container {
    flex-direction: column;
    text-align: center;
  }

  .posts-text p {
    margin: 0 auto;
  }

  .posts-images {
    justify-content: center;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }
 .hero-text p , .posts-text p {
    max-width: 550px;
    font-size: 1rem;
}
.group-card p, .why-card p, .cta-text p {
    font-size: 1rem;
}
.cta-section {
    margin: 20px;
}

}

/* =========================================================
   RESPONSIVE - MOBILE (max-width: 480px)
   -> 1 column
========================================================= */
@media (max-width: 480px) {

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .groups-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .posts-images {
    flex-direction: column;
    align-items: center;
  }

  .banner-strip p {
    font-size: 0.8rem;
    padding: 0 10px;
  }
 .why-card h4 {
    font-size: 1rem;
} 
  .why-card img {
    width: 70px;
    height: 70px;
}
  
}










/*==========================
    COURSES OFFERED
===========================*/

.cu-courses-section{
    padding:80px 15px;
    background:#fff;
}

.cu-courses-wrapper{
    max-width:1200px;
    margin:auto;
    border:1px solid #2d73b7;
    border-radius:4px;
    overflow:hidden;
    background:#fff;
}

/* Header */

.cu-courses-title{
    background:#0d4b84;
    text-align:center;
    padding:12px 20px;
}

.cu-courses-title h2{
    margin:0;
    font-size:20px;
    font-weight:800;
    text-transform:uppercase;
    line-height:1;
    letter-spacing:.5px;
    color:#f5b900;
    font-family: 'Inter', sans-serif;
}

.cu-courses-title h2 span{
    color:#fff;
}

/* Grid */

.cu-courses-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    align-items:center;
}

.cu-course-item{
    text-align:center;
    padding:32px 20px;
    position:relative;
}

.cu-course-item:not(:last-child){
    border-right:1px solid #d9d9d9;
}

.cu-course-item a{
    text-decoration:none;
    display:block;
}

.cu-course-item img{
    width:80px;
    height:80px;
    object-fit:contain;
    display:block;
    margin:0 auto 18px;
}

.cu-course-item h3{
    margin:0 0 8px;
    font-size:25px;
    font-weight:800;
    line-height:1;
    color:#16366f;
    font-family:Arial, Helvetica, sans-serif;
}

.cu-course-item p{
    margin:0;
    font-size:13px;
    font-weight:700;
    line-height:1.45;
    color:#16366f;
    text-transform:uppercase;
    font-family:Arial, Helvetica, sans-serif;
}

/* Green Item */

.cu-course-green h3,
.cu-course-green p{
    color:#14551f;
}

/* Hover */

.cu-course-item{
    transition:.3s ease;
}

.cu-course-item:hover{
    background:#fafafa;
}

.cu-course-item:hover img{
    transform:scale(1.05);
    transition:.3s;
}

/* Tablet */

@media (max-width:991px){

    .cu-courses-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .cu-course-item:nth-child(2){
        border-right:none;
    }

    .cu-course-item:nth-child(-n+2){
        border-bottom:1px solid #d9d9d9;
    }

}

/* Mobile */

@media (max-width:576px){

    .cu-courses-grid{
        grid-template-columns:1fr;
    }

    .cu-course-item{
        border-right:none !important;
        border-bottom:1px solid #d9d9d9;
        padding:28px 15px;
    }

    .cu-course-item:last-child{
        border-bottom:none;
    }

    .cu-courses-title h2{
        font-size:24px;
    }

    .cu-course-item img{
        width:90px;
        height:90px;
    }

    .cu-course-item h3{
        font-size:20px;
    }

    .cu-course-item p{
        font-size:14px;
    }

}