/*----------------------------------------------------------------
  Brand color overrides — loaded after main.css.
  Main color:      #114B57 (dark teal)  — replaces theme blue #003A65
  Secondary color: #BD914A (bronze)     — replaces theme yellow #FDC72F
----------------------------------------------------------------*/

:root {
  --rs-theme-blue: #114B57;
  --rs-theme-blue-two: #0D3E48;
  --rs-bg-blue: #114B57;
  --rs-theme-yellow: #BD914A;
}

/* Nav bar background — solid main color for both header states */

.rs-header-one.header-transparent .header-wrapper {
  background: var(--rs-theme-blue);
}

.rs-header-one .rs-sticky-header.active.has-bg {
  background: var(--rs-theme-blue);
}

/* Logo sizing — logo is 300x90; widen the theme's 170px container so the
   image keeps its aspect ratio instead of being squeezed by max-width:100% */

.header-logo {
  width: 240px;
}

.header-logo img {
  height: 72px;
  width: auto;
}

@media only screen and (max-width: 575px) {
  .header-logo {
    width: 170px;
  }

  .header-logo img {
    height: 51px;
  }
}

/* Footer — 4-column layout with contact info, link columns, and social circles */

.cithe-footer {
  background: var(--rs-theme-blue-two);
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.cithe-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 75px 0 40px;
}

.cithe-footer__logo {
  text-align: center;
  margin-bottom: 10px;
}

.cithe-footer__logo img {
  height: 120px;
  width: auto;
}

.cithe-footer__desc {
  margin: 25px 0 28px;
  line-height: 1.75;
  max-width: 340px;
  color: #fff;
}

.cithe-footer__contact,
.cithe-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cithe-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.cithe-footer__contact i {
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
}

.cithe-footer__contact a,
.cithe-footer__contact span,
.cithe-footer__links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.cithe-footer__contact a:hover,
.cithe-footer__links a:hover {
  color: var(--rs-theme-yellow);
}

.cithe-footer__title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.cithe-footer__links li {
  margin-bottom: 15px;
}

.cithe-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding-bottom: 40px;
}

.cithe-footer__social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--rs-theme-blue-two);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  transition: background 0.25s ease, color 0.25s ease;
}

.cithe-footer__social a:hover {
  background: var(--rs-theme-yellow);
  color: #fff;
}

.cithe-footer__bottom-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cithe-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 25px;
  padding: 24px 0;
}

.cithe-footer__bottom p {
  margin: 0;
  color: #fff;
}

.cithe-footer__legal {
  display: flex;
  gap: 30px;
}

.cithe-footer__legal a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.cithe-footer__legal a:hover {
  color: var(--rs-theme-yellow);
}

