
    .main {
   
      padding: 20px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: auto 250px;
      gap: 0;
      align-items: stretch;
      margin-top: 50px;
    }

    .grid .title {
      grid-column: 1/3;
      color: beige;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 20px;
    }
.title{


  margin-left: 50px;
}
    .title h1 {
      font-size: 4vw;
      margin: 0 0 10px;
    }

    .title p {
      font-size: 15px;
      font-weight: 500;
      line-height: 1.6;
       color:#787878;
       font-family: Merriweather, sans-serif;
    }

    .grid .bannerimg {
      grid-column: 3/5;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
    }

    .bannerimg img {
      width: 100%;
      max-width: 500px;
      border-radius: 30px;
      object-fit: cover;
    }

    .grid .subimg,
    .grid .t1,
    .grid .t2,
    .grid .t3 {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: beige;
      padding: 20px;
 font-size: 15px;
      margin-top: 25px;
    }

    .subimg {
      background-color: #1e90ff;
      border-radius: 20px 0 0 20px;
    }

    .t1 {
      background-color: #00509e;
    }

    .t2 {
      background-color: #003f88;
    }

    .t3 {
      background-color: #00296b;
      border-radius: 0 20px 20px 0;
    }

    /* Tablet View */
    @media (max-width: 1024px) {
      .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
        gap: 10px;
      }

      .grid .title {
        grid-column: 1/3;
        padding: 10px;
      }

      .title h1 {
        font-size: 4vw;
      }

      .title p {
        font-size: 1.7vw;
      }

      .grid .bannerimg {
        grid-column: 1/3;
      }

      .grid .subimg,
      .grid .t1,
      .grid .t2,
      .grid .t3 {
       font-size: 15px;
      }

      .subimg {
        border-radius: 20px 20px 0 0;
      }

      .t3 {
        border-radius: 0 0 20px 20px;
      }
    }

    /* Mobile View */
    @media (max-width: 768px) {
      .grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
      }
.Ed1{

  margin-top: 100px;
}
      .grid .title,
      .grid .bannerimg,
      .grid .subimg,
      .grid .t1,
      .grid .t2,
      .grid .t3 {
        grid-column: 1/2;
      }

      .title h1 {
        font-size: 6vw;
      }

      .title p {
        font-size: 15px;
      }

      .grid .subimg,
      .grid .t1,
      .grid .t2,
      .grid .t3 {
        font-size: 3.5vw;
        border-radius: 0 !important;
      }

      .subimg {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
      }

      .t3 {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
      }
    }


    .training-section {
  background: #f4f4f4;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.training-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #00296b;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.training-item {
  background: #ffffff;
  padding: 20px;
  border-left: 5px solid #004e92;
  border-radius: 10px;
  font-size: 1.1em;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   font-size: 15px;
}


.training-modern {
  background: #f8f9fb;
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.training-modern h2 {
  font-size: 2.5rem;
  color: #00296b;
  margin-bottom: 10px;
}

.training-modern .training-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.training-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.training-card {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.training-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.training-card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 15px;
  color: #004e92;
}

.training-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #003f88;
  margin: 0;
}




.training-section {
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
  text-align: center;
  margin-top: -100px;
}

.training-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.8rem;
  color: #00296b;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 60px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.training-item {
  background: #f1f5fb;
  padding: 30px 20px;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-align: left;
}

.training-item:hover {
  background-color: #e0ebf7;
  transform: translateY(-5px);
}

.training-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #004e92;
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.15;
}

.training-title {
  font-size: 1.2rem;
  color: #003f88;
  font-weight: 600;
  margin: 0;
  min-height: 60px;
}


.contact-cta {
  background: linear-gradient(to right, #004e92, #000428);
  padding: 60px 20px;
  color: #fff;
  text-align: center;
 
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
   
}

.contact-text h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
   color: #fff;
       font-family: merriweather;
}

.contact-text p {
  font-size: 15px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #dfefff;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #1e90ff;
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
       font-family: merriweather, sans-serif;

}

.cta-button:hover {
  background-color: #1c86ee;
}


/***Upcoming Training"***/


    :root {
      --primary: #0094d4;
      --secondary: #f37828;
      --gray: #6b7280;
    }

    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f3f4f6;
   
    }

    .hero {
      background: linear-gradient(to right, #0ea5e9, #2563eb);
      color: white;
      text-align: center;
      padding: 60px 20px;
    }

   

    .main-content {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      max-width: 1200px;
      margin: 40px auto;
      gap: 20px;
      padding: 0 20px;
    }

    .trainings-grid {
      flex: 1 1 65%;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

   .training-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  max-width: 100%;
  padding: 0; /* remove global padding */
}

.card-body {
  padding: 24px; /* move padding here instead */
}


    .training-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }

  .card-image {
  width: 100%;
  height: 220px;
  background-size: cover !important;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  display: block;
  flex-shrink: 0;
  border-radius: 0; /* optional if you don’t want rounding */
    position: relative; /* 👈 this ensures ::after stays inside */
}

  /* Optional: comment or remove if image looks too dark */
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none; /* remove the dark overlay */
}

    .tag {
      position: absolute;
      top: 12px;
      right: 12px;
      background: linear-gradient(to right, #fbbf24, #f59e0b);
      color: white;
      padding: 6px 12px;
      font-size: 13px;
      font-weight: 600;
      border-radius: 9999px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
      z-index: 2;
    }

    .card-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
    }

    .card-body h3 {
      margin: 0 0 10px;
      font-size: 22px;
      color: #111827;
    }

    .card-info {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--gray);
      margin-bottom: 6px;             
          font-family: merriweather, sans-serif;
    }

    .card-body p {
      margin: 12px 0;
      font-size: 15px;
      color: var(--gray);
      line-height: 1.6;
   
    }

    .buttons {
      margin-top: 20px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      pointer-events: auto;
    }

    .btn {
      padding: 10px 18px;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      cursor: pointer;
      color: white;
      text-decoration: none;
      text-align: center;
      transition: background 0.3s, transform 0.2s ease;
      box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

    .btn.details {
      background-color: var(--primary);
    }

    .btn.register {
      background-color: var(--secondary);
    }

    .btn:hover {
      transform: scale(1.03);
      color: white;
    }

    .sidebar {
      flex: 1 1 30%;
      background: white;
      padding: 24px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      position: sticky;
      top: 20px;
      align-self: flex-start;
      height: fit-content;
    }

    .sidebar h3 {
      font-size: 18px;
      color: var(--primary);
      margin-bottom: 10px;
      border-bottom: 2px solid #e5e7eb;
      padding-bottom: 6px;
    }

    .sidebar-section {
      margin-bottom: 24px;
    }

    .news-item {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
    }

    .news-item img {
      width: 100%;
      height: auto;
      max-width: 100%;
      border-radius: 8px;
    }

    .suggested-card {
      background: #f9fafb;
      padding: 16px;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .suggested-card h4 {
      margin: 0 0 8px;
      font-size: 16px;
      color: #1f2937;
    }

    .suggested-card p {
      margin: 0;
      font-size: 14px;
      color: var(--gray);
    }

    .suggested-card a {
      color: inherit;
      text-decoration: none;
      display: block;
    }

    .suggested-card:hover {
      background-color: #f3f4f6;
    }

    @media (max-width: 900px) {
      .main-content {
        flex-direction: column;
      }
    }

  .UT-title {
      font-size: 4vw;
      margin: 0 0 10px;
 font-family: merriweather;
    }

    .UT-Paragraph{
        font-family: merriweather, sans-serif;
    }



    .bI a{
      color: white;
    }





   