
/*--------------------------------------------------------------
# CPESTC University - Academic Excellence
# Professional Color Palette:
# Primary: #1E3A5F (Deep Navy - Trust & Academia)
# Secondary: #C9A227 (Gold - Excellence & Achievement)
# Dark: #0F172A (Navy - Professional)
# Light: #F8FAFC (Off-white)
--------------------------------------------------------------*/

:root {
  /* Primary - Deep Navy (Trust & Academia) */
  --primary: #1E3A5F;
  --primary-light: #2D5A8E;
  --primary-dark: #152B47;

  /* Secondary - Gold (Excellence & Achievement) */
  --secondary: #C9A227;
  --secondary-light: #DDB84D;
  --secondary-hover: #B8911F;

  /* Neutral Colors */
  --dark: #0F172A;
  --dark-light: #1E293B;
  --text: #334155;
  --text-light: #64748B;
  --text-muted: #848484;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-lg: rgba(15, 23, 42, 0.12);

  /* Accent - Teal (Admission/Forms) */
  --accent-teal: #0F766E;
  --accent-teal-dark: #0D6560;

  /* Dark Section Colors (Hero) */
  --gradient-bg: #0a1628;
  --gradient-card: rgba(255, 255, 255, 0.03);
  --gradient-card-border: rgba(255, 255, 255, 0.08);
  --gradient-text: #e2e8f0;
  --gradient-muted: #94a3b8;
  --gradient-heading: #ffffff;
  --gradient-accent: #06b6d4;
  --gradient-glow: rgba(6, 182, 212, 0.5);
  --gradient-radius: 24px;

  /* Form Elements */
  --form-radius: 5px;
  --form-border: #cbd5e1;
}

/* Bot protection - honeypot field */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