@media only screen and (max-width: 1199px) {
  .cithe-footer__main {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}

@media only screen and (max-width: 991px) {
  .cithe-footer__main {
    grid-template-columns: 1fr 1fr;
    padding: 60px 0 30px;
  }

  .cithe-footer__social {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 575px) {
  .cithe-footer__main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cithe-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

/* Program details tabs — main.css uses a fixed 5-column grid, but this page
   renders at most 4 tabs (some conditional), leaving empty cells. Use a
   centered flex layout so any tab count fills the bar evenly. */

.rs-program-details .rs-program-details-tab-wrapper .nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.rs-program-details .rs-program-details-tab-wrapper .nav-item {
  flex: 1 1 auto;
  min-width: 180px;
}

@media only screen and (max-width: 480px) {
  .rs-program-details .rs-program-details-tab-wrapper .nav-item {
    min-width: 100%;
  }
}

/* Course application form on the program details Admissions tab */

.cithe-apply-form {
  background: var(--rs-white);
  border: 1px solid var(--rs-border-primary);
  border-radius: 8px;
  padding: 30px;
}

.cithe-apply-form-section {
  color: var(--rs-theme-blue);
  font-size: 18px;
  font-weight: 700;
  margin: 25px 0 18px;
}

.cithe-apply-input {
  margin-bottom: 20px;
}

.cithe-apply-input label {
  display: block;
  font-weight: 600;
  color: var(--rs-title-tertiary);
  margin-bottom: 8px;
}

.cithe-apply-input input,
.cithe-apply-input select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--rs-border-primary);
  border-radius: 6px;
  padding-inline: 18px;
  background: var(--rs-white);
}

.cithe-apply-input input[type="file"] {
  padding: 12px 18px;
}

.cithe-apply-input textarea {
  width: 100%;
  height: 130px;
  border: 1px solid var(--rs-border-primary);
  border-radius: 6px;
  padding: 14px 18px;
  background: var(--rs-white);
}

.cithe-apply-input input:focus,
.cithe-apply-input select:focus,
.cithe-apply-input textarea:focus {
  outline: none;
  border-color: var(--rs-theme-blue);
}

.cithe-apply-hint {
  display: block;
  margin-top: 6px;
  color: var(--rs-title-tertiary);
}

.cithe-apply-input .text-danger {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

@media only screen and (max-width: 575px) {
  .cithe-apply-form {
    padding: 20px;
  }
}

/* Gradients hardcoded in main.css, remapped to the brand palette */

.rs-banner-one::before {
  background: linear-gradient(180deg, #114B57 -1.41%, #2698AE 117.34%);
}

.rs-counter-two .rs-counter-bg-thumb::before {
  background-image: linear-gradient(66.21deg, #114B57 11.06%, rgba(17, 75, 87, 0.6) 100%);
}

.rs-contact-one .rs-contact-bg-thumb::before {
  background-image: linear-gradient(96.26deg, rgba(17, 75, 87, 0) 0%, #114B57 99.06%);
}

.rs-faculty-one .rs-faculty-thumb:before {
  background: linear-gradient(180deg, rgba(17, 75, 87, 0) 46.86%, #114B57 91.09%);
}

.rs-breadcrumb-one .rs-breadcrumb-bg-thumb::before {
  background-image: linear-gradient(180deg, rgba(7, 30, 35, 0) -3%, #071E23 133.75%);
}

/* Readable input text on the dark home "Application Form" (rs-contact-one)
   and the contact page form (rs-contact-four). The theme's faint 40%-white
   placeholder reads as unreadable blue-grey on the navy field, so lift the
   typed text to solid white and the placeholder to a clearly legible white. */

.rs-contact-one .rs-contact-input input,
.rs-contact-one .rs-contact-input textarea,
.rs-contact-four .rs-contact-input input,
.rs-contact-four .rs-contact-input textarea {
  color: #ffffff;
}

.rs-contact-one .rs-contact-input input::placeholder,
.rs-contact-one .rs-contact-input textarea::placeholder,
.rs-contact-four .rs-contact-input input::placeholder,
.rs-contact-four .rs-contact-input textarea::placeholder {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

/* Match the "Intake Period" and "Study Program" dropdowns to the dark navy
   fields around them on the home Application Form (rs-contact-one). The theme
   replaces every native <select> with a jQuery "nice-select" widget (white by
   default), so the dark styling has to target that widget, not the select. */

.rs-contact-one .rs-contact-input .nice-select {
  width: 100%;
  float: none;
  height: 50px;
  line-height: 48px;
  border-radius: 8px;
  background-color: #003359;
  border: 1px solid #003359;
  color: #ffffff;
  font-size: 16px;
}

.rs-contact-one .rs-contact-input .nice-select .current {
  color: #ffffff;
}

.rs-contact-one .rs-contact-input .nice-select::after {
  color: #ffffff;
}

.rs-contact-one .rs-contact-input .nice-select.open,
.rs-contact-one .rs-contact-input .nice-select:focus {
  border-color: var(--rs-theme-yellow);
}

.rs-contact-one .rs-contact-input .nice-select .list {
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background-color: #ffffff;
  color: #003359;
}

.rs-contact-one .rs-contact-input .nice-select .option {
  color: #003359;
}

.rs-contact-one .rs-contact-input .nice-select .option:hover,
.rs-contact-one .rs-contact-input .nice-select .option.focus,
.rs-contact-one .rs-contact-input .nice-select .option.selected.focus {
  background-color: #f0f4f8;
  color: #003359;
}

/* Home "Programmes" section heading — this custom inline-icon title has no
   size rule in the theme, so it was hardcoded at 46px (with a fixed 40px icon)
   and overflowed the viewport on phones. Scale the text and icon down across
   the theme's breakpoints so it stays on one screen width. */

.cithe-program-heading {
  font-size: 46px;
  line-height: 1.15;
  gap: 12px;
  overflow-wrap: anywhere;
}

.cithe-program-heading__icon {
  width: 40px;
}

@media only screen and (max-width: 991px) {
  .cithe-program-heading {
    font-size: 38px;
  }

  .cithe-program-heading__icon {
    width: 34px;
  }
}

@media only screen and (max-width: 767px) {
  .cithe-program-heading {
    font-size: 30px;
  }

  .cithe-program-heading__icon {
    width: 28px;
  }
}

@media only screen and (max-width: 480px) {
  .cithe-program-heading {
    font-size: 24px;
    gap: 8px;
  }

  .cithe-program-heading__icon {
    width: 22px;
  }
}

/* Mobile nav toggle (hamburger) — restored so phones can open the offcanvas
   menu. The horizontal menu shows on desktop, so reveal the hamburger only
   where the theme hides that menu (<=1199px, the meanmenu breakpoint). */

.header-hamburger {
  display: none;
}

@media only screen and (max-width: 1199px) {
  .header-hamburger {
    display: block;
  }
}

/* The icon-wrapper divider separates the search box from the hamburger, but
   search is disabled here, so it would draw a stray 1px line — remove it. */

.header-icon-wrapper::before {
  display: none;
}

/* Offcanvas (mobile) login button — full-width call-to-action so students can
   reach login / dashboard on phones, where the header button hides (<=575px). */

.offcanvas-btn .rs-btn {
  width: 100%;
  justify-content: center;
}

/* Content protection: prevent selecting / copying page text and dragging
   images. Form fields stay fully usable so visitors can still type and
   paste into the application and contact forms. */

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
