@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --red: #C0392B;
  --red-dark: #922B21;
  --red-light: #E74C3C;
  --blue: #1A3A6B;
  --blue-mid: #2255A4;
  --blue-light: #2980B9;
  --black: #0D0D0D;
  --gray-dark: #1C1C1C;
  --gray: #555;
  --gray-light: #F4F6F9;
  --white: #FFFFFF;
  --gold: #D4AF37;
  --shadow: 0 8px 32px rgba(26,58,107,0.13);
  --shadow-red: 0 4px 24px rgba(192,57,43,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--blue) !important;
  padding: 0 !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
}

.brand-logo-box {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 16px;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

.brand-text .brand-name {
  font-size: 20px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-text .brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 22px 16px !important;
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--red-light);
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--red) !important;
  color: white !important;
  border-radius: 4px !important;
  padding: 10px 20px !important;
  margin: 10px 8px;
  font-size: 12px !important;
  transition: background 0.3s !important;
}

.nav-btn:hover {
  background: var(--red-dark) !important;
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 10px;
}

.navbar-toggler-icon { filter: invert(1); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 50%, var(--black) 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-block;
  background: rgba(192,57,43,0.2);
  border: 1px solid var(--red-light);
  color: #FF7F75;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  animation: fadeInDown 0.8s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 span { color: var(--red-light); }

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns { animation: fadeInUp 0.8s ease 0.3s both; }

.btn-primary-custom {
  background: var(--red);
  color: white;
  border: none;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: var(--shadow-red);
}

.btn-primary-custom:hover {
  background: var(--red-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192,57,43,0.35);
}

.btn-outline-custom {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 34px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  margin-left: 14px;
}

.btn-outline-custom:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.stat-item .stat-num span { color: var(--red-light); }

.stat-item .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-cert-preview {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  max-width: 380px;
  width: 100%;
  position: relative;
  border-top: 6px solid var(--red);
}

.cert-preview-header {
  text-align: center;
  margin-bottom: 20px;
}

.cert-preview-header .cert-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 16px;
  font-family: 'Playfair Display', serif;
}

.cert-preview-header h4 {
  font-family: 'Playfair Display', serif;
  color: var(--blue);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cert-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin: 16px 0;
}

.cert-field {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.cert-field .cf-label { color: var(--gray); font-weight: 400; }
.cert-field .cf-value { color: var(--blue); font-weight: 700; }

.cert-seal {
  position: absolute;
  bottom: -18px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* ===== SECTION STYLES ===== */
section { padding: 80px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.2;
}

.section-title span { color: var(--red); }

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 2px;
  margin: 18px 0 30px;
}

/* ===== COURSES ===== */
.courses-section { background: var(--gray-light); }

.course-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  height: 100%;
  border-bottom: 4px solid transparent;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,58,107,0.18);
  border-bottom-color: var(--red);
}