/*--------------------------------------------------------------
# UQTR-Inspired One-Corner Rounded Cards
--------------------------------------------------------------*/
.card-corner {
  border-radius: 0 0 0 30px !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-corner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-corner-right {
  border-radius: 0 0 30px 0 !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-corner-right:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-corner-top {
  border-radius: 30px 0 0 0 !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-corner-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive - elegant adaptation on smaller screens */
@media (max-width: 768px) {
  .card-corner,
  .card-corner-right,
  .card-corner-top {
    border-radius: 0 0 0 20px !important;
  }

  .card-corner:hover,
  .card-corner-right:hover,
  .card-corner-top:hover {
    transform: none;
  }
}

@media (max-width: 576px) {
  .card-corner,
  .card-corner-right,
  .card-corner-top {
    border-radius: 0 0 0 15px !important;
  }
}

/*--------------------------------------------------------------
# CTA Buttons
--------------------------------------------------------------*/
.btn-admissions {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: #1a1a1a;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-admissions:hover {
  background: linear-gradient(135deg, var(--secondary-hover), var(--secondary));
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 162, 39, 0.4);
}

.btn-programs {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-programs:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

.program-icon {
  font-size: 3rem;
  color: var(--accent-teal);
}

/*--------------------------------------------------------------
# Recognition Card - Official Authorization
--------------------------------------------------------------*/
.recognition-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 3rem;
}

.recognition-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.recognition-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.recognition-date {
  font-size: 1rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .recognition-card {
    padding: 2rem 1.5rem;
  }

  .recognition-number {
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Program Detail Page
--------------------------------------------------------------*/
.program-details {
  background: var(--white);
}

/* Program CTA Buttons */
.program-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-programs-alt {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-programs-alt:hover {
  background: var(--primary);
  color: var(--white);
}

/* Admission Cards */
.admission-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  height: 100%;
}

.admission-card .program-icon {
  font-size: 3rem;
  color: var(--secondary);
}

.admission-card h5 {
  color: var(--primary);
}

.admission-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Program Title & Header */
.program-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.program-category {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.program-info-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0 0 0 30px;
}

/* Diploma Level Badges */
.badge-level {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: default;
  user-select: none;
}

.badge-dut {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-licence {
  background: rgba(59, 130, 246, 0.15);
  color: #2563EB;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-master {
  background: rgba(139, 92, 246, 0.15);
  color: #7C3AED;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Key Info Grid */
.key-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 8px;
}

.key-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.key-info-item i {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-top: 2px;
}

.key-info-item .label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.key-info-item .value {
  display: block;
  font-weight: 600;
  color: var(--primary);
}

/* Program Tabs */
.program-tabs {
  border-bottom: 2px solid var(--border);
  gap: 0.5rem;
}

.program-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  padding: 1rem 1.5rem;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.program-tabs .nav-link:hover {
  border-color: var(--border);
  color: var(--primary);
}

.program-tabs .nav-link.active {
  border-bottom-color: var(--secondary);
  color: var(--primary);
  background: transparent;
}

.program-tab-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
}

.tab-pane-content {
  padding: 2rem;
  line-height: 1.8;
}

.tab-pane-content h5 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Default Info Cards (when no content) */
.default-program-info .info-card {
  background: var(--white);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  height: 100%;
}

.default-program-info .info-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.default-program-info .info-card h5 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.default-program-info .info-card p {
  color: var(--text);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .key-info-grid {
    grid-template-columns: 1fr;
  }

  .program-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .program-info-card {
    padding: 1.5rem;
  }
}

/* Related Programs */
.related-program-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  height: 100%;
  transition: all 0.3s ease;
}

.related-program-card:hover {
  border-color: var(--accent-teal);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.related-program-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.related-program-icon i {
  font-size: 1.5rem;
  color: var(--accent-teal);
}

.related-program-card h5 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.related-badge {
  display: inline-block;
  background: var(--light);
  color: var(--accent-teal);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-radius: 3px;
}

.related-duration {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Program CTA Section */
.program-cta-section {
  background: var(--primary);
  color: var(--white);
}

.program-cta-section h2 {
  color: var(--white);
}

.program-cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.btn-outline-dark {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 2px solid var(--white);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991px) {
  .program-cta {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Domain Programs Page
--------------------------------------------------------------*/
.domain-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.domain-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.domain-icon-badge i {
  font-size: 2rem;
  color: var(--secondary);
}

.domain-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.domain-header .domain-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
}

.domain-header .program-count {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-top: 1rem;
}

.program-card {
  background: var(--white);
  border-radius: 0 0 0 24px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.program-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.program-card .program-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-card .program-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.program-card-body {
  flex: 1;
}

.program-card .program-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.program-card .program-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.program-card .program-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.program-card .program-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.program-card .program-meta i {
  margin-right: 0.25rem;
  color: var(--primary);
}

.program-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-view-program {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-view-program:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.btn-apply-program {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: transparent;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 1.5px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-apply-program:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-apply-program i {
  font-size: 0.9rem;
}

.other-domain-card {
  display: block;
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.other-domain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.other-domain-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.other-domain-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.other-domain-card .programs-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/*--------------------------------------------------------------
# Programs Sidebar
--------------------------------------------------------------*/
.programs-sidebar {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light);
  display: flex;
  align-items: center;
}

.domain-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.domain-filter-list li {
  margin-bottom: 0.5rem;
}

.domain-filter-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  background: var(--light);
  transition: all 0.2s ease;
}

.domain-filter-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.domain-filter-item.active {
  background: var(--primary);
  color: var(--white);
}

.domain-filter-item i {
  font-size: 1.1rem;
  margin-right: 0.75rem;
  width: 24px;
  text-align: center;
}

.domain-filter-item .domain-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}

.domain-filter-item .program-count-badge {
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  min-width: 24px;
  text-align: center;
}

.domain-filter-item.active .program-count-badge {
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-cta {
  background: var(--light);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.sidebar-cta h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.sidebar-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn-sidebar-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  background: var(--primary);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-sidebar-contact:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (max-width: 991.98px) {
  .programs-sidebar {
    position: static;
  }
}

.domain-cta-section {
  background: var(--primary);
  color: var(--white);
}

.domain-cta-section h2 {
  color: var(--white);
}

.domain-cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .domain-title {
    font-size: 1.75rem;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  padding-top: 112px; /* Offset for fixed topbar (40px) + header (72px) */
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.alert {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 20px;
  border: none;
  box-shadow: 0 2px 8px var(--shadow);
}

.alert-dismissible .btn-close {
  padding: 0.5rem 0.75rem !important;
  top: 50%;
  transform: translateY(-50%);
}

#messages {
  padding-bottom: 10px;
  padding-top: 10px;
}

.alert-info {
  background: linear-gradient(135deg, #E0F2FE, #F0F9FF);
  border-left: 4px solid var(--primary);
  color: var(--dark);
}

.alert-danger {
  background: linear-gradient(135deg, #FEE2E2, #FEF2F2);
  border-left: 4px solid #DC2626;
  color: #991B1B;
}

.alert-warning {
  background: linear-gradient(135deg, #FEF3C7, #FFFBEB);
  border-left: 4px solid var(--secondary);
  color: #92400E;
}

.alert-success {
  background: linear-gradient(135deg, #D1FAE5, #ECFDF5);
  border-left: 4px solid #059669;
  color: #065F46;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.4);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: var(--dark);
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  height: 40px;
}

#topbar .contact-info i {
  font-style: normal;
  color: var(--secondary);
}

#topbar .contact-info i a, #topbar .contact-info i span {
  padding-left: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color: var(--secondary);
}

#lang_select {
  width: 130px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  padding: 0 8px;
  cursor: pointer;
}

#lang_select option {
  background: var(--dark);
  color: var(--white);
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 72px;
  transition: all 0.4s ease;
  z-index: 997;
  background: var(--white);
  box-shadow: 0 2px 20px var(--shadow);
  position: fixed;
  top: 40px; /* Below topbar */
  left: 0;
  right: 0;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

#header .logo a {
  text-decoration: none;
}

#header .logo h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: var(--dark);
  letter-spacing: -0.5px;
}

#header .logo h1 span {
  color: var(--primary);
}

#header .logo h1 span.gold {
  color: #F59E0B;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 56px;
}

#header .logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 10px;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.navbar a i, .navbar a:focus i {
  font-size: 10px;
  line-height: 0;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--primary);
}

.navbar li:hover > a i.bi-chevron-down {
  transform: rotate(180deg);
}

.navbar .getstarted {
  background: var(--primary);
  padding: 10px 24px;
  margin-left: 24px;
  border-radius: 6px;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.navbar .getstarted:hover {
  color: var(--white);
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 16px;
  top: calc(100% + 16px);
  margin: 0;
  padding: 12px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--white);
  box-shadow: 0 10px 40px var(--shadow-lg);
  transition: all 0.3s ease;
  border-radius: 8px;
  min-width: 220px;
}

.navbar .dropdown ul::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: var(--white);
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.03);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: var(--text);
  justify-content: flex-start;
  gap: 8px;
}

.navbar .dropdown ul a i {
  font-size: 1rem;
  line-height: 1;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: var(--primary);
  background: var(--light);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 16px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation - Using Bootstrap 5 Offcanvas
*/
.navbar-toggler {
  color: var(--primary);
}

.navbar-toggler:focus {
  box-shadow: none;
}

#navbarOffcanvas {
  border-left: 3px solid var(--primary);
}

#navbarOffcanvas .offcanvas-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

#navbarOffcanvas .offcanvas-title {
  font-weight: 700;
  color: var(--white);
}

#navbarOffcanvas .offcanvas-title .gold {
  color: var(--secondary);
}

