.resource-section {
  width: 100%;
  background-color: #f5fbff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(12rem, 5vw, 35rem) 0;
  box-sizing: border-box;
}

.resource-content {
  width: 85%;
  text-align: left;
}

.resource-link {
  display: inline-block;
  text-decoration: none;
  color: #006cbe;
  font-weight: 600;
  font-size: clamp(1.125rem, 1vw + 1rem, 1.8125rem);
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
  transition: color 0.3s ease;
}

.resource-link:hover {
  color: #004d8c;
}

.resource-description {
  color: #2e2e2e;
  font-weight: 500;
  line-height: 1.6;
  font-size: clamp(1.25rem, 2vw + 1rem, 3.25rem);
  margin: 0;
  max-width: 100%;
}

@media (max-width: 600px) {
  .resource-content {
    text-align: center;
  }
}





.resource-tab-section {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 2.5rem);
  background-color: #FFFF;
  padding: clamp(1.5rem, 3vw, 4rem) 0;
  box-sizing: border-box;
  width: 85%;
  margin: auto;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 1rem);
  min-width: clamp(140px, 20%, 240px);
}

.tab-button {
  background: none;
  border: none;
  text-align: left;
  padding: clamp(0.6rem, 1vw, 1rem);
  font-size: clamp(0.9rem, 0.8vw + 0.6rem, 1.5rem);
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #222;
  transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
  background-color: #F3FAFF;
}

.tab-content-wrapper {
  flex: 1;
  min-width: 60%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3 , 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    
  }
  .resource-section {
        padding-bottom: clamp(4rem, 5vw, 35rem);
    padding-top: clamp(8rem, 5vw, 35rem);
  }
}
@media (max-width: 576px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  overflow: hidden;
      border-bottom-right-radius: 9px;
          border-bottom-left-radius: 9px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-body {
   justify-content: space-between;
  border: 1px solid #d5e5f2;
      border-bottom-right-radius: 9px;
          border-bottom-left-radius: 9px;
  padding: clamp(1rem, 1.5vw, 1.5rem);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-tag {
  color: #006cbe;
  font-weight: 600;
  font-size: clamp(0.8rem, 0.6vw + 0.5rem, 1.25rem);
  display: inline-block;
  margin-bottom: 0.4rem;
}

.card-body h3 {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.875rem);
  margin: 0.3rem 0 0.6rem;
  color: #1c1c1c;
}

.card-body p {
  font-size: clamp(0.9rem, 0.8vw + 0.5rem, 1.375rem);
  color: #4d4d4d;
  text-align: left;
  line-height: 2 !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .resource-tab-section {
    flex-direction: column;
  }
  .sidebar {
    flex-direction: row;
    justify-content: center;
  }
  .tab-button {
    text-align: center;
    flex: 1;
  }
}





.promo-section {
        margin: 20px auto;
    }

    .promo-section {
  background: transparent radial-gradient(closest-side at 41% 47%, #006CBE 0%, #006BBD 57%, #00365F 218%) 0% 0% no-repeat padding-box;
  color: #ffffff;
  padding: clamp(2rem, 4vw, 0rem);
  border-radius: 16px;
  width: 82%;
  margin: 40px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.promo-text {
  min-width: 300px;
}

.promo-text h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ffffff;
}

.promo-text p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  margin-bottom: 30px;
  max-width: 700px;
  color: #e3e9f4;
}

.promo-btn {
  background-color: #ffffff;
  color: #105F9B;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.promo-btn:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.promo-image {
  display: flex;
  justify-content: center;
}

.promo-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

@media (max-width: 1024px) {
  .promo-section {
    max-width: 75%;
    margin: 30px auto;
  }
  .ai-blog-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
  .wrapper-container {
    display: flex;
    width: 85%;
    margin: auto;
    justify-content: center;
}
}

@media (max-width: 900px) {
  .promo-content {
    flex-direction: column;
    text-align: center;
  }

  .promo-text {
    order: 2;
  }

  .promo-image {
    order: 1;
    margin-bottom: 20px;
  }

  .promo-text p {
    margin: 0 auto 30px;
  }

  .promo-btn {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .promo-text h3 {
    font-size: 1.6rem;
  }

  .promo-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .promo-section {
    padding: 2rem 1rem;
  }
}
@media (max-width: 420px) {
  .promo-section {
    width: 75%;
    padding: 1.8rem 1rem;
    border-radius: 12px;
    margin: 20px auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  }

  .promo-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.6rem;
  }

  .promo-text {
    flex: none;
    max-width: 85%;
  }
    .promo-text {
        display: flex;
        flex-direction: column;
    }
  .promo-text h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 10px;
    text-align: center;
  }

  .promo-text p {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 14px;
    color: #e8eef8;
  }

  .promo-btn {
    font-size: 0.8rem;
    padding: 7px 16px;
    border-radius: 6px;
  }

  .promo-image {
    margin-bottom: 6px;
  }

  .promo-image img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
  }
  .promo-text {
    min-width: 229px;
}
}