@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --gold: #e5b73b;
  --gold-light: #f5d980;
  --gold-dark: #c99d28;
  --gold-pale: #fdf8e8;
  --dark: #16161a;
  --white: #ffffff;
  --off-white: #fafaf8;
  --gray-1: #f4f4f2;
  --gray-2: #e8e8e6;
  --gray-3: #ccccca;
  --text: #1e1e24;
  --text-muted: #888892;
  --radius-lg: 20px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 3px 14px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.13);
  --shadow-gold: 0 4px 20px rgba(229, 183, 59, 0.30);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", "Open Sans", sans-serif;
  background: #e5e5e3;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.reg-pages {
  background: #fcf9f0;
  padding: 50px 0;
}

.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}

.search-frmC {
  position: relative;
}

.search-frmC i {
  position: absolute;
  left: 10px;
  top: 22px;
  color: #757575;
}

.search-frmC input {
  padding-left: 35px;
}

.home-searchC select {
  padding-left: 35px;
}


/* =====================
   LOGIN
   ===================== */
.loginC {
  color: #333;
  font-size: 14px;
  background: var(--white);
  max-width: 500px;
  margin: 50px auto;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.loginC::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
}

.loginC .form-group {
  margin-bottom: 15px;
}

.loginC .form-control {
  border: 1.5px solid var(--gray-2);
  background: var(--gray-1);
  height: 46px;
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  font-size: 15px;
}

.loginC .form-control:focus {
  border-color: var(--gold) !important;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 183, 59, 0.15) !important;
}

.loginC .form-select {
  border: 1.5px solid var(--gray-2);
  background: var(--gray-1);
  height: 46px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

select.form-control {
  -webkit-appearance: menulist;
}

.txtarea {
  min-height: 90px !important;
}

.loginC .form-check-input {
  border: 1px solid var(--gray-2);
  background: var(--gray-1);
}

.loginC label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.log-right {
  padding: 45px 35px;
  background: #fff;
}

.frg-pwd-c .log-right {
  padding: 80px 35px;
}

.frg-pwd-c h1 {
  display: none;
}

.loginC button {
  background: var(--dark);
  padding: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  display: block;
  width: 100%;
  margin: 15px 0;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), transform 0.2s, box-shadow 0.3s;
}

.loginC button:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.frg-pw {
  margin: 3px 0 7px;
  text-align: right;
}

.loginC a {
  font-weight: 600;
  color: #000;
}

.log-logo {
  margin-bottom: 30px;
  text-align: center;
}

.log-logo img {
  max-width: 100%;
}

.log-left {
  padding: 45px 35px;
  color: #fff;
  font-weight: lighter;
  text-align: center;
}

.log-left h1 {
  font-size: 35px;
  font-weight: 200;
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px #333;
}

.log-left-content {
  position: absolute;
  top: 40%;
  margin: 0 auto;
  left: 10%;
}

.frg-pwd-c .log-left-content {
  left: 12%;
}

.frg-pwd-c .log-logo img {
  max-width: 80%;
}

.loginC h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 30px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--gray-2);
  position: relative;
  color: var(--dark);
}

.loginC h2:before {
  position: absolute;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  content: '';
  left: 0;
  border-radius: 50%;
}

.loginC h2:after {
  position: absolute;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  content: '';
  right: 0;
  border-radius: 50%;
}


/* =====================
   PROFILE BANNER
   ===================== */
.prof-banner {
  background: var(--white);
  padding: 0;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.prof-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold-dark), var(--gold-light));
  z-index: 2;
}

