/*!
Theme Name: Sorsx
Theme URI: https://them.es/starter
Author: shahid
Author URI: https://them.es/
Description: Sorsx Blog
Version: 3.6.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: sorsx-blog
*/


:root {
  /* Fonts */
  --font-primary: "Manrope", sans-serif;
  --font-secondary: "Instrument Sans", sans-serif;

  /* Color Palette */
  --color-bg: #161514;
  --color-bg-dark: #0b0b0b;
  --color-primary: #ffffff;
  --color-secondary: #aaaaaa;
  --color-accent: #1e1e1e;
  --color-accent-hover: #2c2c2c;
  --color-border: #2a2a2a;
  --color-description: #cccfd7;
  --color-purple: #254cf8;
  --grayA2: #a2a2a2;

  /* Button */
  --btn-bg: var(--color-accent);
  --btn-hover: var(--color-accent-hover);
  --btn-text: var(--color-primary);
}



body {
  font-family: var(--font-primary) !important;
  background-color: var(--color-bg) !important;
  color: var(--color-primary) !important;
  line-height: 1.6 !important;
  min-height: 100vh !important;
}

a {
  color: inherit !important;
  text-decoration: none !important;
  font-family: var(--font-primary) !important;
}

section {
  scroll-margin-top: 80px !important;
}

ul {
  list-style: none;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  width: 100% !important;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1440px !important;
  }
}

/* ========== FLEX HELPERS ========== */
.flex {
  display: flex !important;
}

