/* =========================================================
   INSTITUTE OF PROFESSIONAL STUDIES (IPS) — MAIN STYLESHEET
   Custom classes are prefixed with "ips-"
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  --ips-royal: #0c2d6e;      /* deep royal blue */
  --ips-royal-dark: #081d49; /* darker navy for depth */
  --ips-blue: #1668e0;       /* bright blue */
  --ips-red: #e31b3d;        /* red / magenta accent */
  --ips-yellow: #ffc50f;     /* yellow accent */
  --ips-navy-text: #0a1730;
  --ips-grey-text: #55607a;
  --ips-light: #f4f7fc;
  --ips-white: #ffffff;

  --ips-font-head: "Poppins", sans-serif;
  --ips-font-body: "Inter", sans-serif;

  --ips-radius: 14px;
  --ips-shadow: 0 10px 30px rgba(10, 23, 48, 0.08);
  --ips-shadow-strong: 0 18px 40px rgba(10, 23, 48, 0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ips-font-body);
  color: var(--ips-navy-text);
  background: var(--ips-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .ips-font-head {
  font-family: var(--ips-font-head);
  color: var(--ips-navy-text);
  font-weight: 700;
}

a { text-decoration: none; }

.ips-text-blue { color: var(--ips-blue); }
.ips-text-royal { color: var(--ips-royal); }
.ips-text-red { color: var(--ips-red); }
.ips-text-grey { color: var(--ips-grey-text); }
.ips-bg-light { background: var(--ips-light); }
.ips-bg-royal { background: var(--ips-royal); }

/* Section spacing rhythm */
.ips-section { padding: 84px 0; }
@media (max-width: 767px) {
  .ips-section { padding: 56px 0; }
}

/* Section heading block */
.ips-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ips-red);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.ips-section-tag::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--ips-yellow);
  display: inline-block;
}
.ips-section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.ips-section-sub {
  color: var(--ips-grey-text);
  max-width: 640px;
  font-size: 1.02rem;
}

