/* Resources Page Styles */

/* Hero Section */
.resources-hero-section {
  position: relative;
  margin: 0 24px 24px 24px;
  border-radius: 24px;
  overflow: hidden;
  padding: 120px 0;
  background-image: linear-gradient(to right, rgba(11, 19, 40, 0.95) 0%, rgba(11, 19, 40, 0.8) 50%, rgba(11, 19, 40, 0.4) 100%),
    url('../assets/Images/home_hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.resources-hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.resources-hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin: 0 0 24px 0;
  letter-spacing: -1px;
}

.resources-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

/* Featured Corporate Assets Section */
.featured-assets-section {
  padding: 80px 0;
}

.featured-assets-layout {
  display: flex;
  gap: 64px;
}

.assets-sidebar {
  flex: 0 0 220px;
}

.assets-sidebar-menu {
  display: flex;
  flex-direction: column;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.sidebar-tab {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f3f4f6;
}

.sidebar-tab-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-tab-content svg {
  width: 20px;
  height: 20px;
  stroke: #4b5563;
}

.sidebar-tab.active .sidebar-tab-content svg {
  stroke: var(--primary-orange);
}

.sidebar-tab.active {
  background-color: transparent;
}

.sidebar-tab:not(.active):hover {
  background-color: #f9fafb;
}

.sidebar-sub-menu {
  padding-left: 24px;
  margin-top: 4px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-sub-item {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.sidebar-sub-item:hover {
  background-color: #f9fafb;
  color: #111827;
}

.sidebar-sub-item.active {
  color: var(--primary-orange);
  font-weight: 700;
  background-color: transparent;
  position: relative;
}

.sidebar-sub-item.active::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: var(--primary-orange);
  border-radius: 0 4px 4px 0;
}

.sidebar-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-chevron svg {
  width: 14px;
  height: 14px;
  stroke: #9ca3af;
  transition: transform 0.3s;
}
.sidebar-tab.active .sidebar-chevron svg {
  transform: rotate(180deg);
}

.assets-content {
  flex: 1;
}

.assets-content-header {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 24px;
}

.asset-card-large {
  display: flex;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  align-items: center;
}

.asset-card-large-image {
  flex: 0 0 280px;
  margin-right: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-card-large-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  object-fit: cover;
}

.asset-card-large-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.asset-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary-orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.asset-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}

.asset-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
}

.asset-btn-outline {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.asset-btn-outline:hover {
  background-color: #fff3ed;
}

.asset-card-small {
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.asset-card-small-image {
  flex: 0 0 60px;
  margin-right: 24px;
}

.asset-card-small-image img {
  width: 100%;
  border-radius: 6px;
}

.asset-card-small-content {
  flex: 1;
}

.asset-card-small-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.asset-card-small-desc {
  font-size: 13px;
  color: #6b7280;
}

.asset-arrow-btn-circle {
  color: var(--primary-orange);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 24px;
}

.asset-arrow-btn-circle:hover {
  background-color: #fff3ed;
}

/* Documentation Directory Section */
.docs-directory-section {
  padding: 80px 0;
  border-top: 2px dashed #e5e7eb;
}



.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 48px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.doc-card {
  background-color: #fafbfc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.doc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: white;
  border: 1px solid #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}
.doc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-orange);
}

.doc-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-orange);
  background-color: white;
  border: 1px solid #fee2e2;
  padding: 6px 12px;
  border-radius: 99px;
}

.doc-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.doc-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 24px;
}

.doc-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-orange);
  text-decoration: none;
  background-color: white;
  border: 1px solid #e5e7eb;
  padding: 8px 16px;
  border-radius: 99px;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.doc-link:hover {
  border-color: var(--primary-orange);
}

/* Intellectual Assets Section */
.intellectual-assets-section {
  padding: 80px 0;
  border-top: 2px dashed #e5e7eb;
}

.intellectual-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.scroll-hint {
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.assets-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 24px;
  scrollbar-width: none; /* Firefox */
}
.assets-carousel::-webkit-scrollbar {
  display: none; /* Chrome */
}

.asset-article-card {
  flex: 0 0 350px;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.asset-article-card.dark {
  background-color: #0b1328;
  color: white;
}

.asset-article-card.light {
  background-color: white;
  border: 1px solid #e5e7eb;
  color: #111827;
}

.article-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.article-category {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.dark .article-category { color: var(--primary-orange); }
.light .article-category { color: var(--primary-orange); }

.article-date {
  font-size: 10px;
  font-weight: 500;
}
.dark .article-date { color: #9ca3af; }
.light .article-date { color: #6b7280; }

.article-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
  flex-grow: 1;
}

.article-footer {
  font-size: 11px;
  font-weight: 600;
}
.dark .article-footer { color: #6b7280; }
.light .article-footer { color: #9ca3af; }

/* CTA Section */
.resources-cta-section {
  background-color: #0b1328;
  margin: 0 24px 24px 24px;
  border-radius: 24px;
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resources-cta-title {
  font-size: 40px;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.resources-cta-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.resources-cta-btn {
  display: inline-block;
  background-color: var(--primary-orange);
  color: white;
  padding: 16px 32px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.resources-cta-btn:hover {
  background-color: #d14d17;
}

/* Responsive */
@media (max-width: 992px) {
  .featured-assets-layout {
    flex-direction: column;
    gap: 48px;
  }
  .assets-sidebar {
    flex: none;
    width: 100%;
  }
  .assets-sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .sidebar-sub-menu {
    display: none;
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .asset-card-large {
    flex-direction: column;
    padding: 24px;
  }
  .asset-card-large-image {
    margin-right: 0;
    margin-bottom: 24px;
  }
  .resources-hero-title {
    font-size: 40px;
  }
  .intellectual-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
