/* DhanElite – all inner pages (products, knowledge, contact, legal, resources) */

.inner-page:not(.fina-home):not(.de-about-page) .page-hero,
.inner-page:not(.fina-home):not(.de-about-page) .index-trading-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1D5B99 52%, #2E880D 100%);
  padding: 44px 0 48px;
  color: #fff;
}

.inner-page:not(.fina-home):not(.de-about-page) .page-hero::before,
.inner-page:not(.fina-home):not(.de-about-page) .page-hero::after,
.inner-page:not(.fina-home):not(.de-about-page) .index-trading-hero::before,
.inner-page:not(.fina-home):not(.de-about-page) .index-trading-hero::after {
  display: none;
}

.inner-page:not(.fina-home):not(.de-about-page) .breadcrumb-custom .breadcrumb-item,
.inner-page:not(.fina-home):not(.de-about-page) .breadcrumb-custom .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.inner-page:not(.fina-home):not(.de-about-page) .breadcrumb-custom .breadcrumb-item.active,
.inner-page:not(.fina-home):not(.de-about-page) .breadcrumb-custom .breadcrumb-item a:hover {
  color: #fff;
}

.inner-page:not(.fina-home):not(.de-about-page) .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.inner-page:not(.fina-home):not(.de-about-page) .page-hero h2,
.inner-page:not(.fina-home):not(.de-about-page) .index-trading-hero h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Main content panel */
.inner-page:not(.fina-home) .index-content-section,
.inner-page:not(.fina-home) .page-content {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.inner-page .index-content-section .col-lg-12,
.inner-page .page-content .de-content-panel {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(29, 91, 153, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.inner-page .index-content-section .card.border-0.shadow-sm {
  border-radius: 20px !important;
  border: 1px solid rgba(29, 91, 153, 0.1) !important;
  box-shadow: 0 16px 48px rgba(29, 91, 153, 0.08) !important;
  padding: 8px !important;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.inner-page .index-content-section .card.border-0.shadow-sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(29, 91, 153, 0.12) !important;
}

.inner-page .index-content-section .article-image img {
  border-radius: 16px;
  width: 100%;
}

.inner-page .benefits-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.65;
}

.inner-page .benefits-list li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1rem;
}

.inner-page .index-content-section h2.fw-bold,
.inner-page .page-content h2.fw-bold {
  color: var(--accent-secondary);
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

/* Contact cards */
.inner-page .contact .info-item {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px !important;
  border: 1px solid rgba(29, 91, 153, 0.1);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}

.inner-page .contact .info-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(29, 91, 153, 0.12);
  border-color: rgba(46, 136, 13, 0.3);
}

.inner-page .contact .info-item i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.inner-page .contact .info-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.inner-page .section-title-head p {
  text-align: center;
  font-size: 1.05rem;
  color: #5a6474;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* Account cards */
.inner-page .account-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.inner-page .account-card {
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(29, 91, 153, 0.12);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.inner-page .account-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(29, 91, 153, 0.14);
}

.inner-page .account-card::before {
  display: none;
}

.inner-page .account-card h3 {
  color: var(--accent-secondary);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.inner-page .account-card p {
  color: #5a6474;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.inner-page .account-card-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--brand-gradient);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inner-page .account-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 136, 13, 0.35);
  color: #fff !important;
}

/* Solution / product cards */
.inner-page .solution-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(29, 91, 153, 0.08);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.inner-page .solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px rgba(29, 91, 153, 0.15);
}

.inner-page .solution-card .read-more {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  border: 2px solid var(--accent-color) !important;
  background: var(--accent-color) !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-top: auto;
  width: fit-content;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.inner-page .solution-card .read-more:hover {
  background: transparent !important;
  color: var(--accent-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 136, 13, 0.2);
}

.inner-page .trading-solutions-section,
.inner-page .account-cards-section {
  padding: 56px 0;
  background: #fff;
}

.inner-page .trading-solutions-section .section-header h2 {
  color: var(--accent-secondary);
  font-weight: 800;
}

/* CTA sections */
.inner-page .cta-section {
  background: var(--brand-gradient) !important;
  padding: 56px 0;
  color: #fff;
}

.inner-page .cta-section h2,
.inner-page .cta-section p {
  color: #fff !important;
}

.inner-page .final-cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1D5B99 100%);
  padding: 48px 0;
  color: #fff;
}

.inner-page .final-cta-section h2 {
  color: #fff;
  font-weight: 700;
}

.inner-page .btn-cta-primary,
.inner-page .final-cta-section .btn-cta-primary {
  background: #fff !important;
  color: var(--accent-secondary) !important;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 700;
  border: none !important;
}

.inner-page .btn-cta-outline {
  border: 2px solid #fff !important;
  color: #fff !important;
  border-radius: 50px;
  padding: 12px 28px;
}

/* Old banner → hidden when de-page-cta used */
.inner-page .banner-about-us {
  display: none;
}

.de-page-cta-bar {
  padding: 0 0 64px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.de-page-cta-bar .de-about-cta {
  margin: 0;
}

/* Career perk cards */
.inner-page .icon-box-career {
  font-size: 2rem !important;
  width: auto !important;
  height: auto !important;
}

.inner-page .page-content .border.rounded.shadow-sm {
  border-radius: 16px !important;
  border-color: rgba(29, 91, 153, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inner-page .page-content .border.rounded.shadow-sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(29, 91, 153, 0.1) !important;
}

/* Legal / policy content */
.inner-page .page-content .col-lg-12 {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(29, 91, 153, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.inner-page .page-content h2.fw-bold {
  color: var(--accent-secondary);
}

/* News */
.inner-page .news-card,
.inner-page .blog-card {
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Service items on resource index pages */
.inner-page .service-item {
  border-radius: 18px;
  border: 1px solid rgba(29, 91, 153, 0.08);
  padding: 28px;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.inner-page .service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(29, 91, 153, 0.1);
}

.inner-page .service-item .icon {
  background: var(--brand-gradient) !important;
}

/* Contact page extras */
.de-hero-sub-inline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.de-contact-link {
  color: var(--accent-secondary);
  font-weight: 600;
  text-decoration: none;
}

.de-contact-link:hover {
  color: var(--accent-color);
}

.de-contact-app-card {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(29, 91, 153, 0.06) 0%, rgba(46, 136, 13, 0.08) 100%);
  border-radius: 20px;
  border: 1px solid rgba(29, 91, 153, 0.12);
  padding: 32px;
}

.de-contact-app-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.de-contact-app-inner h3 {
  font-weight: 700;
  color: var(--accent-secondary);
  margin: 8px 0;
}

.de-shadow-img {
  box-shadow: 0 16px 40px rgba(29, 91, 153, 0.12);
}

/* Currency converter – FX cards */
.de-converter-panel {
  max-width: 900px;
  margin: 0 auto;
}

.de-fx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.de-fx-card {
  background: linear-gradient(160deg, #fff 0%, #f4f8fc 100%);
  border: 1px solid rgba(29, 91, 153, 0.12);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.de-fx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(29, 91, 153, 0.12);
}

.de-fx-pair {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.de-fx-rate {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-color);
  margin: 0 0 6px;
  line-height: 1.2;
}

.de-fx-note {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

.de-fx-disclaimer {
  font-size: 13px;
  color: #6b7280;
  margin-top: 24px;
  margin-bottom: 0;
}

.de-career-grid {
  margin-top: 8px;
}

/* Charges & fees page */
.charges-fees-page .charges-platform {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(29, 91, 153, 0.08);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

.charges-fees-page .charges-feature-box {
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(29, 91, 153, 0.1);
  border-radius: 16px;
  padding: 24px 20px;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.charges-fees-page .charges-feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(29, 91, 153, 0.12);
}

.charges-fees-page .charges-feature-box h4 {
  color: var(--accent-secondary);
  font-weight: 700;
}

.charges-fees-section {
  padding: 48px 0 32px;
  background: #f8fafc;
}

@media (max-width: 767px) {
  .inner-page .index-content-section .col-lg-12,
  .inner-page .page-content .col-lg-12 {
    padding: 24px 20px;
  }

  .inner-page:not(.fina-home):not(.de-about-page) .page-hero h2,
  .inner-page:not(.fina-home):not(.de-about-page) .index-trading-hero h2 {
    font-size: 1.65rem;
  }
}