/* Buttons */
.btn-ips-primary {
  background: var(--ips-red);
  border: 2px solid var(--ips-red);
  color: #fff;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  transition: all .25s ease;
}
.btn-ips-primary:hover {
  background: #b91330;
  border-color: #b91330;
  color: #fff;
  transform: translateY(-2px);
}
.btn-ips-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  transition: all .25s ease;
}
.btn-ips-outline:hover {
  background: #fff;
  color: var(--ips-royal);
  transform: translateY(-2px);
}
.btn-ips-navy {
  background: var(--ips-royal);
  border: 2px solid var(--ips-royal);
  color: #fff;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  transition: all .25s ease;
}
.btn-ips-navy:hover {
  background: var(--ips-royal-dark);
  border-color: var(--ips-royal-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ips-yellow {
  background: var(--ips-yellow);
  border: 2px solid var(--ips-yellow);
  color: var(--ips-navy-text);
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 50px;
  transition: all .25s ease;
}
.btn-ips-yellow:hover {
  background: #e6ad00;
  border-color: #e6ad00;
  transform: translateY(-2px);
}

/* ---------- 2. TOP UTILITY BAR ---------- */
.ips-topbar {
  background: var(--ips-royal-dark);
  color: #dfe7ff;
  font-size: 0.85rem;
  padding: 6px 0;
}
.ips-topbar a { color: #dfe7ff; }
.ips-topbar a:hover { color: var(--ips-yellow); }
.ips-topbar .ips-badge-reg {
  background: rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 2px 14px;
  font-size: 0.78rem;
}

/* ---------- 3. NAVBAR ---------- */
.ips-navbar {
  background: rgba(255,255,255,0.98);
  padding: 14px 0;
  transition: all .3s ease;
  box-shadow: 0 2px 12px rgba(10,23,48,0.05);
}
.ips-navbar.ips-scrolled {
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(10,23,48,0.1);
}
.ips-logo-text {
  font-family: var(--ips-font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ips-royal);
  line-height: 1;
}
.ips-logo-text span { color: var(--ips-red); }
.ips-logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  color: var(--ips-grey-text);
  font-weight: 500;
}
.ips-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--ips-royal), var(--ips-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ips-font-head);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ips-nav-link {
  color: var(--ips-navy-text) !important;
  font-weight: 600;
  padding: 8px 16px !important;
  position: relative;
}
.ips-nav-link.active,
.ips-nav-link:hover { color: var(--ips-blue) !important; }
.ips-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 3px;
  background: var(--ips-red);
}
.ips-btn-login {
  border: 2px solid var(--ips-royal);
  color: var(--ips-royal) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 7px 20px !important;
}
.ips-btn-login:hover { background: var(--ips-royal); color: #fff !important; }
.ips-btn-enquire {
  background: var(--ips-red);
  color: #fff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 9px 22px !important;
}
.ips-btn-enquire:hover { background: #b91330; color: #fff !important; }

/* Mobile offcanvas */
.ips-offcanvas { width: 300px; }
.ips-offcanvas .offcanvas-header {
  background: var(--ips-royal);
  color: #fff;
}
.ips-offcanvas .btn-close { filter: invert(1); }
.ips-offcanvas .ips-nav-link { color: var(--ips-navy-text) !important; display: block; padding: 14px 10px !important; border-bottom: 1px solid #eef1f8; }
.ips-offcanvas .ips-nav-link.active::after { display: none; }
.ips-offcanvas .ips-nav-link.active { color: var(--ips-red) !important; }

/* ---------- 4. HERO ---------- */
/* =========================================
   IPS HERO
========================================= */

.ips-hero {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.ips-hero .carousel {
  width: 100%;
}

.ips-hero .carousel-inner {
  width: 100%;
}

.ips-hero .carousel-item {
  width: 100%;
  height: auto;
}

.ips-hero-img {
  width: 100%;
  max-height: 400px;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* =========================================
   PREVIOUS / NEXT BUTTON
========================================= */

.ips-carousel-btn {
  width: 70px !important;
  height: 70px;

  top: 50%;
  bottom: auto;

  transform: translateY(-50%);

  opacity: 1 !important;

  z-index: 10;

  transition: all 0.3s ease;
}


/* Arrow Circle */

.ips-arrow {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.92);

  color: #26358F;

  font-size: 18px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

  transition: all 0.3s ease;
}


/* Hover */

.ips-carousel-btn:hover .ips-arrow {
  background: #26358F;
  color: #fff;

  transform: scale(1.12);
}


/* Click */

.ips-carousel-btn:active .ips-arrow {
  transform: scale(0.95);
}


/* Position */

.ips-prev {
  left: 20px;
}

.ips-next {
  right: 20px;
}


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

@media (max-width: 991px) {

  .ips-hero .carousel-item,
  .ips-hero-img {
    max-height: 350px;
  }

  .ips-carousel-btn {
    width: 60px !important;
    height: 60px;
  }

  .ips-arrow {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .ips-prev {
    left: 12px;
  }

  .ips-next {
    right: 12px;
  }

}


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

@media (max-width: 767px) {

  .ips-hero .carousel-item,
  .ips-hero-img {
    max-height: 300px;
  }

  .ips-carousel-btn {
    width: 52px !important;
    height: 52px;
  }

  .ips-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .ips-prev {
    left: 8px;
  }

  .ips-next {
    right: 8px;
  }

}


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

@media (max-width: 575px) {

  .ips-hero .carousel-item,
  .ips-hero-img {
    max-height: 250px;
  }

  .ips-carousel-btn {
    width: 46px !important;
    height: 46px;
  }

  .ips-arrow {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .ips-prev {
    left: 5px;
  }

  .ips-next {
    right: 5px;
  }

}

/* ---------- 5. TRUST / HIGHLIGHT STRIP ---------- */
/* ================================
   ACTIVE FEATURE STRIP
================================ */

.ips-strip {
    background: var(--ips-royal);
    margin-top: -1px;
    position: relative;
    overflow: hidden;
}

.ips-strip::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    top: -180px;
    right: -80px;
    pointer-events: none;
}

.ips-strip .row {
    position: relative;
    z-index: 1;
}

/* Item */

.ips-strip-item {
    height: 100%;
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 18px;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Active bottom line */

.ips-strip-item::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: var(--ips-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Hover */

.ips-strip-item:hover {
    background: rgba(255, 255, 255, 0.055);
    transform: translateY(-2px);
}

.ips-strip-item:hover::after {
    transform: scaleX(1);
}

/* Icon */

.ips-strip-item .ips-icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.10);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--ips-yellow);
    font-size: 1.25rem;

    transition: all 0.3s ease;
}

.ips-strip-item:hover .ips-icon-box {
    background: var(--ips-yellow);
    color: var(--ips-royal);
    transform: scale(1.06) rotate(-3deg);
}

/* Content */

.ips-strip-content {
    min-width: 0;
}

.ips-strip-item .title {
    font-weight: 700;
    font-size: 0.94rem;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #fff;
}

.ips-strip-item .sub {
    font-size: 0.76rem;
    line-height: 1.4;
    color: #c7d3f0;
}

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

@media (max-width: 991px) {

    .ips-strip-item {
        min-height: 100px;
        padding: 18px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .ips-strip-item:nth-child(2n) {
        border-right: none;
    }

    .ips-strip-item .ips-icon-box {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
}

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

@media (max-width: 575px) {

    .ips-strip-item {
        min-height: 88px;
        padding: 15px 12px;
        gap: 12px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .ips-strip-item::after {
        left: 12px;
        right: 12px;
    }

    .ips-strip-item .ips-icon-box {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 11px;
        font-size: 1.05rem;
    }

    .ips-strip-item .title {
        font-size: 0.88rem;
    }

    .ips-strip-item .sub {
        font-size: 0.72rem;
    }
}

/* ================================
   VERY SMALL SCREEN
================================ */

@media (max-width: 360px) {

    .ips-strip-item {
        padding: 13px 10px;
        gap: 10px;
    }

    .ips-strip-item .ips-icon-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.95rem;
    }

    .ips-strip-item .title {
        font-size: 0.82rem;
    }

    .ips-strip-item .sub {
        font-size: 0.68rem;
    }
}

/* ---------- 6. ABOUT SECTION ---------- */
.ips-about-img-wrap { position: relative; }
.ips-about-img-wrap img {
  border-radius: var(--ips-radius);
  box-shadow: var(--ips-shadow-strong);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.ips-about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  border-radius: var(--ips-radius);
  box-shadow: var(--ips-shadow-strong);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}
@media (max-width: 575px) { .ips-about-badge { left: 10px; bottom: -20px; padding: 12px 16px; } }
.ips-about-badge .ips-icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ips-royal);
  color: var(--ips-yellow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ips-about-badge .txt { font-size: 0.8rem; font-weight: 600; color: var(--ips-navy-text); line-height: 1.3; }

.ips-reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff4e0;
  border: 1px dashed var(--ips-yellow);
  color: #7a5b00;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  margin-top: 22px;
}

.ips-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.ips-about-list i { color: var(--ips-red); margin-top: 3px; }

/* ---------- 7. WHY CHOOSE / FEATURE CARDS ---------- */
.ips-feature-card {
  background: #fff;
  border-radius: var(--ips-radius);
  padding: 32px 26px;
  height: 100%;
  border: 1px solid #eef1f8;
  transition: all .3s ease;
  position: relative;
}
.ips-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ips-shadow-strong);
  border-color: transparent;
}
.ips-feature-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(145deg, var(--ips-royal), var(--ips-blue));
  color: var(--ips-yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.ips-feature-card h5 { font-size: 1.08rem; margin-bottom: 10px; }
.ips-feature-card p { color: var(--ips-grey-text); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- 8. COURSE CARDS (exam-ticket notch style) ---------- */
.ips-course-card {
  background: #fff;
  border-radius: var(--ips-radius);
  overflow: hidden;
  box-shadow: var(--ips-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  border: 1px solid #eef1f8;
}
.ips-course-card:hover { transform: translateY(-6px); box-shadow: var(--ips-shadow-strong); }
.ips-course-img-wrap { position: relative; height: 190px; overflow: hidden; }
.ips-course-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ips-course-card:hover .ips-course-img-wrap img { transform: scale(1.08); }
.ips-course-code {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(8,29,73,0.85);
  color: var(--ips-yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: "Courier New", monospace;
}
.ips-course-cat {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--ips-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 14px;
  border-top-left-radius: 10px;
}
.ips-course-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ips-course-body h5 { font-size: 1.08rem; margin-bottom: 8px; }
.ips-course-body p { color: var(--ips-grey-text); font-size: 0.88rem; flex: 1; }
.ips-course-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e4e9f4;
}
.ips-course-footer .duration { font-size: 0.8rem; color: var(--ips-grey-text); display: flex; align-items: center; gap: 6px; }
.ips-view-link { color: var(--ips-blue); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.ips-view-link:hover { color: var(--ips-red); }

/* Category tab pills */
.ips-tab-pill {
  border: 2px solid var(--ips-royal);
  color: var(--ips-royal);
  background: transparent;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 26px;
  transition: all .25s ease;
}
.ips-tab-pill.active,
.ips-tab-pill:hover { background: var(--ips-royal); color: #fff; }

/* Owl carousel arrows/dots tweak */
.owl-theme .owl-nav { margin-top: 20px; text-align: center; }
.owl-theme .owl-nav button.owl-prev,
.owl-theme .owl-nav button.owl-next {
  background: var(--ips-royal) !important;
  color: #fff !important;
  width: 42px; height: 42px;
  border-radius: 50% !important;
  font-size: 1.3rem !important;
  margin: 0 6px !important;
  display: inline-flex; align-items: center; justify-content: center;
}
.owl-theme .owl-nav button.owl-prev:hover,
.owl-theme .owl-nav button.owl-next:hover { background: var(--ips-red) !important; }
.owl-theme .owl-dots .owl-dot span { background: #d7deee !important; }
.owl-theme .owl-dots .owl-dot.active span { background: var(--ips-red) !important; }

/* ---------- 9. COMPETITIVE EXAM / COMPUTER COURSE BANNER SECTIONS ---------- */
.ips-exam-section {
  background: linear-gradient(120deg, var(--ips-royal-dark), var(--ips-royal));
  position: relative;
  overflow: hidden;
}
.ips-exam-section::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  background: var(--ips-yellow);
  opacity: 0.08;
  border-radius: 50%;
  top: -120px; right: -100px;
}
.ips-exam-section::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: var(--ips-red);
  opacity: 0.1;
  border-radius: 50%;
  bottom: -100px; left: -80px;
}
.ips-exam-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--ips-radius);
  padding: 28px 24px;
  height: 100%;
  color: #fff;
  transition: all .3s ease;
  position: relative;
  z-index: 1;
}
.ips-exam-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.ips-exam-card .ips-feature-icon { background: var(--ips-yellow); color: var(--ips-royal-dark); }
.ips-exam-card h5 { color: #fff; }
.ips-exam-card p { color: #cdd8f4; font-size: 0.9rem; }

/* =========================================
   COMPUTER COURSE SECTION
   Only these 2 old section classes remain:
   .ips-section
   .ips-computer-section
========================================= */

.ips-computer-section {
    background: var(--ips-light);
    overflow: hidden;
}


/* =========================================
   CONTENT AREA
========================================= */

.computer-course-content {
    width: 100%;
}

.computer-course-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 13px;

    background: rgba(12, 45, 110, 0.08);
    color: var(--ips-royal);

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;
}

.computer-course-label i {
    color: var(--ips-yellow);
}


.computer-course-heading {
    margin: 15px 0 12px;

    color: var(--ips-royal);

    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
}


.computer-course-description {
    margin: 0;

    color: #687386;

    font-size: 15px;
    line-height: 1.7;

    max-width: 560px;
}


/* =========================================
   COURSE GRID
========================================= */

.computer-course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin: 24px 0;
}


.computer-course-card {
    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 68px;

    padding: 10px 12px;

    background: #fff;

    border: 1px solid rgba(12, 45, 110, 0.08);

    border-radius: 14px;

    box-shadow: 0 5px 18px rgba(12, 45, 110, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.computer-course-card:hover {
    transform: translateY(-4px);

    border-color: var(--ips-yellow);

    box-shadow: 0 12px 28px rgba(12, 45, 110, 0.11);
}


/* =========================================
   COURSE ICON
========================================= */

.computer-course-card-icon {
    width: 43px;
    height: 43px;

    min-width: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(12, 45, 110, 0.08);

    color: var(--ips-royal);

    font-size: 16px;

    transition: all 0.3s ease;
}


.computer-course-card:hover .computer-course-card-icon {
    background: var(--ips-royal);
    color: var(--ips-yellow);

    transform: scale(1.06);
}


/* =========================================
   COURSE TEXT
========================================= */

.computer-course-card-content {
    min-width: 0;
}


.computer-course-card-content h4 {
    margin: 0;

    color: var(--ips-royal);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;
}


.computer-course-card-content p {
    margin: 3px 0 0;

    color: #7b8493;

    font-size: 10.5px;

    line-height: 1.4;
}


/* =========================================
   BUTTON
========================================= */

.computer-course-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 12px 19px;

    background: var(--ips-royal);
    color: #fff;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: all 0.3s ease;
}


.computer-course-button:hover {
    background: var(--ips-yellow);
    color: var(--ips-royal);

    transform: translateY(-2px);
}


.computer-course-button i {
    transition: transform 0.3s ease;
}


.computer-course-button:hover i {
    transform: translateX(4px);
}


/* =========================================
   IMAGE GALLERY
========================================= */

.computer-course-gallery {


    min-height: auto;
}


.computer-gallery-main {
    position: relative;

    grid-row: span 2;

    min-height: 500px;

    overflow: hidden;

    border-radius: 24px;

    box-shadow: 0 15px 40px rgba(12, 45, 110, 0.14);
}


.computer-gallery-main img,
.computer-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.computer-gallery-main:hover img,
.computer-gallery-item:hover img {
    transform: scale(1.06);
}


.computer-gallery-item {
    min-height: 243px;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(12, 45, 110, 0.10);
}


/* =========================================
   IMAGE CAPTION
========================================= */

.computer-gallery-caption {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 18px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 15px;

    background: rgba(12, 45, 110, 0.92);

    backdrop-filter: blur(8px);

    border-radius: 14px;

    color: #fff;
}


.computer-caption-icon {
    width: 42px;
    height: 42px;

    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--ips-yellow);

    color: var(--ips-royal);

    font-size: 17px;
}


.computer-gallery-caption strong {
    display: block;

    font-size: 14px;
    line-height: 1.3;
}


.computer-gallery-caption span {
    display: block;

    margin-top: 3px;

    color: #d6def0;

    font-size: 11px;
}


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

@media (max-width: 991px) {

    .computer-course-heading {
        font-size: 2rem;
    }

    .computer-course-gallery {
        min-height: auto;
    }

    .computer-gallery-main {
        min-height: 450px;
    }

    .computer-gallery-item {
        min-height: 218px;
    }
}


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

@media (max-width: 767px) {

    .computer-course-heading {
        font-size: 1.8rem;
    }

    .computer-course-description {
        font-size: 14px;
    }

    .computer-course-grid {
        gap: 10px;
    }

    .computer-course-card {
        min-height: 64px;
        padding: 9px 10px;
    }

    .computer-course-card-icon {
        width: 39px;
        height: 39px;
        min-width: 39px;
    }

    .computer-course-card-content h4 {
        font-size: 13px;
    }

    .computer-course-card-content p {
        font-size: 10px;
    }



    .computer-gallery-main {
        grid-column: span 2;
        grid-row: auto;

        min-height: 250px;

        border-radius: 18px;
    }

    .computer-gallery-item {
        min-height: 180px;

        border-radius: 16px;
    }

    .computer-gallery-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;

        padding: 10px 11px;
    }

    .computer-caption-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;

        font-size: 14px;
    }

    .computer-gallery-caption strong {
        font-size: 12px;
    }

    .computer-gallery-caption span {
        font-size: 9px;
    }
}


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

@media (max-width: 480px) {

    .computer-course-grid {
        grid-template-columns: 1fr;
    }

    .computer-course-card {
        min-height: 61px;
    }

    .computer-course-button {
        width: 100%;
    }



    .computer-gallery-main {
        min-height: 220px;
    }

    .computer-gallery-item {
        min-height: 150px;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .computer-course-heading {
        font-size: 1.55rem;
    }

    .computer-course-label {
        font-size: 11px;
    }

    .computer-course-card-content p {
        display: none;
    }

    .computer-course-card {
        min-height: 56px;
    }



    .computer-gallery-main {
        min-height: 190px;
    }

    .computer-gallery-item {
        min-height: 125px;
    }
}

/* ---------- 10. CTA BAND ---------- */
.ips-cta-band {
  background: linear-gradient(120deg, var(--ips-red), #ff6b3d);
  border-radius: 24px;
  padding: 56px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
@media (max-width: 575px) { .ips-cta-band { padding: 40px 22px; border-radius: 18px; } }
.ips-cta-band h2 { color: #fff; }
.ips-cta-band p { color: #ffe3d9; }

/* ---------- 11. NOTICE / LATEST UPDATES ---------- */
.ips-notice-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #eef1f8;
  border-left: 4px solid var(--ips-red);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: all .25s ease;
}
.ips-notice-item:hover { box-shadow: var(--ips-shadow); transform: translateX(4px); }
.ips-notice-date {
  background: var(--ips-royal);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  font-family: var(--ips-font-head);
  font-weight: 700;
  min-width: 62px;
  line-height: 1.1;
  flex-shrink: 0;
}
.ips-notice-date small { display: block; font-weight: 500; font-size: 0.65rem; color: var(--ips-yellow); }
.ips-notice-text h6 { margin-bottom: 4px; font-size: 0.98rem; }
.ips-notice-text p { margin: 0; color: var(--ips-grey-text); font-size: 0.85rem; }
.ips-notice-new {
  background: var(--ips-yellow);
  color: var(--ips-navy-text);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  margin-left: 8px;
}

/* ---------- 12. GALLERY ---------- */
/* =========================================
   IPS CAMPUS GALLERY
   ========================================= */

.ips-gallery-lightbox {
    display: block;
    width: 100%;
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.ips-gallery-lightbox:hover,
.ips-gallery-lightbox:focus,
.ips-gallery-lightbox:active,
.ips-gallery-lightbox:visited {
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Gallery Item */
.ips-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 24px;
    background: transparent;
    width: 100%;
}

/* Gallery Image */
.ips-gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border: 0;
    outline: none;
}

/* Image Hover */
.ips-gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery Overlay */
.ips-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 45, 110, 0) 40%,
        rgba(8, 20, 49, 0.85) 100%
    );

    display: flex;
    align-items: flex-end;
    padding: 16px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    pointer-events: none;
}

/* Show Overlay */
.ips-gallery-item:hover .ips-gallery-overlay {
    opacity: 1;
    visibility: visible;
}

/* Overlay Text */
.ips-gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
}

/* Overlay Icon */
.ips-gallery-overlay i {
    color: var(--ips-yellow);
    margin-right: 8px;
}


/* =========================================
   GLIGHTBOX OVERRIDES
   ========================================= */

/* Remove any button-like appearance */
.ips-gallery-lightbox,
.ips-gallery-lightbox *,
.ips-gallery-lightbox:hover,
.ips-gallery-lightbox:focus {
    box-sizing: border-box;
}

/* Remove link background */
a.ips-gallery-lightbox {
    background: transparent !important;
}

/* Prevent white background around image */
a.ips-gallery-lightbox .ips-gallery-item {
    background: transparent !important;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet */
@media (max-width: 991.98px) {

    .ips-gallery-item img {
        height: 210px;
    }

    .ips-gallery-overlay {
        padding: 14px;
    }

    .ips-gallery-overlay span {
        font-size: 0.85rem;
    }
}


/* Mobile */
@media (max-width: 767.98px) {

    .ips-gallery-item {
        margin-bottom: 18px;
        border-radius: 10px;
    }

    .ips-gallery-item img {
        height: 200px;
    }

    .ips-gallery-overlay {
        padding: 12px;
    }

    .ips-gallery-overlay span {
        font-size: 0.8rem;
    }
}


/* Small Mobile */
@media (max-width: 575.98px) {

    .ips-gallery-item {
        border-radius: 9px;
        margin-bottom: 15px;
    }

    .ips-gallery-item img {
        height: 180px;
    }

    .ips-gallery-overlay {
        padding: 10px;
    }

    .ips-gallery-overlay span {
        font-size: 0.75rem;
    }

    .ips-gallery-overlay i {
        margin-right: 5px;
    }
}


/* Extra Small Mobile */
@media (max-width: 399.98px) {

    .ips-gallery-item img {
        height: 160px;
    }

    .ips-gallery-overlay {
        padding: 8px;
    }

    .ips-gallery-overlay span {
        font-size: 0.7rem;
    }
}


/* Hide GLightbox title/description immediately */
.gslide-description,
.gslide-title {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove space reserved for description */
.gslide-media {
    margin: 0 !important;
}

.gslide-description {
    position: absolute !important;
    left: -9999px !important;
}

/* ---------- 13. TESTIMONIALS ---------- */
.ips-testimonial-card {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: var(--ips-radius);
  padding: 30px 26px;
  margin: 10px 6px 30px;
  box-shadow: var(--ips-shadow);
  height: 100%;
}
.ips-testimonial-card .stars { color: var(--ips-yellow); margin-bottom: 14px; font-size: 0.9rem; }
.ips-testimonial-card p.quote { color: var(--ips-navy-text); font-size: 0.95rem; margin-bottom: 20px; min-height: 96px; }
.ips-testimonial-person { display: flex; align-items: center; gap: 12px; }
.ips-testimonial-person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.ips-testimonial-person h6 { margin: 0; font-size: 0.95rem; }
.ips-testimonial-person span { font-size: 0.78rem; color: var(--ips-grey-text); }

/* ---------- 14. FAQ ACCORDION ---------- */
.ips-accordion .accordion-item { border: 1px solid #eef1f8; border-radius: 10px !important; margin-bottom: 14px; overflow: hidden; }
.ips-accordion .accordion-button {
  font-weight: 600; color: var(--ips-navy-text);
  padding: 18px 22px;
}
.ips-accordion .accordion-button:not(.collapsed) {
  background: var(--ips-royal); color: #fff;
}
.ips-accordion .accordion-button:focus { box-shadow: none; }
.ips-accordion .accordion-button::after { filter: none; }
.ips-accordion .accordion-body { color: var(--ips-grey-text); padding: 18px 22px; font-size: 0.92rem; }

/* ---------- 15. CONTACT ---------- */
.ips-contact-info-card {
  background: var(--ips-royal);
  color: #fff;
  border-radius: var(--ips-radius);
  padding: 40px 32px;
  height: 100%;
}
.ips-contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.ips-contact-info-item .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ips-yellow); flex-shrink: 0; font-size: 1.1rem;
}
.ips-contact-info-item h6 { color: #fff; margin-bottom: 4px; }
.ips-contact-info-item p, .ips-contact-info-item a { color: #cdd8f4; margin: 0; font-size: 0.92rem; }
.ips-contact-info-item a:hover { color: var(--ips-yellow); }
.ips-branch-chip {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 3px 4px 3px 0;
}

.ips-form-card {
  background: #fff;
  border-radius: var(--ips-radius);
  padding: 40px 32px;
  box-shadow: var(--ips-shadow-strong);
  height: 100%;
}
.ips-form-card .form-label { font-weight: 600; font-size: 0.9rem; }
.ips-form-card .form-control,
.ips-form-card .form-select {
  border-radius: 10px;
  border: 1.5px solid #e4e9f4;
  padding: 11px 14px;
  font-size: 0.94rem;
}
.ips-form-card .form-control:focus,
.ips-form-card .form-select:focus {
  border-color: var(--ips-blue);
  box-shadow: 0 0 0 4px rgba(22,104,224,0.12);
}

.ips-map-wrap {
  border-radius: var(--ips-radius);
  overflow: hidden;
  box-shadow: var(--ips-shadow);
  height: 380px;
}
.ips-map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 16. PAGE HEADER (inner pages) ---------- */
.ips-page-header {
  background: linear-gradient(120deg, var(--ips-royal-dark), var(--ips-royal));
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
}
.ips-page-header::after {
  content: "";
  position: absolute; width: 300px; height: 300px;
  background: var(--ips-yellow); opacity: .08; border-radius: 50%;
  top: -140px; right: -60px;
}
.ips-page-header h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.ips-breadcrumb { color: #cdd8f4; font-size: 0.92rem; }
.ips-breadcrumb a { color: #cdd8f4; }
.ips-breadcrumb a:hover { color: var(--ips-yellow); }
.ips-breadcrumb .sep { margin: 0 8px; opacity: .6; }
.ips-breadcrumb .cur { color: var(--ips-yellow); }

/* ---------- 17. FOOTER ---------- */
.ips-footer { background: var(--ips-royal-dark); color: #c7d3f0; padding-top: 70px; }
.ips-footer h6 { color: #fff; font-weight: 700; margin-bottom: 22px; font-size: 1rem; }
.ips-footer p { color: #b3c1e6; font-size: 0.92rem; }
.ips-footer ul { list-style: none; padding: 0; margin: 0; }
.ips-footer ul li { margin-bottom: 12px; }
.ips-footer ul li a { color: #b3c1e6; font-size: 0.92rem; transition: color .2s ease; }
.ips-footer ul li a:hover { color: var(--ips-yellow); padding-left: 4px; }
.ips-footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
  transition: all .25s ease;
}
.ips-footer-social a:hover { background: var(--ips-red); transform: translateY(-3px); }
.ips-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding: 20px 0;
  font-size: 0.85rem;
  color: #9aabd6;
}

/* ---------- 18. FLOATING BUTTONS ---------- */
.ips-whatsapp-float {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(37,211,102,0.5);
  animation: ips-pulse 2.2s infinite;
}
.ips-whatsapp-float:hover { color: #fff; transform: scale(1.06); }
@keyframes ips-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.ips-backtotop {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 999;
  width: 50px; height: 50px;
  background: var(--ips-royal);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--ips-shadow-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  border: none;
}
.ips-backtotop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.ips-backtotop:hover { background: var(--ips-red); color: #fff; }

@media (max-width: 575px) {
  .ips-whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; left: 14px; bottom: 14px; }
  .ips-backtotop { width: 44px; height: 44px; right: 14px; bottom: 14px; }
}

/* ---------- 19. REVEAL ANIMATION ---------- */
.ips-reveal { opacity: 0; transform: translateY(24px); transition: all .7s ease; }
.ips-reveal.ips-inview { opacity: 1; transform: translateY(0); }

/* ---------- 20. LOGIN PAGE ---------- */
.ips-login-wrap {
  min-height: calc(100vh - 320px);
  display: flex;
  align-items: center;
  background: var(--ips-light);
  padding: 60px 0;
}
.ips-login-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--ips-shadow-strong);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}
.ips-login-side {
  background: linear-gradient(150deg, var(--ips-royal-dark), var(--ips-royal));
  color: #fff;
  padding: 50px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ips-login-side::after {
  content: "";
  position: absolute; width: 220px; height: 220px;
  background: var(--ips-yellow); opacity: .1; border-radius: 50%;
  bottom: -100px; left: -60px;
}
.ips-login-side h3 { color: #fff; }
.ips-login-side p { color: #cdd8f4; }
.ips-login-form-side { padding: 50px 40px; }

/* Utility */
.ips-divider-dashed { border-top: 2px dashed #e4e9f4; margin: 40px 0; }


/* counter section */
/* =========================================
   COUNTER SECTION
   Existing section classes:
   .ips-section
   .ips-bg-light
========================================= */

.ips-bg-light {
    background: var(--ips-light);
}

.counter-area {
    position: relative;
}


/* =========================================
   HEADING
========================================= */

.counter-heading {
    max-width: 680px;
    margin: 0 auto 38px;
    text-align: center;
}

.counter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 14px;

    border-radius: 30px;

    background: rgba(12, 45, 110, 0.07);
    color: var(--ips-royal);

    font-size: 12px;
    font-weight: 700;
}

.counter-label i {
    color: var(--ips-yellow);
}

.counter-title {
    margin: 13px 0 10px;

    color: var(--ips-royal);

    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.counter-description {
    max-width: 600px;
    margin: 0 auto;

    color: #6c7687;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   COUNTER BOX
========================================= */

.counter-box {
    position: relative;

    height: 100%;
    min-height: 205px;

    padding: 28px 18px 24px;

    text-align: center;

    background: #fff;

    border: 1px solid rgba(12, 45, 110, 0.08);
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(12, 45, 110, 0.055);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-7px);

    border-color: rgba(12, 45, 110, 0.16);

    box-shadow: 0 18px 40px rgba(12, 45, 110, 0.12);
}


/* =========================================
   TOP DECORATION
========================================= */

.counter-box::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    top: -48px;
    right: -35px;

    border-radius: 50%;

    background: rgba(12, 45, 110, 0.045);

    transition: transform 0.4s ease;
}

.counter-box:hover::before {
    transform: scale(1.5);
}


/* =========================================
   ICON
========================================= */

.counter-icon {
    position: relative;
    z-index: 1;

    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(12, 45, 110, 0.08);

    color: var(--ips-royal);

    font-size: 20px;

    transition: all 0.3s ease;
}

.counter-box:hover .counter-icon {
    background: var(--ips-royal);
    color: var(--ips-yellow);

    transform: translateY(-3px) rotate(-3deg);
}


/* =========================================
   NUMBER
========================================= */

.counter-number {
    position: relative;
    z-index: 1;

    color: var(--ips-royal);

    font-size: 2rem;
    font-weight: 800;

    line-height: 1;
}

.counter-plus {
    color: var(--ips-yellow);
    font-size: 1.5rem;
    margin-left: 2px;
}


/* =========================================
   NAME
========================================= */

.counter-name {
    position: relative;
    z-index: 1;

    margin-top: 9px;

    color: #687386;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================
   ACTIVE LINE
========================================= */

.counter-line {
    width: 35px;
    height: 3px;

    margin: 15px auto 0;

    border-radius: 10px;

    background: var(--ips-yellow);

    transition: width 0.3s ease;
}

.counter-box:hover .counter-line {
    width: 65px;
}


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

@media (max-width: 991px) {

    .counter-heading {
        margin-bottom: 30px;
    }

    .counter-title {
        font-size: 2rem;
    }

    .counter-box {
        min-height: 190px;
        padding: 24px 14px 21px;
    }

    .counter-number {
        font-size: 1.8rem;
    }
}


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

@media (max-width: 575px) {

    .counter-heading {
        margin-bottom: 25px;
    }

    .counter-label {
        font-size: 11px;
    }

    .counter-title {
        font-size: 1.65rem;
    }

    .counter-description {
        font-size: 13px;
    }

    .counter-box {
        min-height: 170px;

        padding: 21px 10px 18px;

        border-radius: 15px;
    }

    .counter-icon {
        width: 46px;
        height: 46px;

        margin-bottom: 12px;

        border-radius: 12px;

        font-size: 17px;
    }

    .counter-number {
        font-size: 1.55rem;
    }

    .counter-plus {
        font-size: 1.15rem;
    }

    .counter-name {
        font-size: 11px;
    }

    .counter-line {
        margin-top: 12px;
    }
}


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

@media (max-width: 360px) {

    .counter-title {
        font-size: 1.45rem;
    }

    .counter-box {
        min-height: 155px;
        padding: 18px 7px 15px;
    }

    .counter-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 10px;
    }

    .counter-number {
        font-size: 1.35rem;
    }

    .counter-name {
        font-size: 10px;
    }
}