#navbarOffcanvas .btn-close {
  filter: invert(1);
}

#navbarOffcanvas .nav-link {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  transition: all 0.3s ease;
}

#navbarOffcanvas .nav-link:hover,
#navbarOffcanvas .nav-link:focus {
  color: var(--primary);
  padding-left: 8px;
}

#navbarOffcanvas .nav-link i {
  color: var(--secondary);
}

#navbarOffcanvas .dropdown-toggle::after {
  color: var(--primary);
}

#navbarOffcanvas .dropdown-menu {
  position: static !important;
  transform: none !important;
  border: none;
  box-shadow: none;
  padding-left: 1rem;
  background: transparent;
  display: none;
}

#navbarOffcanvas .dropdown-menu.show {
  display: block;
}

#navbarOffcanvas .dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--dark-light);
  border-radius: 6px;
  transition: all 0.3s ease;
}

#navbarOffcanvas .dropdown-item:hover {
  background-color: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  padding-left: 20px;
}

#navbarOffcanvas .dropdown-item i {
  color: var(--secondary);
  margin-right: 8px;
}

#navbarOffcanvas .badge {
  background-color: var(--secondary) !important;
}
/*--------------------------------------------------------------
# Gradient Sections Wrapper (Hero + Why Choose Us)
--------------------------------------------------------------*/
.gradient-sections {
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 85vh;
  background: url("../img/cpestc_students_hero.webp") center 15%;
  background-size: cover;
  position: relative;
  margin-top: 0;
  padding: 80px 0 60px;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 1;
}

/* Floating Graduation Cap - Draggable */
#hero .hero-cap {
  position: absolute;
  width: 380px;
  height: auto;
  z-index: 50;
  cursor: grab;
  user-select: none;
  will-change: transform;
  transform-origin: center center;
  transition: filter 0.2s ease;
  animation: capIdleTilt 4s ease-in-out infinite;
}

@keyframes capIdleTilt {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

#hero .hero-cap:hover {
  animation: capIdleTilt 1.5s ease-in-out infinite;
}

#hero .hero-cap:active,
#hero .hero-cap.dragging {
  cursor: grabbing;
  animation: none;
  filter: drop-shadow(0 8px 20px rgba(6, 182, 212, 0.5));
}

#hero .hero-cap.was-dragged {
  animation: none;
}

/* Responsive cap sizing */
@media (max-width: 991px) {
  #hero .hero-cap {
    width: 220px;
  }
}

@media (max-width: 576px) {
  #hero .hero-cap {
    width: 190px;
  }
}

#hero .hero-cap svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.65) 0%,
    rgba(30, 58, 95, 0.55) 50%,
    rgba(10, 22, 40, 0.65) 100%
  );
  z-index: 0;
}

#hero .container {
  z-index: 2;
  position: relative;
}

/*--------------------------------------------------------------
# Why Choose Us - Glass Cards Section
--------------------------------------------------------------*/
.why-choose-section {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

/* Section header with gradient text */
.section-header-gradient {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle-gradient {
  color: var(--gradient-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Stats in Why Choose Us section */
.why-choose-section .hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.why-choose-section .stat-item {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 24px;
}

.why-choose-section .stat-item:not(:last-child)::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 10px var(--gradient-accent);
  flex-shrink: 0;
}

.why-choose-section .stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 6px;
}

.why-choose-section .stat-label {
  display: block;
  font-size: 14px;
  color: var(--gradient-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .why-choose-section .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .why-choose-section .stat-item {
    flex-direction: column;
    gap: 20px;
  }
  .why-choose-section .stat-item:not(:last-child)::after {
    width: 6px;
    height: 6px;
  }
  .why-choose-section .stat-number {
    font-size: 28px;
  }
}

.section-header-gradient h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--gradient-accent) 50%, var(--gradient-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.section-header-gradient p {
  color: var(--gradient-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Glass card */
.card-glass {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--gradient-radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.card-glass:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Card number badge */
.card-glass .card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-accent), var(--gradient-accent));
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.card-glass h3 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gradient-heading);
  margin-bottom: 1.5rem;
  padding-right: 3rem;
}

/* Icon styling */
.icon-wrapper-gradient {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  position: relative;
}

.icon-wrapper-gradient::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gradient-accent), var(--gradient-accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.card-glass:hover .icon-wrapper-gradient::after {
  opacity: 0.3;
  filter: blur(8px);
}

.icon-wrapper-gradient svg {
  width: 28px;
  height: 28px;
}

/* Vertical separator line */
.separator-line {
  width: 2px;
  align-self: stretch;
  background: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.5) 0%,
    rgba(6, 182, 212, 0.3) 50%,
    transparent 100%
  );
  border-radius: 2px;
}

