/* ==========================================================================
   Pelle Info Systems Pvt Ltd - Components Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1A75FF 0%, #33DCFF 100%);
  box-shadow: 0 6px 26px rgba(0, 102, 255, 0.6);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-white);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: var(--accent-cyan);
  color: #FFFFFF;
}

.btn-emerald {
  background: var(--grad-emerald);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 229, 163, 0.3);
}

.btn-emerald:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  color: #030712;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   KPI Stat Cards
   -------------------------------------------------------------------------- */
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.kpi-card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-val {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.kpi-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Interactive Solutions Tabs Component
   -------------------------------------------------------------------------- */
.solutions-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-secondary);
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.sol-tab-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.sol-tab-btn .tab-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.sol-tab-btn .tab-icon svg {
  width: 20px;
  height: 20px;
}

.sol-tab-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
}

.sol-tab-btn.active {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.4);
  color: #FFFFFF;
}

.sol-tab-btn.active .tab-icon {
  background: var(--accent-blue);
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.5);
}

.solution-display-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.solution-display-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.sol-panel {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.sol-panel.active {
  display: block;
}

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

.sol-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.sol-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(16, 30, 56, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}

.sol-feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.sol-feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.sol-feature-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Industries Cards
   -------------------------------------------------------------------------- */
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.industry-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.industry-icon svg {
  width: 26px;
  height: 26px;
}

/* --------------------------------------------------------------------------
   Architecture Pipeline Visualizer
   -------------------------------------------------------------------------- */
.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-top: 3rem;
  gap: 1rem;
}

.pipeline-step {
  flex: 1;
  background: rgba(6, 13, 30, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.pipeline-step:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.pipeline-arrow {
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse-arrow 2s infinite ease-in-out;
}

@keyframes pulse-arrow {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* --------------------------------------------------------------------------
   Careers Hub (100% India-Only)
   -------------------------------------------------------------------------- */
.india-only-notice {
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 229, 163, 0.15) 100%);
  border: 1px solid rgba(0, 229, 163, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}

.india-notice-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.india-flag-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 163, 0.2);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.9rem;
}

.india-notice-text h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.india-notice-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.filter-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

/* Job Cards */
.job-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.job-card:hover {
  border-color: rgba(0, 102, 255, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.job-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-dept-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-accent);
  background: rgba(0, 102, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.job-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(0, 229, 163, 0.1);
  border: 1px solid rgba(0, 229, 163, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.job-loc-badge svg {
  width: 13px;
  height: 13px;
}

.job-title {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.job-brief {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.job-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  gap: 0.75rem;
}

.job-salary-exp {
  display: flex;
  flex-direction: column;
}

.job-exp {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.job-salary {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   About & Warangal Tech Hub Showcase
   -------------------------------------------------------------------------- */
.about-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
}

.about-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-overlay-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(6, 13, 30, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.cert-badges-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
}

.cert-badge svg {
  width: 22px;
  height: 22px;
  color: var(--accent-cyan);
}

.cert-badge-text strong {
  display: block;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.cert-badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Digital-First Contact Section (STRICTLY NO PHONE NUMBER)
   -------------------------------------------------------------------------- */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #FFFFFF;
}

.contact-card-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #FFFFFF;
}

.digital-first-banner {
  background: rgba(16, 30, 56, 0.7);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.15rem 1.35rem;
  margin-top: 1rem;
}

.digital-first-banner h5 {
  font-size: 0.92rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.digital-first-banner p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.45;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(6, 13, 30, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
  background: rgba(6, 13, 30, 0.95);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-secondary);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Accessible Native Dialog Modals
   -------------------------------------------------------------------------- */
dialog.custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  color: var(--text-primary);
  width: 90%;
  max-width: 680px;
  max-height: 88vh;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 102, 255, 0.2);
  z-index: var(--z-modal);
  opacity: 0;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

dialog.custom-modal[open] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

dialog.custom-modal::backdrop {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-header {
  padding: 1.75rem 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 30, 56, 0.5);
}

.modal-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.modal-body {
  padding: 2.25rem;
  overflow-y: auto;
  max-height: calc(88vh - 150px);
}

.modal-footer {
  padding: 1.25rem 2.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: rgba(16, 30, 56, 0.3);
}

/* File Upload Simulation */
.file-dropzone {
  border: 2px dashed rgba(0, 102, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  background: rgba(6, 13, 30, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-dropzone:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.05);
}

.dropzone-icon {
  width: 38px;
  height: 38px;
  color: var(--accent-cyan);
  margin: 0 auto 0.75rem auto;
}

/* --------------------------------------------------------------------------
   Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  padding: 1.15rem 1.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  animation: slideInRight 0.3s ease-out;
  color: #FFFFFF;
}

.toast.success {
  border-left: 4px solid var(--accent-emerald);
}

.toast.info {
  border-left: 4px solid var(--accent-cyan);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast.success .toast-icon {
  color: var(--accent-emerald);
}

.toast.info .toast-icon {
  color: var(--accent-cyan);
}

.toast-content h5 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: #FFFFFF;
}

.toast-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.4;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
