/* main.css - Primary Stylesheet
   Section 1: KlientCRM New Theme (navbar, hero, footer, components)
   Section 2: Page-Specific Overrides (inner pages, forms, tables) */

/* ===== NEW THEME ===== */
:root {
  --deep: #0a1628;
  --deep-mid: #122240;
  --deep-light: #1a3058;
  --teal: #00d4aa;
  --teal-dark: #00b892;
  --teal-glow: #00f5c8;
  --warm: #ff7849;
  --warm-dark: #e5643a;
  --light-bg: #f0f4f8;
  --surface: #ffffff;
  --text-body: #5a6577;
  --text-heading: #0f1d34;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text-body);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text-heading);
}

/* ===== NAVBAR ===== */
.navbar-KlientCRM {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  transition: all 0.35s ease;
  z-index: 1050;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-KlientCRM.scrolled {
  padding: 0.45rem 0;
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}
.navbar-KlientCRM .navbar-brand {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 3px;
}
.navbar-KlientCRM .navbar-brand span {
  color: var(--teal);
}
.navbar-KlientCRM .nav-link {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  transition: color 0.25s;
  padding: 0.5rem 0.9rem;
}
.navbar-KlientCRM .nav-link:hover,
.navbar-KlientCRM .nav-link.active {
  color: var(--teal);
}

/* ===== HEADER BUTTONS — small, uppercase, sexy ===== */
.btn-nav-login {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-nav-login:hover {
  color: #fff;
  border-color: var(--teal);
  background: rgba(0, 212, 170, 0.1);
}
.btn-nav-signup {
  background: var(--teal);
  color: var(--deep);
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-nav-signup:hover {
  background: var(--teal-glow);
  color: var(--deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.35);
}

/* ===== GENERAL BUTTONS ===== */
.btn-teal {
  background: var(--teal);
  color: var(--deep);
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-teal:hover {
  background: var(--teal-glow);
  color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.35);
}
.btn-outline-light-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-outline-light-custom:hover {
  background: var(--teal);
  color: var(--deep);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.35);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050514;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 22% 55%,
      rgba(0, 212, 170, 0.1) 0%,
      transparent 52%
    ),
    radial-gradient(
      ellipse at 78% 18%,
      rgba(100, 60, 230, 0.09) 0%,
      transparent 48%
    ),
    linear-gradient(
      138deg,
      rgba(5, 5, 25, 0.96) 0%,
      rgba(8, 16, 48, 0.93) 45%,
      rgba(0, 28, 44, 0.89) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 7rem;
  padding-bottom: 8rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 170, 0.1);
  color: var(--teal);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(0, 212, 170, 0.25);
  box-shadow: 0 0 18px rgba(0, 212, 170, 0.08);
}
.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1.12;
  max-width: 680px;
}
.hero-title span {
  color: var(--teal);
  text-shadow: 0 0 35px rgba(0, 212, 170, 0.45);
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  max-width: 520px;
  margin-top: 1.5rem;
  line-height: 1.8;
}
.btn-hero {
  margin-top: 2.5rem;
  padding: 0.85rem 2.8rem;
  font-size: 0.85rem;
  border-radius: 50px;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.45);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(0, 212, 170, 0);
  }
}
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5, 5, 20, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.hero-stat-item {
  text-align: center;
  padding: 1.3rem 0;
}
.hero-stat-num {
  color: var(--teal);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  text-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}
.hero-stat-label {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

/* ===== SECTION HELPERS ===== */
.section-label {
  display: inline-block;
  color: var(--teal);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-title {
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--text-heading);
}
.section-title-white {
  font-weight: 800;
  font-size: 2.3rem;
  color: #fff;
}

/* ===== OFFERS ===== */
.offers-section {
  background: #fff;
  padding: 5.5rem 0;
}
.offer-card {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.offer-card:hover::before {
  transform: scaleX(1);
}
.offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(10, 22, 40, 0.1);
  border-color: transparent;
}
.offer-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.offer-icon.teal {
  background: rgba(0, 212, 170, 0.1);
  color: var(--teal-dark);
}
.offer-icon.deep {
  background: rgba(10, 22, 40, 0.06);
  color: var(--deep);
}
.offer-icon.warm {
  background: rgba(255, 120, 73, 0.1);
  color: var(--warm);
}
.offer-card h4 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--deep);
}
.offer-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 0.65rem;
}
.offer-card li i {
  color: var(--teal-dark);
  margin-top: 3px;
  font-size: 0.8rem;
}