.card-text-content p {
  color: var(--gradient-text);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-text-content p:last-child {
  margin-bottom: 0;
}

/* Card checklist */
.card-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gradient-text);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.card-checklist li:last-child {
  margin-bottom: 0;
}

.card-checklist li i {
  color: var(--gradient-accent);
  font-size: 1rem;
}

/* Domain selector dropdown style */
.field-label {
  font-weight: 600;
  color: var(--gradient-heading);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Card CTA link */
.card-glass .card-cta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-glass .card-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--gradient-accent);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-glass .card-cta a:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--gradient-accent);
  color: #22d3ee;
}

.card-glass .card-cta a i {
  transition: transform 0.3s ease;
}

.card-glass .card-cta a:hover i {
  transform: translateX(4px);
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
.section-bg {
  background-color: var(--light);
}

.section-title {
  text-align: center;
  padding-bottom: 48px;
  max-width: 700px;
  margin: 0 auto;
}

.section-subtitle {
  display: inline-block;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 0;
  position: relative;
  color: var(--primary);
}

.section-title h2::before,
.section-title h2::after {
  display: none;
}

.section-title p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.8;
}

.section-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.section-icon svg {
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.btn-full {
  color: var(--dark) !important;
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/*--------------------------------------------------------------
# Admission Section
--------------------------------------------------------------*/
.admission-section {
  background: var(--light);
  padding-bottom: 80px;
}

.admission-card {
  background: var(--white);
  border-radius: 16px;
  padding: 56px 24px 32px;
  margin-top: 44px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  height: calc(100% - 44px);
  position: relative;
  border: 2px solid transparent;
}


.admission-card.featured {
  border-color: var(--secondary);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.03) 0%, var(--white) 100%);
}

.admission-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.admission-card.featured .admission-badge {
  background: var(--secondary);
}

.admission-icon {
  width: 88px;
  height: 88px;
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
  border: 3px solid var(--light);
  transition: all 0.3s ease;
}

.admission-card.featured .admission-icon {
  border-color: var(--secondary);
  box-shadow: 0 4px 24px rgba(201, 162, 39, 0.2);
}

.admission-icon i {
  font-size: 32px;
  color: var(--primary);
}

.admission-icon-svg svg {
  width: 54px;
  height: 54px;
}

.admission-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.admission-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.admission-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.admission-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.admission-details li:last-child {
  border-bottom: none;
}

.admission-details li i {
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
}

.admission-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 16px 24px;
  background: var(--white);
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.admission-note i {
  color: var(--secondary);
  margin-right: 8px;
}

/*--------------------------------------------------------------
# Important Dates Section
--------------------------------------------------------------*/
.important-dates-section {
  background: var(--light);
}

.dates-table thead {
  background: var(--primary);
}

.dates-table thead th {
  color: var(--white);
  font-weight: 600;
  border: none;
}

.dates-table tbody tr.featured {
  background: rgba(201, 162, 39, 0.1);
}

/* Date type badge colors */
.bg-admission { background-color: var(--primary) !important; }
.bg-registration { background-color: #059669 !important; }
.bg-exam { background-color: #dc2626 !important; }
.bg-event { background-color: #7c3aed !important; }
.bg-holiday { background-color: #f59e0b !important; }
.bg-deadline { background-color: #b91c1c !important; }

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding: 10px 0;
}

.about .about-title a {
  color: #16416c;
  font-weight: 700;
}

.about .about-date a {
  color: var(--primary);
  font-weight: 700;
}


/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
section.cta,
#cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.cta-btn {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--secondary);
  padding: 14px 36px;
  border-radius: 8px;
  border: 2px solid var(--secondary);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

@media (max-width: 991px) {
  .cta {
    text-align: center;
  }
  .cta .col-lg-4 {
    margin-top: 24px;
  }
}

/*--------------------------------------------------------------
# Techbrands / Partners
--------------------------------------------------------------*/
.techbrands {
  background: var(--light);
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  margin-top: 0;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #4f5a62;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}
/* End breadcrumbs ------------------------------------------- */

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog {
  padding: 40px 0 20px 0;
}

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: var(--text-light);
  transition: 0.3s;
}

.blog .entry .entry-title a:hover {
  color: var(--secondary);
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: var(--bs-gray-700);
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li + li {
  padding-left: 20px;
}

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: #777777;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p {
  line-height: 24px;
}

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content .read-more a {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover {
  background: #ec7f6d;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: #fafafa;
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--text-light);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
}

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--text-light);
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(84, 84, 84, 0.5);
  margin-right: 5px;
}

.blog .blog-author p {
  font-style: italic;
  color: #b7b7b7;
}

.blog .blog-comments {
  margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
  font-weight: bold;
}

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
  width: 60px;
}

.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--text);
  transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover {
  color: var(--secondary);
}

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--text-light);
}

.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 14px;
}

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: #f5bab0;
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: #f5bab0;
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--text-light);
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: #616161;
}

.blog .blog-pagination {
  color: #878787;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: var(--text-light);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active, .blog .blog-pagination li:hover {
  background: var(--secondary);
}

