/*--------------------------------------------------------------
# About Us Page Redesign CSS
# TM Studio Premium Profile & Skills Styling
--------------------------------------------------------------*/

/* About Section Background */
.about-section-wrapper {
  background-color: var(--background-color);
  background-image: 
    radial-gradient(circle at 10% 30%, rgba(19, 135, 193, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(168, 85, 247, 0.04) 0%, transparent 45%);
  padding: 80px 0;
}

/* Eyebrow & Headline */
.intro-content .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 12px;
  background: rgba(19, 135, 193, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
}

.intro-content .headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 25px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.intro-content p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 20px;
}

.intro-content p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.intro-content strong {
  color: var(--heading-color);
  font-weight: 600;
}

.intro-content .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(19, 135, 193, 0.3);
  padding: 12px 24px;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.intro-content .btn-ghost:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(19, 135, 193, 0.3);
}

.intro-content .btn-ghost i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.intro-content .btn-ghost:hover i {
  transform: translate(3px, -3px);
}

/* Portrait Glass Frame */
.profile-figure {
  position: relative;
  display: inline-block;
}

.profile-photo {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  max-width: 100%;
}

.profile-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent-color), #00f2fe) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.profile-figure:hover .profile-photo {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 25px 50px rgba(19, 135, 193, 0.25);
}

.profile-figure:hover::after {
  opacity: 1;
}

/* Duo profiles layout styles */
.duo-profiles {
  margin-top: 50px;
}

.profile-card {
  background: rgba(20, 31, 38, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 35px;
  height: 100%;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.profile-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 30px rgba(19, 135, 193, 0.18);
}

.profile-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.profile-card .role {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.profile-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

/* Technical Skill Box Override */
.skill-box {
  background: rgba(20, 31, 38, 0.6) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  padding: 35px 30px !important;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.skill-box:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color) !important;
  box-shadow: 0 15px 35px rgba(19, 135, 193, 0.2);
}

.skill-box h3 {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--heading-color) !important;
  margin-bottom: 10px !important;
}

.skill-box p {
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: color-mix(in srgb, var(--default-color), transparent 35%) !important;
  margin-bottom: 25px !important;
  height: 44px !important;
  overflow: hidden;
}

.skill-box span.d-block {
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.skill-box .progress {
  height: 6px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  overflow: visible !important;
}

.skill-box .progress-bar {
  background: linear-gradient(90deg, var(--accent-color), #00f2fe) !important;
  border-radius: 10px !important;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* Quote container */
.personal-quote {
  background: rgba(20, 31, 38, 0.3);
  border-left: 4px solid var(--accent-color);
  padding: 30px;
  border-radius: 0 16px 16px 0;
  max-width: 800px;
  margin: 50px auto !important;
}

.personal-quote p {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  color: var(--heading-color);
  margin-bottom: 0;
}

/* Facts Pills Grid Override */
.fact-pill {
  background: rgba(20, 31, 38, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 50px !important;
  padding: 22px 25px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.fact-pill:hover {
  background: rgba(20, 31, 38, 0.85) !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 10px 25px rgba(19, 135, 193, 0.22) !important;
  transform: translateY(-4px);
}

.fact-pill i {
  font-size: 1.7rem !important;
  color: var(--accent-color) !important;
  margin-bottom: 8px;
}

.fact-pill span {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--heading-color) !important;
}
