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

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #d8232a;
  --accent-color: #f8f9fa;
  --text-dark: #333333;
  --text-light: #777777;
  --white: #ffffff;
  --border-color: #eaeaea;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
a:hover {
  text-decoration: none;
}

/* Base Overrides */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary:hover {
  background-color: #e5551c;
  border-color: #e5551c;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(216, 35, 42, 0.3);
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}
.text-theme-red {
  color: var(--secondary-color) !important;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}
.top-contact a {
  color: var(--white);
  margin-right: 15px;
}
.top-contact i {
  color: var(--secondary-color);
  margin-right: 5px;
}
.social-icons a {
  color: var(--white);
  margin-left: 5px;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--secondary-color);
}
.affiliation {
  background: var(--secondary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  display: inline-block;
  margin-left: 15px;
}

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding-top: 15px;
  padding-bottom: 15px;
}
.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
}
.logo-text strong {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 20px;
  line-height: 1;
  display: block;
}
.logo-text span {
  font-size: 11px;
  color: var(--secondary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 15px !important;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: var(--secondary-color);
}
.cert-btn {
  padding: 10px 20px;
  border-radius: 5px;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
}
.hero h1 {
  font-size: 48px;
}
.hero-features li {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
}
.hero-features i {
  color: var(--primary-color);
  background: white;
  width: 25px;
  height: 25px;
  display: inline-flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  margin-right: 10px;
}

/* Stats */
.stats-section {
  background-color: var(--primary-color);
  color: var(--white);
}
.stat-item h3 {
  color: var(--secondary-color);
  font-size: 40px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* Page Banners */
.page-banner {
  background: linear-gradient(rgba(26, 47, 76, 0.8), rgba(26, 47, 76, 0.9)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
  color: var(--white);
  padding: 80px 0;
}
.page-banner h1 {
  color: var(--white);
  font-size: 40px;
  margin: 0;
}
.page-banner-overlap {
  padding-bottom: 120px;
}

/* Cards & Elements */
.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  font-size: 35px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.course-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  transition: var(--transition);
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}
.course-icon {
  width: 50px;
  height: 50px;
  background: rgba(216,35,42,0.1);
  color: var(--secondary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.course-tags {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}
.course-tags i {
  color: var(--secondary-color);
}
.course-desc {
  font-size: 14px;
  color: var(--text-light);
  flex-grow: 1;
}

.filter-pill {
  padding: 8px 20px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  margin: 5px;
  display: inline-block;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--primary-color);
  color: var(--white);
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  height: 100%;
}
.test-text {
  font-style: italic;
  font-size: 14px;
  color: #cbd5e1;
}
.test-author {
  font-weight: 600;
  color: var(--secondary-color);
}

.branch-card {
  background: var(--primary-color);
  color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.guidance-cta {
  background: linear-gradient(to right, var(--primary-color), #2a4c7e);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.guidance-cta h2, .guidance-cta p {
  position: relative;
  z-index: 1;
}

.verification-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 50px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.verification-card .form-control {
  padding: 12px 15px;
}
.verification-card .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(216, 35, 42, 0.1);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
}
.timeline-item {
  margin-bottom: 40px;
  position: relative;
}
.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}
.timeline-content {
  width: 45%;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
}
.timeline-item.left .timeline-content {
  float: left;
}
.timeline-item.right .timeline-content {
  float: right;
}
.timeline-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary-color);
  transform: translateX(-50%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-content {
    width: calc(100% - 50px);
    float: right !important;
  }
  .timeline-badge {
    left: 20px;
  }
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #aebacd;
}
.footer-logo .logo-text strong {
  color: var(--white);
}
.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}
.footer-links a {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
  font-size: 12px;
  color: var(--secondary-color);
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* Utilities */
.bg-accent { background-color: var(--accent-color); }
.bg-primary-dark { background-color: var(--primary-color); }
.text-primary-dark { color: var(--primary-color); }

/* Forms */
.form-control:focus, .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(216, 35, 42, 0.25);
}

.hover-zoom:hover {
  transform: scale(1.05);
}