.course-card-header {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.course-card-header::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.course-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.course-card-header h4 {
  color: white;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 1px;
}

.course-card-header p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.course-tag {
  display: inline-block;
  background: rgba(192,57,43,0.1);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 8px;
}

.course-card-body { padding: 24px; }

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.course-meta span {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-card-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.course-card-body ul li {
  font-size: 13px;
  color: var(--gray);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.course-card-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.btn-course {
  display: block;
  text-align: center;
  background: var(--blue);
  color: white;
  padding: 11px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-course:hover {
  background: var(--red);
  color: white;
}

/* ===== WHY US ===== */
.feature-box {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
}

.feature-content h5 {
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 6px;
  font-size: 16px;
}

.feature-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.why-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.why-image-placeholder {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 12px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.why-image-placeholder::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.accreditation-badges {
  display: flex;
  gap: 12px;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.acc-badge {
  background: white;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 1px;
}

/* ===== CERTIFICATE VERIFY ===== */
.verify-section {
  background: linear-gradient(135deg, var(--blue-dark, #0f2547) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.verify-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

.verify-card {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.verify-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}

.verify-card p {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 15px;
}

.form-label-custom {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.form-control-custom {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.3s;
  width: 100%;
}

.form-control-custom:focus {
  border-color: var(--blue-mid);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34,85,164,0.1);
}

.btn-verify {
  background: var(--red);
  color: white;
  border: none;
  padding: 13px 36px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  font-family: 'Lato', sans-serif;
}

.btn-verify:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.verify-result {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
}

.verify-result.show { display: block; }
.verify-result.error {
  background: #fff5f5;
  border-color: #fca5a5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--gray-light); }

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--red-light);
  opacity: 0.15;
  line-height: 1;
}

.stars { color: #F39C12; font-size: 14px; margin-bottom: 12px; }

.testimonial-text {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.author-name { font-weight: 700; color: var(--blue); font-size: 14px; }
.author-course { font-size: 12px; color: var(--gray); }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-brand .brand-logo-box {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

.social-link:hover {
  background: var(--red);
  color: white;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '→';
  font-size: 12px;
  color: var(--red-light);
}

.footer-links a:hover { color: white; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.fc-icon {
  color: var(--red-light);
  font-size: 16px;
  margin-top: 2px;
}

.fc-text { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  margin-top: 50px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: white;
}

.page-hero .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
}

.page-hero .breadcrumb-item.active {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== FORMS ===== */
.form-section { background: var(--gray-light); }

.form-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--blue);
  font-size: 24px;
  margin-bottom: 6px;
}

.form-group-custom { margin-bottom: 20px; }

.input-custom {
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.3s;
  background: white;
}

.input-custom:focus {
  border-color: var(--blue-mid);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34,85,164,0.1);
}

.btn-submit {
  background: var(--blue);
  color: white;
  border: none;
  padding: 13px 36px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Lato', sans-serif;
}

.btn-submit:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* ===== STUDENT PROFILE ===== */
.profile-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 5px solid var(--blue);
}

.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  margin: 0 auto 16px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--blue);
  font-weight: 900;
}

.profile-reg {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 1px;
}

.profile-badge {
  display: inline-block;
  background: #e8f8ed;
  color: #27ae60;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-top: 10px;
}

.cert-thumb {
  background: white;
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--red);
  transition: all 0.3s;
}

.cert-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,58,107,0.16);
}

.cert-thumb h5 {
  font-weight: 900;
  color: var(--blue);
  font-size: 15px;
}

.cert-thumb .cert-meta {
  font-size: 12px;
  color: var(--gray);
  margin: 4px 0;
}

.btn-download-cert {
  background: var(--blue);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.3s;
}

.btn-download-cert:hover { background: var(--red); }

/* ===== ADMIN DASHBOARD ===== */
.admin-sidebar {
  background: var(--blue);
  min-height: 100vh;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  z-index: 1000;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav { padding: 16px 0; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  color: white;
  background: rgba(255,255,255,0.08);
  border-left-color: var(--red-light);
}

.admin-nav-icon { font-size: 16px; width: 20px; }

.admin-nav-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 16px 24px 8px;
}

.admin-main {
  margin-left: 260px;
  background: var(--gray-light);
  min-height: 100vh;
}

.admin-topbar {
  background: white;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-content { padding: 28px; }

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-3px); }

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-card-icon.blue { background: rgba(26,58,107,0.1); color: var(--blue); }
.stat-card-icon.red { background: rgba(192,57,43,0.1); color: var(--red); }
.stat-card-icon.green { background: rgba(39,174,96,0.1); color: #27ae60; }
.stat-card-icon.gold { background: rgba(212,175,55,0.1); color: var(--gold); }

.stat-card-info .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.stat-card-info .stat-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.admin-table-card {
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-table-header h5 {
  font-weight: 900;
  color: var(--blue);
  font-size: 16px;
}

.table-custom { margin: 0; }

.table-custom thead th {
  background: var(--gray-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 12px 16px;
  border: none;
}

.table-custom tbody td {
  padding: 14px 16px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid #f8f8f8;
}

.status-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
}

.status-active { background: #e8f8ed; color: #27ae60; }
.status-pending { background: #fff8e1; color: #F39C12; }
.status-inactive { background: #ffe8e8; color: var(--red); }

.btn-action {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-view { background: rgba(26,58,107,0.1); color: var(--blue); }
.btn-view:hover { background: var(--blue); color: white; }
.btn-edit { background: rgba(243,156,18,0.1); color: #F39C12; }
.btn-edit:hover { background: #F39C12; color: white; }
.btn-del { background: rgba(192,57,43,0.1); color: var(--red); }
.btn-del:hover { background: var(--red); color: white; }

/* ===== CERTIFICATE PAGE ===== */
.certificate-wrapper {
  background: white;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.certificate-body {
  padding: 60px;
  background: white;
  position: relative;
  border: 20px solid transparent;
  border-image: linear-gradient(135deg, var(--blue), var(--red), var(--gold)) 1;
}

.certificate-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  font-weight: 900;
  color: rgba(26,58,107,0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  text-transform: uppercase;
}

.certificate-content { position: relative; z-index: 1; }

.cert-header-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.cert-main-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 20px;
  font-family: 'Playfair Display', serif;
}

.cert-center-text { text-align: center; }

.cert-center-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: var(--blue);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cert-center-text p {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cert-gold-seal {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #f0d060, var(--gold), #b8860b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}

.cert-title-line {
  text-align: center;
  border-top: 3px double var(--blue);
  border-bottom: 3px double var(--blue);
  padding: 14px 0;
  margin: 20px 0;
}

.cert-title-line h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.cert-presented {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cert-student-name {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--red);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 10px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cert-details-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin: 24px 0;
}

.cert-detail-item .cd-label {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cert-detail-item .cd-value {
  font-weight: 900;
  color: var(--blue);
  font-size: 15px;
  font-family: 'Playfair Display', serif;
}

.cert-signatures {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
}

.cert-sig { text-align: center; min-width: 160px; }

.cert-sig .sig-line {
  border-top: 2px solid var(--blue);
  padding-top: 8px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
}

.cert-sig .sig-title {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cert-reg-bar {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 20px;
  border-radius: 4px;
}

/* ===== ABOUT PAGE ===== */
.about-mission-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
  border-top: 5px solid var(--red);
}

.about-mission-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--blue);
  font-size: 20px;
  margin-bottom: 12px;
}

.team-card {
  background: white;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s;
}

.team-card:hover { transform: translateY(-5px); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 28px;
  margin: 0 auto 16px;
  font-family: 'Playfair Display', serif;
}

.team-card h5 { font-weight: 900; color: var(--blue); font-size: 16px; }
.team-card .team-role { font-size: 12px; color: var(--red); letter-spacing: 1px; text-transform: uppercase; }
.team-card p { font-size: 13px; color: var(--gray); margin-top: 10px; }

/* ===== CONTACT ===== */
.contact-info-card {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 12px;
  padding: 40px 32px;
  height: 100%;
}

.contact-info-card h4 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 22px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  font-size: 18px;
}

.ci-text h6 { color: white; font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.ci-text p { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.6; }

/* ===== POLICY PAGES ===== */
.policy-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.policy-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--blue);
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 12px;
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.policy-content ul {
  margin: 0 0 14px 20px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.9;
}

/* ===== MODAL ===== */
.modal-header-custom {
  background: var(--blue);
  color: white;
  padding: 20px 24px;
}

.modal-header-custom h5 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

.modal-header-custom .btn-close { filter: invert(1); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s;
  box-shadow: var(--shadow-red);
}

.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .hero-stats { gap: 24px; }
  .stat-item .stat-num { font-size: 26px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { min-height: auto; padding: 70px 0; }
  .hero-image-col { margin-top: 40px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .certificate-body { padding: 30px 20px; }
  .cert-student-name { font-size: 30px; }
  .cert-signatures { flex-direction: column; gap: 24px; align-items: center; }
  .verify-card { padding: 30px 20px; }
  .form-card { padding: 24px; }
  .btn-outline-custom { margin-left: 0; margin-top: 10px; }
}

@media print {
  .navbar, footer, .btn-download-cert, .back-to-top { display: none !important; }
  .certificate-wrapper { box-shadow: none; }
}
