/* AI Questions WPBakery Addon Styles */

* {
  box-sizing: border-box;
}



/* Container */
.ai-questions-container {
  max-width: 1425px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Section */
.ai-questions-header {
  position: relative;
  padding-top: 128px;
  padding-bottom: 24px;
  overflow: hidden;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

html.theme-dark .ai-questions-header {
  background-color: #0f172a;
}

.ai-questions-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #f8fafc 0%, rgba(239, 246, 255, 0.3) 50%, #f8fafc 100%);
  transition: background 0.3s ease;
}

html.theme-dark .ai-questions-header-bg {
  background: linear-gradient(to bottom right, #0f172a 0%, rgba(30, 58, 138, 0.1) 50%, #0f172a 100%);
}

.ai-questions-header-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.ai-questions-header-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

.ai-questions-header-orb-1 {
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background-color: rgba(96, 165, 250, 0.1);
}

.ai-questions-header-orb-2 {
  bottom: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background-color: rgba(103, 232, 249, 0.1);
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.ai-questions-title {
  font-size: 54px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 10;
  transition: color 0.3s ease;
}

html.theme-dark .ai-questions-title {
  color: #ffffff;
}

.ai-questions-description {
  font-size: 18px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.6;
  max-width: 1024px;
  position: relative;
  z-index: 10;
  transition: color 0.3s ease;
}

html.theme-dark .ai-questions-description {
  color: #94a3b8;
}

.ai-questions-description a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.3s ease;
}

html.theme-dark .ai-questions-description a {
  color: #60a5fa;
}

.ai-questions-description a:hover {
  color: #1e40af;
}

html.theme-dark .ai-questions-description a:hover {
  color: #93c5fd;
}



/* Tabs Navigation */
.ai-questions-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 48px;
  transition: border-color 0.3s ease;
}

html.theme-dark .ai-questions-tabs {
  border-bottom-color: #1e293b;
}

.ai-questions-tab {
  padding-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  position: relative;
  transition: color 0.3s ease;
  font-family: inherit;
}

html.theme-dark .ai-questions-tab {
  color: #94a3b8;
}

.ai-questions-tab:hover {
  color: #475569;
}

html.theme-dark .ai-questions-tab:hover {
  color: #e2e8f0;
}

.ai-questions-tab.active {
  color: #0f172a;
}

html.theme-dark .ai-questions-tab.active {
  color: #ffffff;
}

.ai-questions-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0f172a;
  transition: background-color 0.3s ease;
}

html.theme-dark .ai-questions-tab.active::after {
  background-color: #ffffff;
}

/* Tab Content */
.ai-questions-tab-content {
  position: relative;
}

.ai-questions-tab-panel {
  display: none;
}

.ai-questions-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-questions-section-title {
  font-size: 48px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 24px;
  line-height: 1.1;
  transition: color 0.3s ease;
}

html.theme-dark .ai-questions-section-title {
  color: #ffffff;
}

.ai-questions-team-list {
  border-top: 1px solid #e2e8f0;
  transition: border-color 0.3s ease;
}

html.theme-dark .ai-questions-team-list {
  border-top-color: #1e293b;
}

/* Team Row */
.ai-questions-team-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

html.theme-dark .ai-questions-team-row {
  border-bottom-color: #1e293b;
}

.ai-questions-team-row[data-profile] {
  cursor: pointer;
}

.ai-questions-team-row:hover {
  background-color: #f8fafc;
}

html.theme-dark .ai-questions-team-row:hover {
  background-color: rgba(30, 41, 59, 0.5);
}

.ai-questions-team-index {
  font-size: 12px;
  font-family: 'Courier New', monospace;
  color: #62748e;
  font-weight: 600;
  width: 64px;
  transition: color 0.3s ease;
}

html.theme-dark .ai-questions-team-index {
  color: #475569;
}

.ai-questions-team-row:hover .ai-questions-team-index {
  color: #64748b;
}

html.theme-dark .ai-questions-team-row:hover .ai-questions-team-index {
  color: #94a3b8;
}

.ai-questions-team-name {
  font-size: 20px;
  font-weight: 500;
  color: #0f172a;
  flex: 1;
  transition: color 0.3s ease;
  margin-bottom: 0px!important;
}

html.theme-dark .ai-questions-team-name {
  color: #ffffff;
}

.ai-questions-team-row:hover .ai-questions-team-name {
  color: #1e40af;
}

html.theme-dark .ai-questions-team-row:hover .ai-questions-team-name {
  color: #60a5fa;
}

.ai-questions-team-title {
  font-size: 14px;
  color: #64748b;
  text-align: right;
  width: 33.333%;
  transition: color 0.3s ease;
}

html.theme-dark .ai-questions-team-title {
  color: #94a3b8;
}

.ai-questions-team-row:hover .ai-questions-team-title {
  color: #475569;
}

html.theme-dark .ai-questions-team-row:hover .ai-questions-team-title {
  color: #cbd5e1;
}


/* Floating Image on Hover */
.ai-questions-team-image-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.3) rotate(0deg);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none;
}

@media (min-width: 1024px) {
  .ai-questions-team-image-hover {
    display: block;
  }
}

.ai-questions-team-row:hover .ai-questions-team-image-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.7) rotate(6deg);
}

.ai-questions-team-image-hover img,
.ai-questions-team-image-hover .ai-questions-team-initials {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  padding: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #ffffff;
  transform: rotate(3deg);
}

html.theme-dark .ai-questions-team-image-hover img,
html.theme-dark .ai-questions-team-image-hover .ai-questions-team-initials {
  background-color: #1e293b;
  border-color: #475569;
}

.ai-questions-team-image-hover img {
  width: 180px !important;
  height: 180px !important;
  object-fit: cover;
}

