    .education-gallery-area {
    padding: 70px 0;
}

.education-gallery-area .row {
    display: flex;
    flex-wrap: wrap;
}

.education-gallery-area .d-flex {
    display: flex;
}

.education-gallery-card {
    width: 100%;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.education-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.education-gallery-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.education-gallery-image a {
    position: relative;
    display: block;
    width: 100%;
}

.education-gallery-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.education-gallery-card:hover .education-gallery-image img {
    transform: scale(1.06);
}

.gallery-view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 45px;
    height: 45px;
    color: #ffffff;
    background: rgba(242, 101, 34, 0.9);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.3s ease;
}

.education-gallery-card:hover .gallery-view-icon {
    opacity: 1;
}

.education-gallery-content {
    padding: 20px 18px 22px;
}

.education-gallery-content h3 {
    min-height: 52px;
    margin: 0 0 10px;
    color: #222222;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.education-gallery-content p {
    min-height: 100px;
    margin: 0 0 16px;
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
}

.education-gallery-link {
    display: inline-flex;
    padding: 9px 16px;
    color: #ffffff;
    background: #f26522;
    border-radius: 5px;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.education-gallery-link:hover {
    color: #ffffff;
    background: #1b7a3d;
    text-decoration: none;
}

/* Tablet: 2 columns */
@media (max-width: 991px) {
    .education-gallery-image img {
        height: 240px;
    }
}

/* Mobile: 1 column */
@media (max-width: 575px) {
    .education-gallery-image img {
        height: 230px;
    }

    .education-gallery-content h3,
    .education-gallery-content p {
        min-height: auto;
    }
}

/* YouTube Video Section */
.programme-video-area {
    padding: 50px 0 20px;
}

.programme-video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
    margin-bottom: 30px;
    transition: 0.3s ease;
}

.programme-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.programme-video {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.programme-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.programme-video-title {
    padding: 15px 15px 18px;
    text-align: center;
}

.programme-video-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

@media (max-width: 991px) {
    .programme-video {
        height: 240px;
    }
}

@media (max-width: 575px) {
    .programme-video {
        height: 230px;
    }
}

   .inreca-results,
.inreca-results * {
  box-sizing: border-box;
}

.inreca-results {
  padding: 75px 15px;
  background: #f6f9fc;
  font-family: Arial, sans-serif;
}

.inreca-results-container {
  max-width: 1180px;
  margin: auto;
}

.inreca-results-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 38px;
}

.inreca-results-heading span {
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.inreca-results-heading h2 {
  color: #102d4b;
  font-size: clamp(27px, 4vw, 39px);
  line-height: 1.25;
  margin: 12px 0;
  font-weight: 750;
}

.inreca-results-heading p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  margin: 5px 0;
}

.inreca-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.inreca-result-card {
  padding: 25px;
  background: #fff;
  border: 1px solid #e4ebf2;
  border-radius: 14px;
  box-shadow: 0 7px 25px rgba(15, 40, 65, .04);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.inreca-result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(15, 40, 65, .1);
}

.inreca-card-icon {
  width: 52px;
  height: 52px;
  background: #e8f2fa;
  color: #12649c;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 17px;
}

.inreca-result-card h3 {
  font-size: 17px;
  line-height: 1.5;
  color: #102d4b;
  margin: 0 0 15px;
  font-weight: 700;
  flex: 1;
}

.inreca-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 18px;
}

.inreca-card-meta b {
  color: #15803d;
}

.inreca-view-btn {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #11669a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s;
}

.inreca-view-btn:hover {
  background: #0b4269;
}

/* Modal */
.inreca-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(8, 25, 44, .76);
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
}

.inreca-modal.active {
  display: flex;
}

.inreca-modal-dialog {
  width: 100%;
  max-width: 850px;
  max-height: min(90vh, 900px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .2);
  animation: inrecaModalIn .25s ease-out;
}

@keyframes inrecaModalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.inreca-modal-header {
  background: #103657;
  color: #fff;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.inreca-year {
  color: #a7e4c1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.inreca-modal-header h3 {
  color: #fff;
  font-size: 21px;
  line-height: 1.45;
  margin: 7px 0 0;
}