.blog .blog-pagination li.active a, .blog .blog-pagination li:hover a {
  color: #fff;
}

.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: var(--text-light);
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type="text"] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--secondary);
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: #eb7b68;
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li + li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: var(--text-light);
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: var(--secondary);
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item + .post-item,
.blog .sidebar .most-commented-posts .post-item + .post-item {
  margin-top: 15px;
}


.blog .sidebar .recent-posts img,
.blog .sidebar .most-commented-posts img {
  width: 80px;
  float: left;
}

.blog .sidebar .recent-posts h4,
.blog .sidebar .most-commented-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a,
.blog .sidebar .most-commented-posts h4 a {
  color: var(--text-light);
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover,
.blog .sidebar .most-commented-posts h4 a:hover {
  color: var(--secondary);
}

.blog .sidebar .recent-posts time, 
.blog .sidebar .most-commented-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: #aaaaaa;
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #949494;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid white;
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid var(--secondary);
  background: var(--secondary);
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: #ededed;
  font-size: 14px;
}




/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  font-size: 14px;
  background: var(--dark);
}

#footer .footer-top {
  padding: 80px 0 48px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
}

#footer .footer-top .footer-contact {
  margin-bottom: 32px;
}

#footer .footer-top .footer-contact .footer-logo {
  max-width: 120px;
  margin-bottom: 20px;
  display: block;
}

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

#footer .footer-top .footer-links {
  margin-bottom: 32px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 8px;
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1.5;
  font-size: 14px;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: var(--primary-light);
  padding-left: 4px;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

#footer .footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

#footer .footer-newsletter form {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  position: relative;
  border-radius: 8px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 12px 16px;
  width: 100%;
  background: transparent;
  color: var(--white);
  font-size: 14px;
}

#footer .footer-newsletter form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#footer .footer-newsletter form input[type="submit"] {
  border: 0;
  background: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  color: var(--white);
  transition: all 0.3s ease;
  border-radius: 6px;
  white-space: nowrap;
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: var(--primary-light);
}

#newsletter_body {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

#footer .container.d-md-flex {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  background: var(--dark);
}

#footer .copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

#footer .copyright a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

#footer .copyright a:hover {
  color: var(--primary-light);
}

.social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  line-height: 1;
  margin-left: 8px;
  border-radius: 8px;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}


/* Product or service Reviews and Ratings  */

.review a {
  text-decoration: none;
}

.review a:hover {
  color: #ffc107 !important;
}

.review a:visited {
  color: #ffc107 !important;
}

#full-stars .rating-group {
  display: inline-flex;
}

#full-stars .rating__icon {
  pointer-events: none;
}

#full-stars .rating__input {
  position: absolute !important;
  left: -9999px !important;
}

#full-stars .rating__input--none {
  display: none;
}

#full-stars .rating__label {
  cursor: pointer;
  padding: 0 0.1em;
}

#full-stars .rating__icon--star {
  color: rgb(255, 196, 0);
}

#full-stars .rating__input:checked~.rating__label .rating__icon--star {
  color: #ddd;
}

#full-stars .rating-group:hover .rating__label .rating__icon--star {
  color: rgb(255, 196, 0);
}

#full-stars .rating__input:hover~.rating__label .rating__icon--star {
  color: #ddd;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

/* Login, Register & Password Reset Forms */
#login .card,
#register .card,
#password-reset .card {
  background: var(--white);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 2rem;
}

#login .card-body,
#register .card-body,
#password-reset .card-body {
  padding: 0;
}

#login .form-control,
#register .form-control,
#password-reset .form-control {
  background: var(--white);
  border: 1px solid var(--form-border);
  border-radius: var(--form-radius);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  transition: all 0.3s ease;
}

#login .form-control:focus,
#register .form-control:focus,
#password-reset .form-control:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 52, 96, 0.1);
  outline: none;
}

#login .btn-primary,
#register .btn-primary,
#password-reset .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  border: none !important;
  border-radius: var(--form-radius);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

#login .btn-primary:hover,
#register .btn-primary:hover,
#password-reset .btn-primary:hover,
#login .btn-primary:focus,
#register .btn-primary:focus,
#password-reset .btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 52, 96, 0.3);
}

#login .btn-primary:disabled,
#register .btn-primary:disabled,
#password-reset .btn-primary:disabled {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  color: #ffffff !important;
  opacity: 0.6;
  transform: none;
}

#login a,
#register a,
#password-reset a {
  color: var(--primary);
  font-weight: 500;
}

#login a:hover,
#register a:hover,
#password-reset a:hover {
  color: var(--secondary);
}

.review-bottom {
  margin-bottom: 1rem;
}

.radiobtn {
  position: relative;
  display: block;
}

.radiobtn label {
  display: block;
  background: #fee8c3;
  color: #444;
  border-radius: 2px;
  padding: 10px 20px 10px 10px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: 0.5s;
}

.radiobtn label:after,
.radiobtn label:before {
  content: "";
  position: absolute;
  right: 11px;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #fdcb77;
}

