/* ==============================================
   DELNEXT BUSINESS PAGE - DEDICATED STYLESHEET
   Loaded only on the /business page.
   Global styles (nav, footer, fonts, etc.) are
   already provided by 1_homepage_v5.css.
   ============================================== */

/* Remove body padding-top on business page —
   the hero section handles navbar clearance itself */
body#business {
  padding-top: 0 !important;
}

/* Utility: right-align on medium+ screens */
@media (min-width: 992px) {
  .text-right-md { text-align: right; }
}

/* =========================================
   SECTION 19. BUSINESS PAGE HERO
   ========================================= */

.business-hero-wrapper {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}

.b2b-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.b2b-bg-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 19, 43, 0.75); z-index: 2; transition: background 0.4s ease;
}

.flex-v-center-b2b { display: flex; align-items: center; flex-wrap: wrap; width: 100%; }
.flex-v-center-b2b::before, .flex-v-center-b2b::after { display: none !important; }

@media only screen and (max-width: 992px) {
  .flex-v-center-b2b { width: unset; }
}

.b2b-hero-text { padding-right: 20px; }
.b2b-headline {
  font-size: 56px; font-weight: 800; color: #ffffff; line-height: 1.1;
  margin-bottom: 15px; transition: color 0.4s ease;
}
.b2b-subheadline {
  font-size: 24px; color: #94a3b8; font-weight: 400; transition: color 0.4s ease;
}

.b2b-form-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}

.b2b-form-title {
  font-size: 18px; font-weight: 700; color: #ffffff; margin-bottom: 25px; text-align: center;
  transition: color 0.4s ease;
}

.b2b-form-group { margin-bottom: 20px; text-align: left; }

.b2b-glass-input {
  width: 100%; height: 52px;
  background: rgba(0,0,0,0.2); border: 1px solid transparent;
  border-radius: 10px; color: #ffffff; padding: 12px 18px; font-size: 15px;
  transition: all 0.3s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  font-family: 'Inter', sans-serif;
}
textarea.b2b-textarea { height: auto; resize: vertical; min-height: 90px; }

.b2b-glass-input:focus {
  border-color: #2563eb;
  outline: none;
  background: rgba(0,0,0,0.3);
}
.b2b-glass-input::placeholder { color: #94a3b8; }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

.b2b-form-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; flex-wrap: wrap; gap: 15px;
}

.btn-submit-b2b {
  background: #2563eb; color: #ffffff; border: none; padding: 15px 36px; border-radius: 50px;
  font-weight: 600; font-size: 16px; transition: all 0.3s ease; box-shadow: 0 8px 15px rgba(37,99,235,0.3);
  cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-submit-b2b:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 12px 20px rgba(37,99,235,0.4); }

/* reCAPTCHA wrapper in new form */
.b2b-recaptcha-wrap { display: flex; align-items: center; }

/* Light mode overrides */
body.light-theme .b2b-bg-overlay { background: rgba(248, 250, 252, 0.75); }

body.light-theme .b2b-headline {
  color: #0B132B;
  text-shadow: 0 0 20px rgba(255,255,255,1), 0 0 10px rgba(255,255,255,0.9);
}
body.light-theme .b2b-subheadline {
  color: #0f172a; font-weight: 700;
  text-shadow: 0 0 15px rgba(255,255,255,1), 0 0 10px rgba(255,255,255,0.9);
}

body.light-theme .b2b-form-card {
  background: #ffffff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(11,19,43,0.08);
}

