/* ==========================================================================
   FOUNDER PROFILE - MD. BILLAL HOSSAIN
   Dedicated Stylesheet
   ========================================================================== */

.founder-hero-section {
  padding: 80px 0 100px 0;
  position: relative;
  z-index: 1;
}

.founder-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

/* Portrait Card 3D */
.founder-hero-media {
  perspective: 1200px;
}

.portrait-card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.portrait-img-box {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid rgba(255, 96, 0, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 96, 0, 0.25);
  background: var(--bg-card);
}

.portrait-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.portrait-card-3d:hover .portrait-photo {
  transform: scale(1.03);
}

.portrait-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 12, 0.1) 0%, rgba(9, 9, 12, 0.75) 100%);
  pointer-events: none;
}

/* Floating Badges on Founder Card */
.badge-founder-exp {
  top: 30px;
  left: -20px;
  border-left: 3px solid var(--primary-orange);
  animation: float-founder-1 4s ease-in-out infinite;
}

.badge-founder-tech {
  bottom: 35px;
  right: -20px;
  border-left: 3px solid #ffa033;
  animation: float-founder-2 4.5s ease-in-out infinite 1s;
}

@keyframes float-founder-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-founder-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Founder Hero Typography */
.founder-hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.founder-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-silver);
  margin-bottom: 24px;
  line-height: 1.4;
}

.founder-lead-text {
  font-size: 1.08rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 30px;
}

.founder-quick-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 22px 24px;
}

.quick-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.quick-highlight-item i {
  margin-top: 4px;
  font-size: 1rem;
}

.founder-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-return-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  margin-left: 10px;
  transition: all var(--transition-fast);
}

.btn-return-link:hover {
  color: var(--primary-orange);
  transform: translateX(-4px);
}

/* ==========================================================================
   Founder Skills Grid
   ========================================================================== */
.founder-skills-section {
  padding: 90px 0;
  background: #0b0b0e;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.skill-card-3d {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.skill-card-3d:hover {
  transform: translateY(-6px);
  border-color: var(--border-orange);
  box-shadow: 0 15px 35px rgba(255, 96, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.7);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.skill-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 96, 0, 0.12);
  border: 1px solid rgba(255, 96, 0, 0.35);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.skill-percent {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-orange);
}

.skill-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.skill-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #d1d5db;
  font-weight: 600;
}

/* ==========================================================================
   Founder Story Section
   ========================================================================== */
.founder-story-section {
  padding: 100px 0;
  background: var(--bg-main);
}

.story-card-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.story-heading {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.story-content p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.owner-quote-box {
  margin-top: 30px;
  padding: 24px;
  background: rgba(255, 96, 0, 0.08);
  border-left: 4px solid var(--primary-orange);
  border-radius: 0 16px 16px 0;
  position: relative;
}

.quote-icon {
  color: var(--primary-orange);
  font-size: 1.4rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 8px !important;
}

.quote-by {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.story-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 26px;
  transition: all var(--transition-medium);
}

.story-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-orange);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.stat-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Founder Contact Card
   ========================================================================== */
.founder-contact-section {
  padding: 90px 0;
  background: #0a0a0e;
  border-top: 1px solid var(--border-subtle);
}

.founder-cta-card {
  max-width: 800px;
  margin: 0 auto;
}

.founder-cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.founder-cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.founder-direct-contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.contact-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.contact-pill-btn:hover {
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

.contact-pill-btn.whatsapp-highlight {
  background: #25d366;
  color: #000;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.contact-pill-btn.whatsapp-highlight:hover {
  background: #22bf5b;
  color: #000;
}

.return-home-box {
  margin-top: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .founder-hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .portrait-card-3d {
    max-width: 420px;
    margin: 0 auto;
  }
  .founder-hero-media {
    order: -1;
  }
  .founder-cta-group {
    justify-content: center;
  }
  .quick-highlight-item {
    text-align: left;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .founder-hero-title {
    font-size: 2.6rem;
  }
  .founder-hero-subtitle {
    font-size: 1.1rem;
  }
  .badge-founder-exp,
  .badge-founder-tech {
    position: static;
    margin: 10px auto;
  }
  .story-card-wrapper {
    padding: 30px 20px;
  }
  .founder-cta-title {
    font-size: 2.1rem;
  }
  .founder-direct-contacts {
    flex-direction: column;
    width: 100%;
  }
  .contact-pill-btn {
    width: 100%;
    justify-content: center;
  }
}