.radiobtn label:before {
  background: transparent;
  transition: 0.1s width cubic-bezier(0.075, 0.82, 0.165, 1) 0s, 0.3s height cubic-bezier(0.075, 0.82, 0.165, 2) 0.1s;
  z-index: 2;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: center;
  width: 0;
  height: 0;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNS4zIDEzLjIiPiAgPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE0LjcuOGwtLjQtLjRhMS43IDEuNyAwIDAgMC0yLjMuMUw1LjIgOC4yIDMgNi40YTEuNyAxLjcgMCAwIDAtMi4zLjFMLjQgN2ExLjcgMS43IDAgMCAwIC4xIDIuM2wzLjggMy41YTEuNyAxLjcgMCAwIDAgMi40LS4xTDE1IDMuMWExLjcgMS43IDAgMCAwLS4yLTIuM3oiIGRhdGEtbmFtZT0iUGZhZCA0Ii8+PC9zdmc+);
}

.radiobtn input[type="radio"] {
  display: none;
  position: absolute;
  width: 100%;
  appearance: none;
}

.radiobtn input[type="radio"]:checked+label {
  background: rgb(255, 196, 0);
  border-color: rgb(255, 196, 0);
}

.radiobtn input[type="radio"]:checked+label:after {
  background: rgb(255, 196, 0);
}

.radiobtn input[type="radio"]:checked+label:before {
  width: 20px;
  height: 20px;
}


/* Shopping css  */
.bg-grey {
  background-color: #eae8e8;
  }
  
  /* New challenge */
.select {
  border: 1px solid rgba(0, 0, 0, 0.137);
  padding: 1.1vh 1vh;
  outline: none;
  width: 100%;
  background-color: rgb(247, 247, 247);
} 
  
#code {
  padding: 1.1vh 1vh;
}

.shadow-custom {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }


ul.timeline {
    list-style-type: none;
    position: relative;
    counter-reset: timeline-counter 5;
}
ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline > li {
    margin: 20px 0;
    padding: 0 20px 0 55px;
    counter-increment: timeline-counter -1;
}
ul.timeline > li:before {
    content: counter(timeline-counter);
    background: #f0ad00;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 50%;
    left: 17px;
    width: 26px;
    height: 26px;
    z-index: 400;
}
ul.timeline > li p {
    text-align: justify;
}

/* Timeline Highlight - Rebranding milestone */
ul.timeline > li.timeline-highlight {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 8px;
}

ul.timeline > li.timeline-highlight::before {
    background: var(--secondary);
    border-color: var(--secondary);
}

/*--------------------------------------------------------------
# Contact Page - Modern Styling
--------------------------------------------------------------*/
.contact-section {
  background: var(--light);
}

.contact-section h1 {
  color: var(--primary);
}

.contact-section .lead {
  color: #4b5563;
}

.contact-info-stack {
  position: sticky;
  top: 100px;
}

.contact-info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.contact-info-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 22px;
  color: var(--white);
}

.contact-details h5 {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-details p {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-card h3 {
  color: var(--primary);
  font-weight: 700;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  background: var(--white);
  border: 1px solid var(--form-border);
  border-radius: var(--form-radius);
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.contact-form-card textarea.form-control {
  min-height: 120px;
}

.captcha-wrapper {
  background: var(--light);
  border-radius: var(--form-radius);
  padding: 10px 15px;
  border: 2px solid var(--border);
}

.captcha-wrapper input {
  border: none;
  background: transparent;
  width: 60px;
  text-align: center;
  font-weight: 600;
}

.contact-form-card .btn-primary {
  background: var(--primary);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form-card .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(15, 118, 110, 0.3);
}

@media (max-width: 991px) {
  .contact-hero {
    text-align: center;
  }

  .contact-form-card {
    padding: 25px;
  }

  .map-wrapper {
    min-height: 300px;
  }
}

/* Service details Accordion plus minus */
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
  transform: scale(.7) !important;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M0 8a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
}

pre {
  white-space: pre-wrap;
}
pre::before {
  counter-reset: listing;
}
pre code {
  counter-increment: listing;
}
pre code::before {
  content: counter(listing) ". ";
  display: inline-block;
  width: 8em;         /* now works */
  padding-left: auto; /* now works */
  margin-left: auto;  /* now works */
  text-align: right;  /* now works */
}

/*--------------------------------------------------------------
# Horizontal Timeline - About Us Page (Modern Design)
--------------------------------------------------------------*/
.horizontal-timeline-wrapper {
  overflow-x: auto;
  padding: 20px 0 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--border);
}

.horizontal-timeline-wrapper::-webkit-scrollbar {
  height: 8px;
}

.horizontal-timeline-wrapper::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 4px;
}

.horizontal-timeline-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.horizontal-timeline {
  display: flex;
  gap: 20px;
  padding: 60px 20px 20px;
  min-width: max-content;
  position: relative;
}

.horizontal-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--dark));
  border-radius: 2px;
}

.timeline-card {
  position: relative;
  min-width: 180px;
  max-width: 200px;
}

.timeline-dot {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-dot.highlight {
  background: var(--secondary);
  border-color: var(--secondary);
  width: 20px;
  height: 20px;
  top: -40px;
}

.timeline-card:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  background: var(--primary);
}