body.light-theme .b2b-form-title { color: #0f172a; }

body.light-theme .b2b-glass-input {
  background: #ffffff; color: #0f172a; border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
body.light-theme .b2b-glass-input:focus {
  border-color: #3b82f6; background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
body.light-theme .b2b-glass-input::placeholder { color: #94a3b8; }

/* Responsive */
@media (max-height: 800px) and (min-width: 992px) {
  .b2b-form-card { padding: 25px 30px; }
  .b2b-form-group { margin-bottom: 12px; }
  .b2b-glass-input { height: 44px; font-size: 14px; padding: 10px 14px; }
  textarea.b2b-textarea { min-height: 60px; }
  .b2b-headline { font-size: 46px; margin-bottom: 10px; }
  .b2b-subheadline { font-size: 20px; }
}

@media (max-width: 991px) {
  .business-hero-wrapper { height: auto; padding-top: 120px; padding-bottom: 60px; }
  .b2b-hero-text { text-align: center; padding-right: 0; margin-bottom: 40px; }
  .b2b-headline { font-size: 48px; }
}

@media (max-width: 767px) {
  .business-hero-wrapper { padding-top: 100px; padding-bottom: 50px; }
  .b2b-headline { font-size: 38px; }
  .b2b-form-card { padding: 25px 20px; }
  .b2b-form-footer { flex-direction: column; align-items: stretch; }
  .btn-submit-b2b { width: 100%; text-align: center; margin-top: 10px; }
}


/* =========================================
   SECTION 20. TRUST INDICATORS
   ========================================= */

.trust-blocks-section {
  background-color: #F8FAFC;
  padding: 80px 0;
  transition: background-color 0.4s ease;
}

.trust-blocks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.trust-modular-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(15,23,42,0.015);
  cursor: default;
}

.trust-modular-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.tm-icon-box {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-modular-card:hover .tm-icon-box {
  background: #2563eb; color: #ffffff; transform: scale(1.05);
}

.tm-text {
  font-size: 14px; color: #334155; font-weight: 600;
  line-height: 1.6; margin: 0;
}

.tm-rating-card { justify-content: center; }

.tm-rating-content {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; margin-bottom: 16px;
}

.tm-score {
  font-size: 34px; font-weight: 800; color: #0f172a; line-height: 1;
}

.tm-stars { color: #facc15; font-size: 16px; }

.tm-subtext { font-size: 13px; color: #64748b; margin: 0; font-weight: 500; }

/* Light theme inversion: section becomes dark */
body.light-theme .trust-blocks-section { background-color: #0B132B; }

body.light-theme .trust-modular-card {
  background: #1e293b; border-color: rgba(255,255,255,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
body.light-theme .trust-modular-card:hover {
  border-color: rgba(255,255,255,0.1); background-color: #24324d;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
body.light-theme .tm-icon-box { background: rgba(37,99,235,0.14); color: #60a5fa; }
body.light-theme .trust-modular-card:hover .tm-icon-box { background: #3b82f6; color: #ffffff; }
body.light-theme .tm-text { color: #cbd5e1; }
body.light-theme .tm-score { color: #ffffff; }
body.light-theme .tm-subtext { color: #94a3b8; }

@media (max-width: 1200px) {
  .trust-blocks-grid { gap: 16px; }
  .trust-modular-card { padding: 30px 16px; }
  .tm-text { font-size: 13px; }
  .tm-score { font-size: 30px; }
}

@media (max-width: 991px) {
  .trust-blocks-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .trust-blocks-section { padding: 60px 0; }
  .trust-blocks-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-modular-card { padding: 35px 24px; }
}


/* =========================================
   SECTION 21. CORE FEATURES
   ========================================= */

.core-features-section {
  background-color: #0B132B;
  padding: 100px 0 80px 0;
  transition: background-color 0.4s ease;
}

.features-header {
  font-size: 42px; font-weight: 800; color: #ffffff;
  margin-bottom: 50px; transition: color 0.4s ease;
}

.features-row {
  display: flex; flex-wrap: wrap;
}
.features-row::before, .features-row::after { display: none !important; }
.features-row > [class*="col-"] {
  display: flex; flex-direction: column; margin-bottom: 30px;
}

.feature-card {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 35px 25px;
  flex-grow: 1; height: 100%;
  display: flex; flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.brand-icon-glow {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: all 0.4s ease;
  background: rgba(37,99,235,0.15); color: #60a5fa;
  box-shadow: 0 0 15px rgba(37,99,235,0.1);
}

.brand-icon-glow .fa { font-size: 28px; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }

.feature-card:hover .brand-icon-glow {
  background: #2563eb; color: #ffffff;
  box-shadow: 0 5px 15px rgba(37,99,235,0.4);
}
.feature-card:hover .brand-icon-glow .fa { transform: scale(1.1); }

.feature-title {
  font-size: 20px; font-weight: 700; color: #ffffff;
  margin: 0 0 12px 0; transition: color 0.4s ease;
}

.feature-desc {
  font-size: 14px; color: #94a3b8; line-height: 1.6;
  margin: 0; transition: color 0.4s ease;
}

.feature-list {
  list-style: none; padding: 0; margin: 0;
}
.feature-list li {
  font-size: 14px; color: #94a3b8; margin-bottom: 8px;
  display: flex; align-items: center; transition: color 0.4s ease;
}
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li .fa {
  font-size: 14px; color: #60a5fa; margin-right: 8px; flex-shrink: 0;
}

/* Light mode overrides */
body.light-theme .core-features-section { background-color: #F9FAFB; }
body.light-theme .features-header { color: #0B132B; }

body.light-theme .feature-card {
  background: #ffffff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
body.light-theme .feature-card:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

body.light-theme .feature-title { color: #0B132B; }
body.light-theme .feature-desc,
body.light-theme .feature-list li { color: #475569; }

body.light-theme .brand-icon-glow { background: #eff6ff; color: #2563eb; box-shadow: none; }
body.light-theme .feature-list li .fa { color: #2563eb; }

@media (max-width: 991px) {
  .core-features-section { padding: 80px 0 60px 0; }
  .features-header { font-size: 36px; }
  .feature-card { padding: 25px 20px; }
}
@media (max-width: 767px) {
  .core-features-section { padding: 60px 0 40px 0; }
  .features-header { font-size: 32px; margin-bottom: 40px; }
}


/* =========================================
   SECTION 22. INTEGRATION DOCK
   ========================================= */

@keyframes heroBgZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.integration-dock-section {
  background-color: #F4F7F9;
  padding: 100px 0;
  transition: background-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.integration-animated-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 1;
  animation: heroBgZoom 20s infinite alternate ease-in-out;
}

.integration-bg-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(244,247,249,0.75);
  z-index: 2; transition: background-color 0.4s ease;
}

.integration-dock-section .relative-z { position: relative; z-index: 3; }

.dock-heading {
  font-size: 42px; font-weight: 800; color: #0B132B;
  margin-bottom: 15px; transition: color 0.4s ease;
}
.dock-subheading {
  font-size: 18px; color: #475569; font-weight: 400;
  margin-bottom: 60px; transition: color 0.4s ease;
}

.integration-dock {
  display: flex; justify-content: center;
  align-items: center; gap: 30px; flex-wrap: wrap;
}

.staggered-down { transform: translateY(30px); }

.integration-tile {
  width: 180px; height: 180px;
  background-color: #ffffff;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
}

.integration-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(37,99,235,0.15);
  border-color: #2563eb;
}
.integration-tile.staggered-down:hover { transform: translateY(22px); }

.dock-logo-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(50%);
  transition: all 0.4s ease;
}
.integration-tile:hover .dock-logo-img { filter: grayscale(0%) opacity(100%); transform: scale(1.05); }

/* Light theme inversion: section becomes dark */
body.light-theme .integration-dock-section { background-color: #0B132B; }
body.light-theme .integration-bg-overlay { background-color: rgba(11,19,43,0.75); }
body.light-theme .dock-heading { color: #ffffff; }
body.light-theme .dock-subheading { color: #94a3b8; }

body.light-theme .integration-tile {
  background-color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
body.light-theme .integration-tile:hover {
  border-color: #2563eb;
  box-shadow: 0 15px 35px rgba(37,99,235,0.4);
}

@media (max-width: 991px) {
  .integration-dock-section { padding: 80px 0; }
  .dock-heading { font-size: 36px; }
  .integration-tile { width: 150px; height: 150px; padding: 25px; }
  .staggered-down { transform: translateY(20px); }
  .integration-tile.staggered-down:hover { transform: translateY(12px); }
}
@media (max-width: 767px) {
  .integration-dock-section { padding: 60px 0; }
  .dock-heading { font-size: 32px; }
  .integration-dock { gap: 15px; }
  .integration-tile { width: 130px; height: 130px; padding: 20px; margin-bottom: 10px; }
  .staggered-down { transform: translateY(0); }
  .integration-tile.staggered-down:hover { transform: translateY(-5px); }
  .integration-tile:hover { transform: translateY(-5px); }
}


/* =========================================
   SECTION 23. PATHWAY GRID
   ========================================= */

.pathway-section {
  background-color: #0B132B;
  padding: 100px 0;
  transition: background-color 0.4s ease;
}

.pathway-header-title {
  font-size: 42px; font-weight: 800; color: #ffffff;
  margin-bottom: 15px; transition: color 0.4s ease;
}
.pathway-header-sub {
  font-size: 18px; color: #94a3b8; font-weight: 400;
  margin-bottom: 60px; transition: color 0.4s ease;
}

.pathway-row { display: flex; flex-wrap: wrap; }
.pathway-row::before, .pathway-row::after { display: none !important; }
.pathway-col { display: flex; flex-direction: column; margin-bottom: 30px; }

.pathway-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column; flex-grow: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
}
.pathway-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }

.pathway-img-wrap { height: 220px; overflow: hidden; position: relative; }

.pathway-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); z-index: 1;
}
.pathway-card:hover .pathway-bg-img { transform: scale(1.08); }

.pathway-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }

.pathway-card-title { color: #0B132B; font-size: 26px; font-weight: 800; margin: 0 0 15px 0; }
.pathway-card-desc { color: #475569; font-size: 15px; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }

.pathway-btn {
  display: inline-block;
  background: #2563eb; color: #ffffff;
  padding: 14px 32px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
  transition: all 0.3s ease;
}
.pathway-btn:hover { background: #1d4ed8; color: #ffffff; text-decoration: none; }

.pathway-footer-text {
  text-align: center; color: #94a3b8; font-size: 16px; font-weight: 700;
  margin-top: 30px; text-transform: uppercase; letter-spacing: 1px; transition: color 0.4s ease;
}

/* Light mode overrides */
body.light-theme .pathway-section { background-color: #ffffff; }
body.light-theme .pathway-header-title { color: #0B132B; }
body.light-theme .pathway-header-sub { color: #475569; }
body.light-theme .pathway-card { background: #F8FAFC; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
body.light-theme .pathway-card-title { color: #0B132B; }
body.light-theme .pathway-card-desc { color: #475569; }
body.light-theme .pathway-footer-text { color: #64748b; }


/* =========================================
   SECTION 24. AUTHORITY SECTION
   ========================================= */

.authority-section {
  background-color: #F4F7F9;
  padding: 80px 0;
  transition: background-color 0.4s ease;
}

.auth-intro-text { font-size: 18px; color: #475569; margin-bottom: 50px; line-height: 1.6; }

.authority-content-wrapper {
  display: flex; background: #ffffff;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.auth-visual { width: 45%; }
.auth-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.auth-details { width: 55%; padding: 50px; }
.auth-group { margin-bottom: 40px; }
.auth-group:last-child { margin-bottom: 0; }

.auth-title { color: #0B132B; font-size: 28px; font-weight: 800; margin-bottom: 15px; }
.auth-desc { color: #475569; font-size: 15px; line-height: 1.6; }

.cert-title { color: #0B132B; font-size: 18px; font-weight: 700; margin-bottom: 15px; }
.cert-desc { color: #475569; font-size: 14px; margin-bottom: 20px; }

.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cert-logo { height: 40px; width: auto; opacity: 0.8; transition: opacity 0.3s ease; }
.cert-logo:hover { opacity: 1; }

/* Light theme inversion: section becomes dark */
body.light-theme .authority-section { background-color: #0B132B; }
body.light-theme .auth-intro-text { color: #e2e8f0; }
body.light-theme .authority-content-wrapper { background: #1e293b; box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
body.light-theme .auth-title { color: #ffffff; }
body.light-theme .auth-desc { color: #cbd5e1; }
body.light-theme .cert-title { color: #ffffff; }
body.light-theme .cert-desc { color: #94a3b8; }
body.light-theme .cert-logo { filter: brightness(200%); }

@media (max-width: 991px) {
  .authority-content-wrapper { flex-direction: column; }
  .auth-visual { width: 100%; height: 250px; }
  .auth-details { width: 100%; padding: 30px; }
}


/* =========================================
   SECTION 25. FINAL CTA
   ========================================= */

.final-cta-section {
  padding: 80px 0;
  transition: all 0.4s ease;
}

.cta-text {
  font-size: 28px; font-weight: 800; color: #ffffff;
  line-height: 1.4; margin: 0;
}

.btn-cta {
  display: inline-block;
  padding: 18px 40px;
  background: #2563eb; color: #ffffff;
  font-weight: 700; border-radius: 8px;
  text-decoration: none; font-size: 18px;
  transition: all 0.3s ease; border: none;
}
.btn-cta:hover {
  background: #1d4ed8; color: #ffffff;
  transform: translateY(-2px); text-decoration: none;
  box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

body.light-theme .final-cta-section { background-color: #F8FAFC; }
body.light-theme .cta-text { color: #0B132B; }

@media (max-width: 991px) {
  .final-cta-section { text-align: center; padding: 50px 0; }
  .text-right-md { text-align: center; margin-top: 30px; }
}
