:root {
  --primary-blue: #0056b3;
  --dark-blue: #003b7a;
  --light-blue: #eaf4ff;
  --soft-blue: #f5faff;
  --text-dark: #172033;
  --text-muted: #5d6b82;
  --border-color: #dbe9f8;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.section-padding {
  padding: 90px 0;
}

/* Button */
.btn-blue {
  background: var(--primary-blue);
  color: var(--white);
  border: 1px solid var(--primary-blue);
  padding: 12px 26px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-blue:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 86, 179, 0.24);
}

/* Top Bar */
.top-bar {
  background: var(--dark-blue);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}

.top-bar i {
  color: #b9dcff;
  margin-right: 6px;
}

/* Header */
.main-navbar {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 59, 122, 0.08);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-blue) !important;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.4px;
  line-height: 1.15;
}

.navbar-brand img {
  /* width: 58px; */
  height: auto;
}

.brand-small {
  display: block;
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 14px !important;
  font-size: 15px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue);
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 40px rgba(0, 59, 122, 0.12);
  border-radius: 14px;
  padding: 10px;
}

.dropdown-item {
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: var(--light-blue);
  color: var(--primary-blue);
}

/* Inner Banner */
.inner-banner {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 43, 91, 0.82), rgba(0, 86, 179, 0.55));
 background-image: url("../images/breadcrumb/certificates.jpg");;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

.inner-banner::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -130px;
  top: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.inner-banner::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.inner-banner-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  text-align: center;
  margin: 0 auto;
  padding: 80px 0;
}

.banner-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.inner-banner h1 {
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 18px;
}

.breadcrumb {
  margin-bottom: 0;
  justify-content: center;
}

.breadcrumb-item,
.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.breadcrumb-item a {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.75);
}

/* Certificates PDF Section */
.certificates-pdf-section {
  background:
    radial-gradient(circle at top left, rgba(0, 86, 179, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  position: relative;
  overflow: hidden;
}

.certificates-pdf-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: 100px;
  border-radius: 50%;
  background: rgba(0, 86, 179, 0.06);
}

.certificates-pdf-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -110px;
  bottom: 80px;
  border-radius: 50%;
  background: rgba(0, 86, 179, 0.05);
}

.certificates-pdf-section .container {
  position: relative;
  z-index: 2;
}

/* PDF Card */
.certificate-pdf-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 59, 122, 0.10);
  transition: all 0.35s ease;
}

.certificate-pdf-card:hover {
  transform: translateY(-7px);
  border-color: #b8dcff;
  box-shadow: 0 28px 70px rgba(0, 86, 179, 0.16);
}

.certificate-pdf-top {
  min-height: 98px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f5faff 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pdf-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdf-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: var(--light-blue);
  color: var(--primary-blue);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.pdf-title-wrap h4 {
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0;
}

.pdf-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-blue);
  color: var(--white);
  border: 1px solid var(--primary-blue);
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.pdf-open-btn:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 86, 179, 0.24);
}

.pdf-frame-wrap {
  position: relative;
  background: #eef6ff;
  padding: 14px;
}

.pdf-frame-wrap iframe {
  width: 100%;
  height: 680px;
  display: block;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 86, 179, 0.08);
}

.certificate-pdf-card-wide .pdf-frame-wrap iframe {
  height: 760px;
}

/* Footer */
.footer {
  background: #071d38;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 75px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 58px;
  height: auto;
}

.footer h5 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: #b9dcff;
  font-size: 18px;
  margin-top: 4px;
  min-width: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  margin-top: 55px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1199px) {
  .inner-banner h1 {
    font-size: 46px;
  }

  .pdf-frame-wrap iframe {
    height: 620px;
  }

  .certificate-pdf-card-wide .pdf-frame-wrap iframe {
    height: 680px;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }

  .top-bar {
    text-align: center;
  }

  .top-bar .top-right {
    margin-top: 6px;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 16px 0 8px;
  }

  .inner-banner {
    min-height: 360px;
  }

  .inner-banner h1 {
    font-size: 39px;
  }

  .certificate-pdf-top {
    min-height: auto;
  }

  .pdf-frame-wrap iframe,
  .certificate-pdf-card-wide .pdf-frame-wrap iframe {
    height: 560px;
  }
}

@media (max-width: 767px) {
  .navbar-brand {
    font-size: 20px;
  }

  .navbar-brand img {
    width: 48px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .inner-banner h1 {
    font-size: 32px;
  }

  .certificate-pdf-card {
    border-radius: 22px;
  }

  .certificate-pdf-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .pdf-title-wrap {
    align-items: flex-start;
  }

  .pdf-title-wrap h4 {
    font-size: 17px;
  }

  .pdf-open-btn {
    width: 100%;
  }

  .pdf-frame-wrap {
    padding: 10px;
  }

  .pdf-frame-wrap iframe,
  .certificate-pdf-card-wide .pdf-frame-wrap iframe {
    height: 520px;
    border-radius: 14px;
  }
}

@media (max-width: 575px) {
  .section-padding {
    padding: 50px 0;
  }

  .inner-banner h1 {
    font-size: 29px;
  }

  .banner-subtitle {
    font-size: 12px;
  }

  .pdf-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 24px;
  }

  .pdf-title-wrap h4 {
    font-size: 16px;
  }

  .pdf-frame-wrap iframe,
  .certificate-pdf-card-wide .pdf-frame-wrap iframe {
    height: 460px;
  }

  .footer-logo {
    font-size: 19px;
  }
}