/* ===== COUNTRIES — 4 countries, image bg + overlay ===== */
.countries-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.countries-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.countries-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(18, 34, 64, 0.88) 100%
  );
}
.countries-content {
  position: relative;
  z-index: 10;
}
.country-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.country-card .country-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--teal);
  transition: all 0.3s;
}
.country-card:hover {
  background: var(--teal);
  color: var(--deep);
  border-color: var(--teal);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 212, 170, 0.3);
}
.country-card:hover .country-icon {
  background: rgba(10, 22, 40, 0.15);
  color: var(--deep);
}

/* ===== PARTNERS — 4 boxes, enhanced ===== */
.partners-section {
  background: var(--light-bg);
  padding: 5rem 0;
}
.partner-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--deep);
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  text-align: center;
}
.partner-card .partner-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 170, 0.1),
    rgba(0, 212, 170, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--teal-dark);
  margin-bottom: 0.8rem;
}
.partner-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: var(--teal);
}

/* ===== ABOUT ===== */
.about-section {
  background: #fff;
  padding: 5.5rem 0;
}
.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.about-play-btn {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--teal);
  color: var(--deep);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
}
.about-play-btn:hover {
  transform: translateX(-50%) scale(1.1);
  background: var(--teal-glow);
}
.about-check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}
.about-check-list li i {
  color: var(--teal-dark);
  font-size: 1.1rem;
}
.stat-box {
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--light-bg);
}
.stat-box i {
  font-size: 1.6rem;
  color: var(--teal-dark);
}
.stat-number {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--deep);
  margin-top: 0.3rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-body);
  margin-top: 0.2rem;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  background: var(--light-bg);
  padding: 5.5rem 0;
}
.step-card {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.step-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  position: relative;
  transition: all 0.4s ease;
}
.step-circle:hover {
  background: var(--teal);
  color: var(--deep);
  transform: scale(1.08);
}
.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--warm);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 120, 73, 0.4);
}
.step-card h5 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--deep);
}
.step-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-top: 0.3rem;
}
.step-connector {
  position: absolute;
  top: 44px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--deep) 0,
    var(--deep) 8px,
    transparent 8px,
    transparent 14px
  );
  opacity: 0.15;
}

/* ===== CTA BANNER ===== */
.cta-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep), var(--deep-mid));
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.05);
}
.cta-card {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 20px;
  padding: 3.5rem;
  color: var(--deep);
}
.cta-card h2 {
  color: var(--deep);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.3;
}