.timeline-year-badge {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-year-badge.highlight {
  background: var(--secondary);
  color: var(--dark);
}

.timeline-year-badge.success {
  background: #198754;
}

.timeline-card-content {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 4px 15px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid var(--primary);
}

.timeline-card.highlight .timeline-card-content {
  border-top-color: var(--secondary);
  background: linear-gradient(180deg, #fffbeb 0%, var(--white) 100%);
}

.timeline-card:hover .timeline-card-content {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-lg);
}

.timeline-card-content h5 {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-card-content p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-card {
    min-width: 150px;
    max-width: 160px;
  }

  .timeline-card-content {
    padding: 15px 10px;
  }

  .timeline-card-content h5 {
    font-size: 14px;
  }

  .timeline-card-content p {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Admission Form Wizard
--------------------------------------------------------------*/
.admission-form-section {
  background: var(--light);
}

.admission-header h1 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.admission-header .lead {
  color: var(--text-light);
}

/* Progress Steps */
.admission-progress {
  max-width: 720px;
  margin: 0 auto;
}

.progress-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-light);
  transition: all 0.3s ease;
  z-index: 2;
}

.progress-step.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.progress-step.completed .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.progress-step.completed .step-circle i {
  font-size: 20px;
}

.step-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
}

.progress-step.active .step-label {
  color: var(--primary);
}

.progress-line {
  width: 140px;
  height: 3px;
  background: var(--border);
  z-index: 1;
  margin: 21px 4px 0;
}

.progress-line.completed {
  background: var(--primary);
}

/* Progress Bar */
.admission-progress .progress {
  background: var(--border);
  border-radius: 4px;
}

.admission-progress .progress-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.4s ease;
}

/* Form Card - Override homepage admission-card styles */
.admission-form-section .admission-card,
.admission-success-section .admission-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--shadow);
  height: auto;
  border: none;
  padding: 0;
}

.admission-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 16px 16px 0 0;
}

.admission-card-header h3,
.admission-card-header h4,
.admission-card-header h5 {
  font-size: 18px;
  font-weight: 600;
  color: inherit;
}

.admission-card-header .step-separator {
  color: inherit;
  margin: 0 8px;
  opacity: 0.7;
}

.admission-card-body {
  padding: 32px;
  text-align: left;
}

/* Navigation buttons at bottom of form */
.admission-nav {
  padding-top: 24px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

/* Two-column grid for form fields on larger screens */
@media (min-width: 768px) {
  .admission-form-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }

  .admission-form-fields .mb-4 {
    margin-bottom: 1.25rem !important;
  }

  /* Full width fields */
  .admission-form-fields .field-full,
  .admission-form-fields .alert,
  .admission-form-fields [class*="terms"],
  .admission-form-fields .form-check {
    grid-column: 1 / -1;
  }
}

/* Form Controls */
.admission-card .form-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.admission-card .form-control,
.admission-card .form-select {
  background: var(--white);
  border: 1px solid var(--form-border);
  border-radius: var(--form-radius);
  padding: 12px 16px;
  transition: all 0.3s ease;
  font-size: 15px;
}

/* Date picker icon size */
.admission-card input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.7;
}

.admission-card input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.admission-card .form-control:focus,
.admission-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.admission-card .form-text {
  color: var(--text-muted);
  font-size: 13px;
}

.admission-card .invalid-feedback {
  font-size: 13px;
}

