/*
Theme Name: Pishonhead
Theme URI: https://www.pishonhead.com/
Author: tefolab.com
Author URI: https://tefolab.com/
Description: Institutional Digital Asset Infrastructure theme for Pishonhead.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: pishonhead
*/

/* Core Theme Styles and Page Extensions */
:root {
  --ph-primary: #1F4591;
  --ph-dark: #0D1B2A;
  --ph-accent: #3B82F6;
  --ph-accent-light: #60A5FA;
  --ph-gold: #D4A742;
  --ph-white: #FFFFFF;
  --ph-gray-50: #F8FAFC;
  --ph-gray-100: #F1F5F9;
  --ph-gray-200: #E2E8F0;
  --ph-gray-600: #475569;
  --ph-gray-800: #1E293B;
  --ph-gray-900: #0F172A;
}

/* Page Hero Defaults for Subpages */
.page-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a365d 60%, #1e4a91 100%);
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(31, 69, 145, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero .section-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-hero h1 span {
  background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 680px;
}

/* Service Sections Styling */
.product-section {
  padding: 90px 0;
}

.product-section:nth-child(odd) {
  background: #ffffff;
}

.product-section:nth-child(even) {
  background: #f8fafc;
}

.product-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.product-wrapper.reverse {
  direction: rtl;
}

.product-wrapper.reverse > * {
  direction: ltr;
}

.product-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #1a5eb5;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.product-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.2;
}

.product-content p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.product-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a5eb5;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.product-feature-text strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.product-feature-text span {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a5eb5;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.product-cta:hover {
  background: #1250a0;
  transform: translateY(-2px);
}

.visual-card {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a365d 100%);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 50px rgba(13, 27, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

.visual-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
}

.visual-card-icon.blue { background: linear-gradient(135deg, #1a5eb5, #3b82f6); }
.visual-card-icon.green { background: linear-gradient(135deg, #059669, #10b981); }
.visual-card-icon.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.visual-card-icon.amber { background: linear-gradient(135deg, #d97706, #f59e0b); }

.visual-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
}

.visual-card-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.visual-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.visual-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.visual-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.visual-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.visual-list-item i {
  color: #4ade80;
  font-size: 0.95rem;
}

/* Contact Page Styles */
.contact-page-section {
  padding: 80px 0;
  background: #f8fafc;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: start;
}

.contact-sidebar {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.contact-sidebar h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 12px;
}

.contact-sidebar p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a5eb5;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-channel-info strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-channel-info span,
.contact-channel-info a {
  color: #475569;
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-channel-info a:hover {
  color: #1a5eb5;
}

.contact-form-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.contact-form-container h3 {
  font-size: 1.6rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.contact-form-container > p {
  color: #64748b;
  margin-bottom: 28px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field-full {
  grid-column: span 2;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: #1a5eb5;
  box-shadow: 0 0 0 3px rgba(26, 94, 181, 0.12);
}

.contact-submit-btn {
  background: #1a5eb5;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.15s ease;
  width: 100%;
}

.contact-submit-btn:hover {
  background: #1250a0;
  transform: translateY(-1px);
}

/* About Us Specific Styles */
.about-stats-strip {
  background: #0d1b2a;
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.about-stat-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.about-stat-item h3 span {
  color: #d4a742;
}

.about-stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.about-content-section {
  padding: 90px 0;
  background: #ffffff;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-tag {
  color: #d4a742;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-tag-bar {
  width: 24px;
  height: 3px;
  background: #d4a742;
  border-radius: 3px;
}

.about-split h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: #0d1b2a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-split p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-highlight-box {
  background: #f8fafc;
  border-left: 4px solid #1a5eb5;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin-top: 24px;
}

.about-highlight-box p {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0;
}

.about-client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-client-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.about-client-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1a5eb5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.about-client-card h4 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.about-client-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Institutional Portal Login Styles */
.login-portal-wrapper {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a365d 60%, #1e4a91 100%);
  position: relative;
}

.login-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #1a5eb5;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.login-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.login-card > p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.login-input-group {
  margin-bottom: 20px;
}

.login-input-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.login-input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color 0.2s ease;
}

.login-input-group input:focus {
  outline: none;
  border-color: #1a5eb5;
  box-shadow: 0 0 0 3px rgba(26, 94, 181, 0.12);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 0.88rem;
}

.login-options label {
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-options a {
  color: #1a5eb5;
  text-decoration: none;
  font-weight: 600;
}

.login-options a:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  background: #1a5eb5;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.login-btn:hover {
  background: #1250a0;
}

.login-security-notice {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #64748b;
}

.login-security-notice i {
  color: #10b981;
  font-size: 1rem;
}

.login-footer-link {
  margin-top: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

.login-footer-link a {
  color: #1a5eb5;
  font-weight: 600;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .product-wrapper,
  .contact-layout,
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-client-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-field-full {
    grid-column: span 1;
  }
  
  .login-card {
    padding: 32px 24px;
  }
}

/* Hide Elementor Theme Builder footer override so theme footer displays cleanly */
.elementor-location-footer {
  display: none !important;
}

/* Infrastructure Cards Mobile Centering & Margin Alignment */
@media (max-width: 768px) {
  .services {
    overflow: hidden !important;
    padding: 60px 0 !important;
    width: 100% !important;
  }
  .services .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }
  .services-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 20px !important;
    box-sizing: border-box !important;
  }
  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border-radius: 28px !important;
    padding: 28px 24px !important;
  }
  .service-card h3 {
    word-break: break-word;
  }
  .section-number {
    display: none !important;
  }
}

/* Footer Desktop 3-Column Links Layout */
@media (min-width: 769px) {
  .footer-top {
    display: grid !important;
    grid-template-columns: 1.25fr 2.75fr !important;
    gap: 48px !important;
    align-items: start !important;
  }
  .footer-links-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 36px !important;
    width: 100% !important;
  }
}

/* Footer Mobile Centering */
@media (max-width: 768px) {
  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 36px !important;
  }
  .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .footer-brand .logo {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: auto !important;
  }
  .footer-brand .logo img {
    margin: 0 auto !important;
    display: block !important;
  }
  .footer-brand p {
    text-align: center !important;
    max-width: 440px !important;
    margin: 20px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  .footer-social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .footer-links-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 28px !important;
  }
  .footer-section {
    text-align: center !important;
    width: 100% !important;
  }
  .footer-section h4 {
    text-align: center !important;
    margin-bottom: 14px !important;
  }
  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .footer-links li {
    text-align: center !important;
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .footer-bottom p {
    text-align: center !important;
  }
}