.inreca-close {
  background: rgba(255, 255, 255, .15);
  border: 0;
  color: #fff;
  font-size: 27px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}

.inreca-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  min-height: 0;
}

.inreca-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.inreca-stat {
  padding: 17px;
  border: 1px solid #e3eaf0;
  border-radius: 10px;
  background: #f7fafd;
}

.inreca-stat small {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.inreca-stat strong {
  font-size: 27px;
  color: #103657;
}

.inreca-stat.success {
  background: #eefbf2;
  border-color: #d2f0dc;
}

.inreca-stat.success strong {
  color: #15803d;
}

.inreca-table-wrap {
  overflow-x: auto;
  border: 1px solid #e3eaf0;
  border-radius: 10px;
}

.inreca-result-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  text-align: left;
}

.inreca-result-table th {
  background: #eaf2f8;
  color: #103657;
  padding: 14px 17px;
  font-size: 13px;
  font-weight: 700;
}

.inreca-result-table td {
  padding: 12px 17px;
  font-size: 14px;
  color: #475569;
  border-top: 1px solid #e9eef3;
}

.inreca-result-table tbody tr:nth-child(even) {
  background: #f9fbfd;
}

.inreca-result-table tbody tr:last-child {
  background: #e8f5ed;
  font-weight: 700;
}

.inreca-result-table tbody tr:last-child td {
  color: #166534;
  font-weight: 700;
}

.inreca-pass {
  display: inline-block;
  padding: 5px 10px;
  background: #e8f7ed;
  color: #15803d;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.inreca-modal-footer {
  padding: 14px 28px;
  border-top: 1px solid #e3eaf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 12px;
}

.inreca-modal-footer button {
  padding: 9px 22px;
  background: #103657;
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
}




@media (max-width: 767px) {
  .inreca-modal .inreca-table-wrap,
  .inreca-modal .table-responsive {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .inreca-modal table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  .inreca-modal table th,
  .inreca-modal table td {
    min-width: 0 !important;
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 10px !important;
    padding: 8px 2px !important;
    text-align: center !important;
  }

  .inreca-modal table th:nth-child(1),
  .inreca-modal table td:nth-child(1) {
    width: 17% !important;
  }

  .inreca-modal table th:nth-child(2),
  .inreca-modal table td:nth-child(2) {
    width: 35% !important;
  }

  .inreca-modal table th:nth-child(3),
  .inreca-modal table td:nth-child(3) {
    width: 20% !important;
  }

  .inreca-modal table th:nth-child(4),
  .inreca-modal table td:nth-child(4) {
    width: 28% !important;
  }
}





/* ==========================================
   INRECA ACADEMIC RESULT CARDS
========================================== */

.academic-results-section {
    padding: 45px 0;
    background: #f7faff;
}

.academic-results-section *,
.academic-results-section *::before,
.academic-results-section *::after {
    box-sizing: border-box;
}

.academic-results-row {
    display: flex;
    flex-wrap: wrap;
}

.academic-results-row > div {
    margin-bottom: 25px;
    display: flex;
}

/* Main Card */
.academic-card {
    width: 100%;
    background: #fff;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(0, 35, 80, .10);
    transition: .3s ease;
}

.academic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 35, 80, .15);
}

/* Theme Colors */
.academic-card.theme-blue {
    --primary: #124b97;
    --primary-dark: #0d3878;
    --soft: #e5f2ff;
    --soft-border: #c5dfff;
    --card-border: #73b6f3;
}

.academic-card.theme-green {
    --primary: #087d6c;
    --primary-dark: #086452;
    --soft: #e1f5ee;
    --soft-border: #b6e5d8;
    --card-border: #5bc2ab;
}

/* Header */
.academic-card-header {
    min-height: 150px;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(
        115deg,
        var(--primary-dark),
        var(--primary)
    );
    position: relative;
    overflow: hidden;
}

.academic-card-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    right: -60px;
    top: -95px;
}