/* Form Validation States - Bootstrap 5 enhancement */
.form-control.is-valid,
.form-select.is-valid {
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.is-valid ~ .valid-feedback,
.is-valid ~ .invalid-feedback {
  display: block;
}

.is-invalid ~ .invalid-feedback {
  display: block;
  color: #dc3545;
}

.valid-feedback {
  color: #198754;
  font-size: 0.875em;
}

/* Navigation Buttons */
.admission-nav .btn-outline-secondary,
.admission-card-body .btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.admission-nav .btn-outline-secondary:hover {
  background: var(--light);
  border-color: var(--text-light);
}

/* Help Section */
.admission-help a {
  color: var(--primary);
  font-weight: 600;
}

.admission-help a:hover {
  text-decoration: underline;
}

/* Success Page */
.admission-success-section {
  background: var(--light);
}

.reference-number {
  color: var(--primary);
  font-family: monospace;
  font-size: 28px;
  letter-spacing: 2px;
}

.next-steps-list {
  list-style: none;
  padding-left: 0;
  counter-reset: steps;
}

.next-steps-list li {
  counter-increment: steps;
  position: relative;
  padding-left: 40px;
}

.next-steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 767px) {
  .admission-card-body {
    padding: 24px 20px;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .progress-line {
    width: 70px;
    margin: 15px 4px 0;
  }

  .step-label {
    font-size: 10px;
    max-width: 70px;
  }

  .admission-nav {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .admission-nav .btn-outline-secondary,
  .admission-nav .btn-admissions {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   About Page Styles
   ===================================================== */

.about-section {
  background: var(--white);
}

.about-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.about-img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.about-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.about-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-milestones {
  margin-top: 2rem;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--primary);
}

.milestone.highlight {
  background: rgba(201, 162, 39, 0.1);
  border-left-color: var(--secondary);
}

.milestone-year {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 50px;
}

.milestone.highlight .milestone-year {
  color: var(--secondary);
}

.milestone-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.about-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about-signature strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.about-signature span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Mission/Vision/Values Section */

.counts {
  padding: 60px 0;
  background: var(--white);
}

.count-box {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.count-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.count-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--secondary);
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  margin-bottom: 20px;
}

.count-icon svg {
  width: 28px;
  height: 28px;
}

.count-box strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.count-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.count-box .btn-get-started {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.count-box .btn-get-started:hover {
  color: var(--secondary);
}

/* =====================================================
   Contact Page Styles
   ===================================================== */

.contact-section .admission-card {
  margin-top: 0;
  height: auto;
  padding: 0;
}

.contact-section .admission-card-body {
  padding: 24px;
}

/* Contact Info Cards */
.contact-info-cards .info-card {
  background: var(--primary);
  color: var(--white);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-cards .info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.3);
}

.contact-info-cards .info-card .info-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-info-cards .info-card .info-icon i {
  font-size: 24px;
  color: var(--secondary);
}

.contact-info-cards .info-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-info-cards .info-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-info-cards .info-card a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-cards .info-card a:hover {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .contact-info-cards .info-card {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-section .admission-card-body {
    padding: 20px 16px;
  }
}

/*--------------------------------------------------------------
# Programs Section - Domain Cards
# Elegant, trustworthy cards for the homepage programs section
--------------------------------------------------------------*/
.programs-section {
  background: var(--light);
}

.programs-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}


.programs-section .section-title h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.programs-section .section-title p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Domain Card */
.domain-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Card Header */
.domain-card-header {
  background: var(--primary);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.domain-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domain-icon i {
  font-size: 18px;
  color: var(--white);
}

.domain-header-content {
  flex: 1;
  min-width: 0;
}

.domain-header-content .domain-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.domain-program-count {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Card Body */
.domain-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.domain-description {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

/* Diploma Tags */
.domain-diplomas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diploma-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.diploma-dut {
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.diploma-licence {
  background: rgba(30, 58, 95, 0.08);
  color: var(--primary);
  border: 1px solid rgba(30, 58, 95, 0.15);
}

.diploma-master {
  background: rgba(201, 162, 39, 0.12);
  color: #9a7b1e;
  border: 1px solid rgba(201, 162, 39, 0.25);
}

/* Card Footer */
.domain-card-footer {
  padding: 0 20px 20px;
  margin-top: auto;
}

.domain-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
}

.domain-cta:hover {
  color: var(--primary);
}

.domain-cta i {
  font-size: 0.75rem;
}

/*--------------------------------------------------------------
# Campus Gallery Section
--------------------------------------------------------------*/
.campus-gallery-section {
  background: var(--light);
}

/* Split Gallery Showcase */
.gallery-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Featured Image (Left Half) */
.gallery-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  aspect-ratio: 1;
}

.featured-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.featured-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}

.featured-caption:empty {
  display: none;
}

/* Thumbnail Grid (Right Half) */
.gallery-thumbnails {
  position: relative;
  padding-bottom: 36px;
}

.thumbnails-viewport {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
}

.thumbnails-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
  padding: 4px;
}

.thumb-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.thumb-item:hover img,
.thumb-item.active img {
  filter: blur(0);
  transform: scale(1.08);
}

.thumb-item.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--secondary);
  border-radius: 10px;
  pointer-events: none;
}

/* Navigation Arrows */
.gallery-nav {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.gallery-nav:hover {
  background: var(--primary);
  color: var(--white);
}

.gallery-nav-prev {
  left: -20px;
}

.gallery-nav-next {
  right: -20px;
}

/* Dots Indicator */
.gallery-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.gallery-dot.active {
  background: var(--secondary);
  transform: scale(1.2);
}

.gallery-dot:hover {
  background: var(--primary-light);
}

.gallery-indicator {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 12px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

/* Gallery Responsive - Tablet */
@media (max-width: 991px) {
  .gallery-showcase {
    gap: 12px;
  }

  .thumbnails-track {
    gap: 6px;
  }

  .thumb-item {
    border-radius: 8px;
  }

  .thumb-item.active::after {
    border-radius: 8px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .gallery-nav-prev {
    left: 8px;
  }

  .gallery-nav-next {
    right: 8px;
  }
}

/* Gallery Responsive - Mobile */
@media (max-width: 575px) {
  .gallery-showcase {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-featured {
    aspect-ratio: 4/3;
    border-radius: 12px;
  }

  .thumbnails-viewport {
    aspect-ratio: 1;
    border-radius: 12px;
  }

  .thumbnails-track {
    gap: 6px;
  }

  .thumb-item {
    border-radius: 8px;
  }

  .thumb-item.active::after {
    border-width: 2px;
    border-radius: 8px;
  }

  .featured-caption {
    padding: 14px;
    font-size: 0.85rem;
  }

  .gallery-nav {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}


/*--------------------------------------------------------------
# Error Pages (403, 404, 500)
--------------------------------------------------------------*/
.error-page {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.min-vh-75 {
  min-height: 75vh;
}

.error-page .error-icon i {
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(201, 162, 39, 0.3));
}

.error-page .error-code {
  font-size: 8rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 2px 2px 4px rgba(30, 58, 95, 0.1);
}

.error-page .error-title {
  font-weight: 600;
}

.error-page .error-message {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.error-page .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s ease;
}

.error-page .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.error-page .btn-outline-secondary {
  border-color: var(--border);
  color: var(--text);
  transition: all 0.3s ease;
}

.error-page .btn-outline-secondary:hover {
  background-color: var(--light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .error-page .error-code {
    font-size: 5rem;
  }

  .error-page .error-icon i {
    font-size: 3.5rem !important;
  }

  .error-page .error-actions .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0 !important;
  }
}