.prof-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(229, 183, 59, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 88%, rgba(229, 183, 59, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.prof-banner .container {
  position: relative;
  z-index: 1;
  padding-top: 15px;
  padding-bottom: 20px;
}

/* Logo box */
.prof-banner .col-lg-6:first-child>div {
  background: var(--off-white) !important;
  padding: 12px 18px !important;
  border-radius: var(--radius-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 10px !important;
  box-shadow: var(--shadow-xs) !important;
  border: 1px solid var(--gray-2) !important;
}

/* Name row */
.prof-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 14px;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.prof-banner h2 span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--dark);
  margin-left: 12px;
}

/* Student ID row */
.prof-banner h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.prof-banner h3 span {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-left: 12px;
  letter-spacing: 0.5px;
}

/* Labels in h2/h3 */
.prof-banner h2 label,
.prof-banner h3 label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  width: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 0;
  margin-bottom: 0;
}

.prof-banner h2 label b,
.prof-banner h3 label b {
  float: none;
  font-size: 18px;
  color: var(--gold);
  font-weight: 400;
  margin-left: 4px;
}

/* Back button */
.prof-banner a {
  background: transparent;
  border-radius: 50px;
  padding: 12px 28px;
  text-transform: uppercase;
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  border: 2px solid var(--gold);
  transition: all 0.3s var(--ease);
  margin-top: 0;
}

.prof-banner a:hover {
  background: var(--gold);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.prof-banner a i {
  margin-right: 0;
  font-size: 14px;
}


/* =====================
   COURSE DETAIL CARD
   ===================== */
.container {
  max-width: 1100px;
}

.course-dtl {
  background: var(--white);
  padding: 0;
  margin: 44px auto;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.course-dtl::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--dark) 0%, var(--gold-dark) 40%, var(--gold) 70%, var(--gold-light) 100%);
}


/* =====================
   COURSE NAME
   ===================== */
.crc-dtl {
  padding: 44px 52px 30px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-2);
  position: relative;
  overflow: hidden;
}

.crc-dtl::after {
  content: '✦';
  font-size: 160px;
  color: rgba(229, 183, 59, 0.05);
  position: absolute;
  right: 44px;
  top: -20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.crc-dtl h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.crc-dtl h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  line-height: 1.2;
}


/* =====================
   SKILLS SECTION
   ===================== */
.certificate-items {
  background: var(--off-white);
  padding: 32px 52px;
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--gray-2);
  border-radius: 0;
  box-shadow: none;
}

.certificate-items:hover {
  transform: none;
  box-shadow: none;
}

.certificate-items h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.certificate-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
}

.certificate-items ul li {
  margin: 0;
  padding: 9px 18px;
  background: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border: 1.5px solid var(--gray-2);
  transition: all 0.25s var(--ease);
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  position: relative;
}

.certificate-items ul li::before {
  position: static !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  font-family: FontAwesome;
  content: '\f058';
  font-size: 14px;
  color: var(--gold);
  line-height: 1;
}

.certificate-items ul li:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}


/* =====================
   BOTTOM DETAIL ROWS
   Structure: h4 > label(i + text + b) + span
   ===================== */
.btm-items {
  background: var(--white);
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 52px 48px !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.btm-items:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Each row */
.btm-items h4 {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 16px !important;
  border-bottom: 1px solid var(--gray-1) !important;
  border-radius: var(--radius-sm) !important;
  transition: background 0.2s var(--ease) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: var(--text) !important;
  position: relative !important;
  line-height: 1.4 !important;
}

.btm-items h4:last-child {
  border-bottom: none !important;
}

.btm-items h4:hover {
  background: var(--gold-pale) !important;
}

/* Label: contains icon, label text, colon */
.btm-items h4 label {
  display: flex !important;
  align-items: center !important;
  width: 230px !important;
  min-width: 230px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  cursor: default !important;
  gap: 12px !important;
  float: none !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.4 !important;
}

/* Icon inside label */
.btm-items h4 label i {
  font-size: 18px !important;
  color: var(--gold) !important;
  width: 24px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s var(--ease) !important;
}

.btm-items h4:hover label i {
  transform: scale(1.2) !important;
  color: var(--gold-dark) !important;
}

/* Colon */
.btm-items h4 label b {
  float: none !important;
  font-weight: 400 !important;
  color: var(--gray-3) !important;
  font-size: 18px !important;
  margin-left: auto !important;
  padding-left: 8px !important;
}

/* Value */
.btm-items h4 span {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--dark) !important;
  margin-left: 24px !important;
  word-break: break-word !important;
  flex: 1 !important;
  line-height: 1.4 !important;
}

