.blog-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding: 30px;
  position: relative;
}

.category {
  display: inline-block;
  background: linear-gradient(135deg, #d2691e, #ff8c00);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.category::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.blog-card:hover .category::before {
  left: 100%;
}

.blog-title {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.3s;
}

.blog-card:hover .blog-title {
  color: #d2691e;
}

.blog-excerpt {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-meta {
  margin-bottom: 25px;
}

.publish-date {
  font-size: 13px;
  color: #adb5bd;
  font-weight: 500;
}

.floating-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d2691e;
  font-size: 18px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.blog-card:hover .floating-icon {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .blog-card {
    max-width: 100%;
    margin: 10px;
  }

  .card-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 20px;
  }
}

/* blog page */
.nbg-content {
  background: white;
  margin: -30px auto 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 50px;
  position: relative;
  z-index: 3;
}

.nbg-intro {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-left: 5px solid #d2691e;
  border-radius: 10px;
}

.nbg-table-of-contents {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  margin: 40px 0;
  border: 2px solid #e9ecef;
}

.nbg-table-of-contents h2 {
  color: #d2691e;
  margin-bottom: 20px;
  font-size: 1.5em;
  border-bottom: 2px solid #d2691e;
  padding-bottom: 10px;
}

.nbg-toc-list {
  list-style: none;
  margin: 20px 0;
}

.nbg-toc-list li {
  margin-bottom: 12px;
}

.nbg-toc-list a {
  color: #d2691e;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nbg-toc-list a::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #8b4513;
  text-decoration: underline;
}

.nbg-toc-list a:hover {
  text-decoration: underline;
}

.nbg-section {
  margin: 50px 0;
}

.nbg h2 {
  color: #d2691e;
  font-size: 2em;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #d2691e;
  position: relative;
}

.nbg h2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #8b4513;
}

.nbg h3 {
  color: #8b4513;
  font-size: 1.5em;
  margin: 30px 0 20px;
  padding-left: 20px;
  border-left: 4px solid #d2691e;
}

.nbg h4 {
  color: #a0522d;
  font-size: 1.3em;
  margin: 25px 0 15px;
}

.nbg h5 {
  color: #cd853f;
  font-size: 1.1em;
  margin: 20px 0 10px;
  font-weight: 600;
}

.nbg-programs-grid {
  margin: 30px 0;
}

.nbg-program-card {
  margin-bottom: 30px;
}

.nbg-program-card h4 {
  margin-top: 0;
  color: #d2691e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nbg-program-card h4::before {
  content: "\f19d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #8b4513;
}

.nbg-program-card p {
  color: #666;
  line-height: 1.6;
}

.nbg-fee-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

.nbg-fee-table table {
  width: 100%;
  border-collapse: collapse;
}

.nbg-fee-table th {
  background: linear-gradient(135deg, #d2691e 0%, #8b4513 100%);
  color: white;
  padding: 20px;
  text-align: left;
  font-size: 1.1em;
}

.nbg-fee-table td {
  padding: 18px 20px;
  color: #333;
  border-bottom: 1px solid #eee;
}

.nbg-fee-table tr:nth-child(even) {
  background: #f8f9fa;
}

.nbg-fee-table tr:hover {
  background: #fff3e0;
}

.nbg-career-grid {
  margin: 30px 0;
}

.nbg-career-item {
  margin-bottom: 25px;
}

.nbg-career-item h5 {
  color: #d2691e;
  margin-bottom: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nbg-career-item h5::before {
  content: "\f0b1";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #8b4513;
}

.nbg-career-item p {
  color: #666;
  line-height: 1.6;
}

.nbg-skills-list,
.nbg-subjects-list {
  list-style: none;
  margin: 30px 0;
}

.nbg-skills-list li,
.nbg-subjects-list li {
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nbg-skills-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #d2691e;
  margin-top: 2px;
  flex-shrink: 0;
}

.nbg-subjects-list li::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #8b4513;
  margin-top: 2px;
  flex-shrink: 0;
}

.nbg-skills-list li strong,
.nbg-subjects-list li strong {
  color: #d2691e;
}

.nbg-admission-steps {
  list-style: none;
  margin: 30px 0;
  padding-left: 0;
  counter-reset: step-counter;
}

.nbg-admission-steps li {
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.nbg-admission-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background: #d2691e;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
  flex-shrink: 0;
  margin-top: 1px;
}

.nbg-admission-steps li strong {
  color: #d2691e;
}

.nbg-highlight-box {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 2px solid #d2691e;
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  position: relative;
}

.nbg-highlight-box::before {
  content: "💡";
  position: absolute;
  top: -15px;
  left: 30px;
  background: white;
  padding: 0 10px;
  font-size: 1.5em;
}

.nbg strong {
  color: #d2691e;
  font-weight: 600;
}

.nbg a {
  color: #d2691e;
  text-decoration: none;
  transition: all 0.3s ease;
  text-decoration: underline;
}

.nbg a:hover {
  color: #8b4513;
}

.nbg-image-placeholder {
  width: 50%;
  height: 400px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
  border: 2px dashed #d2691e;
  color: #666;
  font-style: italic;
}

@media (max-width: 768px) {
  .nbg-content {
    padding: 30px 20px;
    margin: -20px 10px 0;
  }

  .nbg-blog-title {
    font-size: 2em;
  }
}
/* blog page ends */
/* blog cta */
.cta-section {
  background: beige;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.cta-title {
  font-size: 36px !important;
  font-weight: 800;
  color: #d2691e;
  line-height: 1.2;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.cta-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #dbc311;
  border-radius: 3px;
}

.cta-highlight {
  color: #dbc311;
  position: relative;
  display: inline-block;
}

.cta-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cta-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(3, 76, 59, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
}

.cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(3, 76, 59, 0.15);
  border-color: #dbc311;
}

.cta-card-header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cta-card-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d2691e;
  z-index: 1;
}

.cta-icon {
  font-size: 65px;
  color: var(--white);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.cta-card-content {
  padding: 30px;
}

.cta-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #d2691e;
  position: relative;
  padding-bottom: 12px;
}

.cta-card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #dbc311;
}

.cta-card-description {
  font-size: 16px;
  color: #000;
  margin-bottom: 30px;
  min-height: 70px;
}

.cta-btn-wrapper {
  text-align: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #dbc311;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(99, 188, 140, 0.3);
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #d2691e;
  transition: width 0.3s ease;
  z-index: -1;
}

.cta-btn:hover {
  color: #fff;
}

.cta-btn:hover::before {
  width: 100%;
}

.cta-btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: translateX(5px);
}

/* Responsive styles */
@media (max-width: 992px) {
  .cta-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 20px;
  }

  .cta-title {
    font-size: 30px;
  }

  .cta-cards-container {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .cta-card-description {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 26px;
  }

  .cta-section {
    padding: 40px 16px;
  }

  .cta-card-content {
    padding: 24px;
  }

  .cta-icon {
    font-size: 50px;
  }
}
/* blog cta ends */