.academic-cap {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255,255,255,.10);
}

.academic-cap i {
    font-size: 65px;
    color: #ffcd48;
}

.academic-heading {
    position: relative;
    z-index: 1;
}

.academic-heading span {
    display: block;
    color: #fff;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;
}

.academic-heading h3 {
    font-size: 43px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    margin: 4px 0;
}

.academic-heading p {
    color: #ffd54d;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* Body */
.academic-card-body {
    padding: 18px;
}

/* Table */
.academic-table-box {
    width: 100%;
    border: 1px solid var(--soft-border);
    border-radius: 7px;
    overflow: hidden;
}

.academic-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
}

.academic-table th,
.academic-table td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid var(--soft-border);
    padding: 10px 4px;
    line-height: 1.35;
}

.academic-table thead th {
    background: var(--soft);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
}

.academic-table th:nth-child(1) {
    width: 21%;
}

.academic-table th:nth-child(2) {
    width: 34%;
}

.academic-table th:nth-child(3) {
    width: 20%;
}

.academic-table th:nth-child(4) {
    width: 25%;
}

.academic-table tbody td {
    font-size: 15px;
    color: #23374f;
    font-weight: 500;
}

.academic-table tbody td:first-child {
    font-weight: 700;
}

.academic-table tbody tr:nth-child(even) {
    background: #fafcff;
}

.academic-card.theme-green
.academic-table tbody tr:nth-child(even) {
    background: #f8fdfa;
}

.academic-table tfoot td {
    background: var(--soft);
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 800;
}

/* Overall Percentage */
.academic-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 17px;
    margin-top: 20px;
    border: 1px solid var(--soft-border);
    border-radius: 10px;
    background: var(--soft);
}

.academic-chart-icon {
    padding-right: 20px;
    border-right: 2px solid var(--soft-border);
}

.academic-chart-icon i {
    font-size: 43px;
    color: var(--primary);
}

.academic-overall-content span {
    display: block;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 700;
}

.academic-overall-content strong {
    display: block;
    color: var(--primary-dark);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

/* Bottom Message */
.academic-footer {
    padding: 20px 5px 5px;
    text-align: center;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {
    .academic-card-header {
        padding: 18px;
        gap: 14px;
    }

    .academic-cap {
        width: 75px;
        height: 75px;
        flex-basis: 75px;
    }

    .academic-cap i {
        font-size: 47px;
    }

    .academic-heading h3 {
        font-size: 34px;
    }

    .academic-heading span {
        font-size: 18px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {
    .academic-results-section {
        padding: 30px 0;
    }

    .academic-results-row > div {
        width: 100%;
    }

    .academic-card {
        max-width: 550px;
        margin: 0 auto;
    }

    .academic-card-header {
        min-height: 120px;
        padding: 15px;
        gap: 13px;
    }

    .academic-cap {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .academic-cap i {
        font-size: 40px;
    }

    .academic-heading span {
        font-size: 16px;
    }

    .academic-heading h3 {
        font-size: 29px;
    }

    .academic-heading p {
        font-size: 15px;
    }

    .academic-card-body {
        padding: 12px;
    }

    .academic-table th,
    .academic-table td {
        padding: 9px 3px;
    }

    .academic-table thead th {
        font-size: 11px;
    }

    .academic-table tbody td,
    .academic-table tfoot td {
        font-size: 12px;
    }

    .academic-overall {
        padding: 14px 10px;
        gap: 13px;
        margin-top: 15px;
    }

    .academic-chart-icon {
        padding-right: 13px;
    }

    .academic-chart-icon i {
        font-size: 32px;
    }

    .academic-overall-content span {
        font-size: 13px;
    }

    .academic-overall-content strong {
        font-size: 30px;
    }

    .academic-footer {
        font-size: 14px;
        padding-top: 15px;
    }
}

@media (max-width: 360px) {
    .academic-table thead th {
        font-size: 10px;
    }

    .academic-table tbody td,
    .academic-table tfoot td {
        font-size: 11px;
    }

    .academic-heading h3 {
        font-size: 25px;
    }
}