/* Portfolio link */
.btm-items h4 span a {
  color: var(--gold-dark) !important;
  text-decoration: none !important;
  border-bottom: 1.5px dashed var(--gold-light) !important;
  padding-bottom: 1px !important;
  transition: all 0.2s !important;
}

.btm-items h4 span a:hover {
  color: var(--gold) !important;
  border-bottom-style: solid !important;
}


/* =====================
   LOGO
   ===================== */
.logo {
  overflow: hidden;
  width: 100px;
  text-align: center;
  margin: 0 auto 15px;
}

.logo img {
  max-width: 100%;
}


/* =====================
   RESPONSIVE — TABLET
   ===================== */
@media (max-width: 991px) {
  .prof-banner .container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .prof-banner h2 {
    font-size: 30px;
  }

  .prof-banner h2 span {
    font-size: 30px;
  }

  .prof-banner h3 {
    font-size: 15px;
  }

  .prof-banner h3 span {
    font-size: 15px;
  }

  .course-dtl {
    margin: 30px auto;
  }

  .crc-dtl {
    padding: 36px 36px 24px;
  }

  .crc-dtl h4 {
    font-size: 26px;
  }

  .certificate-items {
    padding: 28px 36px;
  }

  .btm-items {
    padding: 8px 36px 40px !important;
  }

  .btm-items h4 label {
    width: 210px !important;
    min-width: 210px !important;
  }
}


/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 767px) {
  .prof-banner::before {
    width: 3px;
  }

  .prof-banner .container {
    padding-top: 10px;
    padding-bottom: 15px;
  }

  .prof-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  .prof-banner h2 span {
    font-size: 24px;
  }

  .prof-banner h2 label {
    width: 100px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .prof-banner h3 {
    font-size: 14px;
    flex-wrap: wrap;
  }

  .prof-banner h3 span {
    font-size: 14px;
  }

  .prof-banner h3 label {
    width: 100px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .prof-banner a {
    float: none;
    display: inline-flex;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .course-dtl {
    margin: 16px 0;
    border-radius: 14px;
  }

  .crc-dtl {
    padding: 28px 22px 20px;
  }

  .crc-dtl::after {
    font-size: 90px;
    right: 10px;
    top: 0;
  }

  .crc-dtl h3 {
    font-size: 11px;
  }

  .crc-dtl h4 {
    font-size: 20px;
  }

  .certificate-items {
    padding: 24px 22px;
  }

  .certificate-items h4 {
    font-size: 11px;
  }

  .certificate-items ul li {
    font-size: 13px;
    padding: 7px 14px;
    gap: 7px;
  }

  .btm-items {
    padding: 4px 22px 32px !important;
  }

  /* Stack on mobile */
  .btm-items h4 {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 12px !important;
    gap: 6px !important;
  }

  .btm-items h4 label {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--text-muted) !important;
  }

  .btm-items h4 label b {
    display: none !important;
  }

  .btm-items h4 span {
    font-size: 15px !important;
    margin-left: 36px !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .prof-banner h2 {
    font-size: 20px;
  }

  .prof-banner h2 span {
    font-size: 20px;
  }

  .prof-banner h3 span {
    font-size: 14px;
  }

  .crc-dtl h4 {
    font-size: 18px;
  }

  .certificate-items ul li {
    font-size: 12px;
    padding: 6px 12px;
  }

  .btm-items h4 label {
    font-size: 11px !important;
  }

  .btm-items h4 span {
    font-size: 14px !important;
  }
}