.flex-center {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.flex-between {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.flex-column {
  display: flex !important;
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

/* ========== GAP UTILITIES ========== */

.gap-0 {
  gap: 0;
}

.gap-1 {
  gap: 0.25rem;
}

/* 4px */
.gap-2 {
  gap: 0.5rem;
}

/* 8px */
.gap-3 {
  gap: 0.75rem;
}

/* 12px */
.gap-4 {
  gap: 1rem;
}

/* 16px */
.gap-5 {
  gap: 1.25rem;
}

/* 20px */
.gap-6 {
  gap: 1.5rem;
}

/* 24px */
.gap-8 {
  gap: 2rem;
}

/* 32px */
.gap-10 {
  gap: 2.5rem;
}

/* 40px */
.gap-12 {
  gap: 3rem;
}

/* 48px */
.gap-16 {
  gap: 4rem;
}

/* 64px */

/* Direction-specific gaps */
.row-gap-4 {
  row-gap: 1rem;
}

.column-gap-4 {
  column-gap: 1rem;
}

/* Responsive optional classes */
@media (max-width: 768px) {
  .gap-md-2 {
    gap: 0.5rem;
  }

  .gap-md-4 {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .gap-sm-2 {
    gap: 0.5rem;
  }

  .gap-sm-3 {
    gap: 0.75rem;
  }
}

/* ========== SPACING UTILS ========== */
.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

/* ========== TEXT HELPERS ========== */
.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

/* ========== Z-INDEX ========== */
.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

/* ========== TOP ========== */

.top-50 {
  top: 50%;
}

.top-60 {
  top: 60%;
}

.top-70 {
  top: 70%;
}

.top-80 {
  top: 80%;
}

.text_gray {
  color: var(--grayA2) !important;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1rem !important;
  background-color: var(--color-bg) !important;
}

.nav-links {
  display: flex !important;
  gap: 2rem !important;
  transition: all 0.3s ease-in-out !important;
}

.nav-links a {
  position: relative !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  display: inline-block !important;
}

.nav-links a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background-color: currentColor !important;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.nav-links a:hover::after {
  width: 100% !important;
}

.menu-toggle {
  display: none !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 20 !important;
}

.cta-btn-mobile {
  display: none !important;
}

.cta-btn-desktop {
  display: flex !important;
  gap: 7px !important;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
  }

  .container-mb {
    display: flex !important;
    flex-direction: row !important;
  }

  #mobileMenu {
    position: absolute !important;
    z-index: 999 !important;
  }

  .cta-btn-desktop {
    display: none !important;
  }

  .nav-links {
    flex-direction: column !important;
    gap: 1rem !important;
    position: absolute !important;
    top: 90px !important;
    right: 1rem !important;
    background-color: var(--btn-hover) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: max-height 0.3s ease, opacity 0.3s ease !important;
    width: 96% !important;
  }

  .nav-links.open {
    max-height: 500px !important;
    opacity: 1 !important;
    z-index: 999999 !important;
  }

  .cta-btn-mobile {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: 1rem !important;
  }

  .cta-btn {
    display: none !important;
  }
}

.dropdown {
  position: relative !important;
}

.dropdown-toggle {
  background: none !important;
  border: none !important;
  color: inherit !important;
  font: inherit !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.dropdown-toggle::after {
  display: none !important;
}

.dropdown-icon {
  width: 16px !important;
  height: 16px !important;
  transition: transform 0.3s ease !important;
}

.dropdown-menu {
  /* display: none !important; */
  /* position: absolute !important; */
  top: 100% !important;
  left: 0 !important;
  background-color: white !important;
  padding: 0.5rem !important;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important;
  border-radius: 6px !important;
  flex-direction: column !important;
  z-index: 10 !important;
  min-width: 140px !important;
}

.dropdown-menu a {
  padding: 6px 12px !important;
  color: black !important;
  text-decoration: none !important;
  display: block !important;
  white-space: nowrap !important;
  font-family: var(--font-primary) !important;
  font-weight: 500 !important;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0 !important;
}

.dropdown.open .dropdown-menu {
  display: flex !important;
}

.dropdown.open .dropdown-icon {
  transform: rotate(180deg) !important;
}

/* ========== BUTTON ========== */

button {
  display: inline-block !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  font-family: var(--font-primary) !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
  background: gra !important;
}

.frosted-button {
  position: relative !important;
  padding: 12px 28px !important;
  font-size: 16px !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: linear-gradient(to right,
      rgba(250, 250, 250, 0.3) 0%,
      rgba(247, 247, 247, 0) 100%) !important;
  border: 2px solid transparent !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  z-index: 1 !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.frosted-button::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  padding: 1px !important;
  border-radius: 8px !important;
  background: linear-gradient(155.13deg,
      #efb762 -16.23%,
      rgba(255, 255, 255, 0.22) 31.64%,
      rgba(255, 255, 255, 0.0846512) 67.75%,
      #1e1e1e 145.01%) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  z-index: -1 !important;
  border: 1px solid transparent !important;
}

.login-btn {
  background-color: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  border-radius: 6px !important;
  padding: 0.55rem 1.3rem !important;
  font-size: 14px !important;
}

.login-btn:hover {
  background-color: var(--btn-hover) !important;
}

/* ========== SECTION STYLES ========== */
.text-center {
  text-align: center;
}

.get-started {
  background: linear-gradient(90deg, #306bff, #1d3fff) !important;
  color: white !important;
  font-weight: 600 !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 16px !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 2 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.2s ease-in-out !important;
  margin-top: 30px !important;
}

.get-started:hover {
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--color-bg) !important;
  padding: 3rem 0 !important;
}

.have-question {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.have-heading {
  font-family: var(--font-secondary) !important;
  color: #ffffff !important;
  text-align: left !important;
  font-size: 60px !important;
  line-height: 80px !important;
  font-weight: 500 !important;
  margin-bottom: 40px !important;
  max-width: 600px !important;
}

.bar {
  border: 1px solid #404040 !important;
  width: 100% !important;
  margin: 100px auto 50px !important;
}

.footer-bottom {
  display: flex !important;
  /* flex-wrap: wrap !important; */
  gap: 40px !important;
  justify-content: space-between !important;
  margin: 50px 0 !important;
  width: 100% !important;
}

.footer-logo-section {
  width: 100% !important;
  max-width: 400px !important;
}

.footer-section {
  flex: 1 1 160px !important;
  min-width: 160px !important;
}

.footer-logo {
  width: 161px !important;
  margin-bottom: 16px !important;
}

.footer-section h4 {
  font-size: 16px !important;
  margin-bottom: 12px !important;
  font-weight: 600 !important;
}

.footer-section ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  padding-top: 20px !important;
}

.footer-section ul li {
  font-family: var(--font-secondary) !important;
  margin-bottom: 8px !important;
}

.footer-section ul li a {
  font-family: var(--font-secondary) !important;
  font-size: 16px !important;
  transition: color 0.2s ease !important;
  color: #ffffff !important;
  font-weight: 400 !important;
  line-height: 27px !important;
}

.footer ul li a:hover {
  color: #ddd !important;
  text-decoration: underline !important;
}

.footer-bottom-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 50px;
}

.footer-bottom-heading span {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 13px;
  line-height: 22.5px;
  color: #ffffff60;
}

/* Responsive */
@media (max-width: 768px) {
  .have-question {
    flex-direction: column;
    align-items: flex-start;
  }

  .have-heading {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom-heading {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom-heading span {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .testimonial {
    min-height: 400px !important;
  }
}

.cursor-pointer {
  cursor: pointer !important;
}

.modal {
  display: none !important;
}

.modal.show {
  display: block !important;
}

.modal-dialog-centered {
  display: flex !important;
  align-items: center !important;
  min-height: calc(100% - 1rem) !important;
}

.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1040 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal-content {
  background-color: white !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.modal-header {
  border-bottom: 1px solid #dee2e6 !important;
  padding: 1rem !important;
}

.modal-body {
  padding: 1rem !important;
  color: black !important;
}

.modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1050 !important;
  width: 100% !important;
  height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  outline: 0 !important;
}

.modal-dialog {
  position: relative !important;
  width: auto !important;
  margin: 0.5rem !important;
  pointer-events: none !important;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px !important;
    margin: 1.75rem auto !important;
  }
}

.modal-footer {
  border-top: 1px solid #dee2e6 !important;
  padding: 1rem !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0.5rem !important;
}


.knowledge_section {
  padding: 0px 0px 100px;
}
.knowledge_section .knowledge_card {
  border: 0.88px solid #2222221a;
  box-shadow: 0px 0.88px 3.51px 0px #00000017;
  border-radius: 9px;
}
.knowledge_section .card-detail .card_heading {
  min-height: 130px;
}
.knowledge_section .custom_dark_btn {
  border: 0.88px solid #22222233;
}
.custom_dark_btn:hover {
  color: #ffffff !important;
}
@media (max-width: 768px) {
  .knowledge_section .card-detail .card_heading {
    min-height: unset;
  }
}

.knowledge_section .container{
  padding: 0px !important
}
.entry-header {
  margin-top: 30px;
}

.entry-title {
  margin-bottom: 20px;
}
.entry-meta {
  margin-bottom: 20px;
}
.post-thumbnail {
  margin-bottom: 20px;
}