/* ===== FOOTER ===== */
.footer-section {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 4.5rem 0 0;
}
.footer-section h5 {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.footer-brand {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 3px;
}
.footer-brand span {
  color: var(--teal);
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s;
}
.footer-links a:hover {
  color: var(--teal);
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}
.footer-contact i {
  color: var(--teal);
  margin-top: 3px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all 0.3s;
  margin-right: 0.4rem;
}
.footer-social a:hover {
  background: var(--teal);
  color: var(--deep);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title,
  .section-title-white {
    font-size: 1.8rem;
  }
  .step-connector {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-section {
    min-height: 520px;
  }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  z-index: 9999;
  transition: width 0.1s linear;
}

html {
  scroll-behavior: smooth;
}

/* ===== PAGE-SPECIFIC OVERRIDES ===== */
.table thead {
  background-color: #1b182f;
  background: -webkit-linear-gradient(left, #1b182f 0%, #4a3f5d 100%);
  background: -moz-linear-gradient(left, #1b182f 0%, #4a3f5d 100%);
  background: -o-linear-gradient(left, #1b182f 0%, #4a3f5d 100%);
  background: -ms-linear-gradient(left, #1b182f 0%, #4a3f5d 100%);
  background: linear-gradient(to right, #1b182f 0%, #4a3f5d 100%);
}

.table th {
  font-family: "Poppins-medium", sans-serif;
  font-weight: initial;
  padding: 0.5rem;
}

.table td {
  font-family: "Poppins-light", sans-serif;
  padding: 0.5rem;
}

.themePink-bg {
  background: #ff5857;
}

.themePink-color {
  color: #ff5857 !important;
}

.themePink-hcolor:hover {
  color: #ff5857 !important;
}

.themeBlue-bg {
  background: #1b182f !important;
}

.themeBlue-color {
  color: #1b182f !important;
}

.themeBlue-hcolor:hover {
  color: #1b182f !important;
}

.themeGray-bg {
  background: #d3d3d3 !important;
}

.themeGray-color {
  color: #d3d3d3 !important;
}

.btn {
  border-radius: 5px;
  border: 0;
}

.main-header.style-two .header-lower .logo-box {
  padding: 40px 0px;
}

.sticky-header .header-top .btn-box a:hover {
  color: #1b182f;
}

.sticky-header .header-top .btn-box a.themeBlue-color:hover {
  color: #ff5857 !important;
}

.sticky-header .header-top .btn-box a:hover:before {
  width: 0%;
}
.themeForm .form-select,
.themeForm .form-control {
  font-size: 14px;
  background: #f1f0f7;
  border-color: #e5e5e5;
  border-radius: 5px;
}

.adminPageRight .themeForm .select2 span.select2-selection {
  min-height: 50px;
  padding-top: 8px;
}

.themeForm .form-label {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.themeForm .form-control[type="file"] {
  padding: 12px 0px 10px 19px;
}

.themeForm .form-control {
  padding-left: 20px;
}
.themeForm .form-select,
.themeForm .form-control:not(textarea) {
  height: 50px;
}

._innerPages {
  font-size: 14px;
  line-height: 20px;
}

._innerPages p {
  margin-bottom: 15px;
}

.themePagination nav {
  display: inline-block;
}

.themePagination nav ul {
  margin: 0;
}

.themePagination ul li a {
  color: #232951;
  height: auto;
  line-height: initial;
  width: auto;
  border-radius: 3px;
}

.themePagination ul li a:hover {
  background-color: transparent;
  color: #232951;
}

.themePagination ul li.page-item span {
  border-radius: 3px;
}

.themePagination ul li.page-item.active span {
  background-color: #ff5857;
  border-color: #ff5857;
  border-radius: 3px;
}

.themePagination li.page-item.disabled .page-link {
  background-color: transparent;
}

.tableFancy thead {
  background: #1b182f;
}

.tableFancy thead th {
  font-family: "Poppins-reg", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  padding: 20px 10px;
}

.tableFancy tbody td {
  font-family: "Poppins-light", sans-serif;
  color: #1b182f;
}

.docSearchList figure img {
  width: 60px;
  border-radius: 50%;
}

.coaching-sidebar .docSearchList figure img {
  border-radius: 50%;
  height: 90px;
  object-fit: cover;
  width: 90px;
}

/*RazaSyling*/
.el_select2 .select2 span.select2-selection {
  font-size: 14px;
  background: #f1f0f7;
  border-color: #e5e5e5;
  border-radius: 5px;
  line-height: 1.5;
  color: #495057;
  padding: 8px;
}

.custom-file .fileNameI {
  position: absolute;
  z-index: 10;
  right: 80px;
  color: #dc3545;
  opacity: 1;
  font-weight: normal;
  font-style: normal;
  top: 7px;
  cursor: pointer;
}

._countriesPg .docSearchList figure span,
._consultantPg .docSearchList figure span {
  width: 160px;
  border-radius: 10px;
  object-fit: fill;
  height: 160px;
  display: inline-block;
}
._countriesPg .docSearchList figure img,
._consultantPg .docSearchList figure img {
  height: 160px;
  width: 160px;
  border-radius: 10px;
}

.country-section._uni .inner-content .single-item .image-box:before {
  display: none;
}
