/* RESOURCES PAGE */

/* Hero Section */
.resources-hero {
  background: #f8f9fc;
  padding: 50px 0 40px;
  text-align: center;
}

.resources-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: #0b2f59;
  margin: 0 0 12px;
  line-height: 1.2;
}

.resources-hero p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

/* Filter Tabs */
.filter-tabs {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #e5e9f2;
}

.tabs-wrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: white;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #0b2f59;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: #0a3c72;
  background: #f8f9fc;
}

.tab-btn.active {
  background: #0a3c72;
  color: white;
  border-color: #0a3c72;
}

/* Resources Content */
.resources-content {
  padding: 50px 0 60px;
  background: #f8f9fc;
}

/* Resource Cards */
.resource-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.resource-image {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background: #e5e9f2;
}

.resource-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sale-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #dc3545;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.sold-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

.resource-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  color: #0a3c72;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.resource-content h3 {
  font-size: 18px;
  font-weight: 900;
  color: #0b2f59;
  margin: 0 0 10px;
  line-height: 1.3;
}

.resource-content p {
  font-size: 13px;
  color: #6c757d;
  margin: 0 0 15px;
  line-height: 1.5;
  flex: 1;
}

.read-more {
  font-size: 13px;
  font-weight: 700;
  color: #0a3c72;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.read-more:hover {
  color: #e6a01b;
}

/* Sidebar Boxes */
.sidebar-box {
  background: white;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.sidebar-box h3 {
  font-size: 20px;
  font-weight: 900;
  color: #0b2f59;
  margin: 0 0 8px;
}

.sidebar-box > p {
  font-size: 13px;
  color: #6c757d;
  margin: 0 0 20px;
  line-height: 1.4;
}

/* Need Help Box */
.need-help-box {
  background: #0a3c72;
  color: white;
}

.need-help-box h3 {
  color: white;
}

.need-help-box > p {
  color: white;
}

.contact-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: none;
}

.contact-option:hover {
  background: transparent;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 14px;
  font-weight: 900;
  color: white;
  margin: 0 0 3px;
}

.contact-text p {
  font-size: 12px;
  color: white;
  margin: 0;
  line-height: 1.3;
}

.btn-contact-support {
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(230, 160, 27, 0.3);
  transition: all 0.3s ease;
  width: 100%;
}

.btn-contact-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 13px rgba(230, 160, 27, 0.4);
}

/* Toolkit Box */
.toolkit-box {
  text-align: left;
  background: white;
}

.toolkit-box h3 {
  color: #0b2f59;
  font-size: 20px;
  margin-bottom: 12px;
}

.toolkit-box > p {
  color: #4a6fa5;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.download-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-icon {
  flex-shrink: 0;
}

.btn-download-outline {
  background: white;
  color: #e6a01b;
  border: 2px solid #e6a01b;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-download-outline:hover {
  background: #e6a01b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(230, 160, 27, 0.3);
}

/* CTA Banner */
.cta-banner {
  background: #f8f9fc;
  padding: 25px 0;
  border-top: 1px solid #e5e9f2;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 30px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e9f2;
}

.cta-icon {
  flex-shrink: 0;
}

.cta-text {
  flex: 1;
}

.cta-text h3 {
  font-size: 16px;
  font-weight: 900;
  color: #0b2f59;
  margin: 0 0 2px;
  line-height: 1.3;
}

.cta-text p {
  font-size: 12px;
  color: #6c8aae;
  margin: 0;
}

.btn-get-started {
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 11px 24px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(230, 160, 27, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 13px rgba(230, 160, 27, 0.4);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .resources-hero {
    padding: 40px 0 35px;
  }

  .resources-hero h1 {
    font-size: 32px;
  }

  .filter-tabs {
    padding: 15px 0;
  }

  .tabs-wrapper {
    gap: 6px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .resources-content {
    padding: 40px 0 50px;
  }

  .resource-content h3 {
    font-size: 17px;
  }

  .sidebar-box {
    margin-top: 30px;
  }

  .cta-content {
    padding: 25px 30px;
  }

  .cta-text h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .resources-hero {
    padding: 35px 0 30px;
  }

  .resources-hero h1 {
    font-size: 28px;
  }

  .resources-hero p {
    font-size: 15px;
  }

  .filter-tabs {
    padding: 12px 0;
  }

  .tabs-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 11px;
  }

  .resources-content {
    padding: 35px 0 45px;
  }

  .resource-content h3 {
    font-size: 16px;
  }

  .resource-content p {
    font-size: 12px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .cta-text h3 {
    font-size: 17px;
  }

  .cta-text p {
    font-size: 13px;
  }

  .btn-get-started {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .resources-hero h1 {
    font-size: 24px;
  }

  .resources-hero p {
    font-size: 14px;
  }

  .tabs-wrapper {
    gap: 5px;
  }

  .tab-btn {
    padding: 7px 12px;
    font-size: 10px;
  }

  .resource-content {
    padding: 16px;
  }

  .resource-content h3 {
    font-size: 15px;
  }

  .sidebar-box {
    padding: 20px 16px;
  }

  .sidebar-box h3 {
    font-size: 18px;
  }

  .cta-content {
    padding: 20px 16px;
  }

  .cta-text h3 {
    font-size: 16px;
  }
}