.ai-questions-team-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: #94a3b8;
}

html.theme-dark .ai-questions-team-initials {
  color: #cbd5e1;
}

/* Modal Styles */
.ai-questions-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ai-questions-modal.active {
  display: flex;
}

.ai-questions-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ai-questions-modal-content {
  position: relative;
  width: 100%;
  max-width: 896px;
  max-height: calc(100vh - 32px);
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

html.theme-dark .ai-questions-modal-content {
  background-color: #0f172a;
  border-color: #1e293b;
}

.ai-questions-modal.active .ai-questions-modal-content {
  transform: scale(1);
  opacity: 1;
}

.ai-questions-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px;
  color: #94a3b8;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: color 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.theme-dark .ai-questions-modal-close {
  color: #94a3b8;
  background-color: rgba(0, 0, 0, 0.2);
}

.ai-questions-modal-close:hover {
  color: #475569;
}

html.theme-dark .ai-questions-modal-close:hover {
  color: #e2e8f0;
}

.ai-questions-modal-close i {
  width: 24px;
  height: 24px;
}

.ai-questions-modal-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
  flex: 1;
  min-height: 0;
}

@media (min-width: 768px) {
  .ai-questions-modal-body {
    flex-direction: row;
  }
}

/* Modal Sidebar */
.ai-questions-modal-sidebar {
  width: 100%;
  background-color: #f1f5f9;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .ai-questions-modal-sidebar {
    width: 35%;
    border-bottom: none;
    border-right: 1px solid #e2e8f0;
  }
}

html.theme-dark .ai-questions-modal-sidebar {
  background-color: #1e293b;
  border-color: #334155;
}

.ai-questions-modal-sidebar::before,
.ai-questions-modal-sidebar::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ai-questions-modal-sidebar::before {
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translate(33%, -50%);
}

.ai-questions-modal-sidebar::after {
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background-color: rgba(59, 130, 246, 0.2);
  transform: translate(-25%, 33%);
}

.ai-questions-modal-image {
  position: relative;
  z-index: 10;
  width: 192px;
  height: 192px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.ai-questions-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Content */
.ai-questions-modal-main {
  width: 100%;
  padding: 40px;
  background-color: #ffffff;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .ai-questions-modal-main {
    width: 65%;
    padding: 48px;
  }
}

html.theme-dark .ai-questions-modal-main {
  background-color: #0f172a;
}

.ai-questions-modal-label {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

html.theme-dark .ai-questions-modal-label {
  color: #60a5fa;
}

.ai-questions-modal-name {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 8px;
}

html.theme-dark .ai-questions-modal-name {
  color: #ffffff;
}

.ai-questions-modal-job-title {
  font-size: 18px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 40px;
  margin-bottom: 0px;
}

html.theme-dark .ai-questions-modal-job-title {
  color: #94a3b8;
}

.ai-questions-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap:25px;
}

@media (min-width: 768px) {
  .ai-questions-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ai-questions-modal-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-questions-modal-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

html.theme-dark .ai-questions-modal-field-label {
  color: #94a3b8;
}

.ai-questions-modal-field-label i,
.ai-questions-modal-field-label svg,
.ai-questions-modal-field-label i svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  color: #94a3b8;
  stroke-width: 2;
}

html.theme-dark .ai-questions-modal-field-label i,
html.theme-dark .ai-questions-modal-field-label svg,
html.theme-dark .ai-questions-modal-field-label i svg {
  color: #64748b;
}

.ai-questions-modal-field-value {
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
}

html.theme-dark .ai-questions-modal-field-value {
  color: #ffffff;
}

.ai-questions-modal-field-value a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

html.theme-dark .ai-questions-modal-field-value a {
  color: #60a5fa;
}

.ai-questions-modal-field-value a:hover {
  color: #1e40af;
}

html.theme-dark .ai-questions-modal-field-value a:hover {
  color: #93c5fd;
}

/* Responsive */
@media (max-width: 767px) {
  .ai-questions-title {
    font-size: 28px;
  }

  .ai-questions-description {
    font-size: 15px;
  }

  .ai-questions-section-title {
    font-size: 32px;
  }

  .ai-questions-modal-content {
    max-height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .ai-questions-modal-sidebar {
    padding: 32px 24px;
  }

  .ai-questions-modal-main {
    padding: 32px 24px;
  }
}
@media (max-width: 999px) {
  .ai-questions-team-row {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 50%;
}
.ai-questions-team-title {
  text-align: left;
  width: 100%;
}
.ai-questions-team-image-hover {
  position: relative;
  left: 0;
  top:0;
  transform: none;
  z-index: 10;
  opacity: 1;
  display: block;
  pointer-events: auto;
}
.ai-questions-team-image-hover img, .ai-questions-team-image-hover .ai-questions-team-initials {
  width: 120px!important;
  height: 120px!important;
  transform: rotate(0deg);
}
.ai-questions-team-index{
  order: 2;
}
.ai-questions-team-name{
  order: 3;
}
.ai-questions-team-title{
  order: 4;
}
.ai-questions-team-row{
  padding:15px
}
.ai-questions-tabs {
  gap: 10px;
  margin-bottom: 30px;
}
.ai-questions-team-list{
  display: flex;
  flex-wrap: wrap;
}
.ai-questions-modal-sidebar {
  padding: 10px;
}
.ai-questions-modal-image {
  width: 100px;
  height: 100px;
  margin: 0px;
}
.ai-questions-modal-name{
  font-size: 22px;
}
.ai-questions-team-row:hover .ai-questions-team-image-hover {
  transform: none;
}
}
@media (max-width: 479px) {
  .ai-questions-team-row {
    width: 100%;
  }
}