/* =========================================================
   RAJPATI & ASSOCIATES - ATTORNEY PROFILE PAGE CSS
   Theme: Dark Navy + Gold + White Premium Legal UI
   Requires: assets/css/style.css
   ========================================================= */


/* BREADCRUMB */
.profile-breadcrumb {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(209, 169, 61, 0.18), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(209, 169, 61, 0.07), transparent 28%),
    linear-gradient(120deg, #050914 0%, #080d1d 48%, #0b1024 100%);
  isolation: isolate;
}

.profile-breadcrumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 20, 0.98),
      rgba(8, 13, 29, 0.90),
      rgba(10, 15, 34, 0.94)
    );
  z-index: -5;
}

.profile-breadcrumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 9, 20, 0.10) 0%,
      rgba(5, 9, 20, 0.36) 58%,
      rgba(5, 9, 20, 0.92) 100%
    );
  z-index: -4;
}

.profile-breadcrumb-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.48;
  animation: profileGridMove 18s linear infinite;
  z-index: -3;
}

@keyframes profileGridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 70px 70px;
  }
}

.profile-breadcrumb-shine {
  position: absolute;
  width: 760px;
  height: 760px;
  left: 68%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(209, 169, 61, 0.16), transparent 62%);
  filter: blur(2px);
  pointer-events: none;
  z-index: -2;
  animation: profileShinePulse 5s ease-in-out infinite;
}

@keyframes profileShinePulse {
  0%, 100% {
    opacity: .55;
    transform: translate(-50%, -50%) scale(.94);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.profile-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .75;
}

.profile-orb-one {
  width: 250px;
  height: 250px;
  right: 8%;
  top: 18%;
  border: 1px solid rgba(209, 169, 61, 0.22);
  animation: profileOrbFloat 7s ease-in-out infinite;
}

.profile-orb-two {
  width: 160px;
  height: 160px;
  left: 8%;
  bottom: 12%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: profileOrbRotate 15s linear infinite;
}

@keyframes profileOrbFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-22px) scale(1.04);
  }
}

@keyframes profileOrbRotate {
  to {
    transform: rotate(360deg);
  }
}

.profile-breadcrumb-card {
  position: relative;
  z-index: 4;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 44px 44px 34px;
  border-radius: 42px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(209, 169, 61, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.profile-breadcrumb-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 32px;
  border: 1px solid rgba(209, 169, 61, 0.18);
  pointer-events: none;
}

.profile-breadcrumb-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  background: rgba(209, 169, 61, 0.12);
  pointer-events: none;
}

.profile-breadcrumb-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  margin-bottom: 20px;
}

.profile-breadcrumb h1 {
  position: relative;
  z-index: 2;
  font-family: "Marcellus", serif;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -.045em;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.profile-breadcrumb h1 span {
  color: var(--gold-2);
  text-shadow: 0 0 28px rgba(209, 169, 61, 0.28);
}

.profile-breadcrumb p {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.82;
  margin: 0 auto 24px;
}

.profile-crumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.profile-crumb a {
  color: var(--gold-2);
}

.profile-breadcrumb-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.profile-breadcrumb-stats div {
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: var(--transition);
}

.profile-breadcrumb-stats div:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.profile-breadcrumb-stats strong {
  display: block;
  color: var(--gold-2);
  font-family: "Marcellus", serif;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}

.profile-breadcrumb-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
}


/* PROFILE MAIN */
.profile-main-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(209,169,61,.12), transparent 32%),
    linear-gradient(180deg, #f8f9ff, #ffffff);
}

.profile-main-grid {
  display: grid;
  grid-template-columns: minmax(330px, 500px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.profile-photo-card,
.profile-content-card,
.profile-approach-content,
.profile-form-card,
.profile-consult-content {
  position: relative;
  padding: 36px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(209,169,61,.13), transparent 34%),
    rgba(255,255,255,.94);
  border: 1px solid rgba(7,19,63,.09);
  box-shadow: 0 22px 70px rgba(7,19,63,.08);
  overflow: hidden;
}

.profile-photo-card::before,
.profile-content-card::before,
.profile-approach-content::before,
.profile-form-card::before,
.profile-consult-content::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(209,169,61,.12);
  pointer-events: none;
}

.profile-photo-card > *,
.profile-content-card > *,
.profile-approach-content > *,
.profile-form-card > *,
.profile-consult-content > * {
  position: relative;
  z-index: 2;
}

.profile-photo {
  height: 430px;
  border-radius: 30px;
  overflow: hidden;
  background: #050914;
  position: relative;
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(5,9,20,.62)),
    radial-gradient(circle at 80% 20%, rgba(209,169,61,.20), transparent 34%);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition);
}

.profile-photo-card:hover .profile-photo img {
  transform: scale(1.055);
}

.profile-card-body {
  padding-top: 24px;
}

.profile-card-body h2 {
  font-family: "Marcellus", serif;
  color: var(--court-black);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 7px;
}

.profile-card-body > p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.profile-mini-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.profile-mini-meta span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4f5879;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.profile-mini-meta i {
  color: var(--gold);
}

.profile-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profile-card-actions a {
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  transition: var(--transition);
}

.profile-card-actions a:first-child {
  background: var(--court-black);
  color: var(--gold-2);
}

.profile-card-actions a:last-child {
  background: rgba(209,169,61,.14);
  color: var(--court-black);
}

.profile-card-actions a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(7,19,63,.14);
}

.profile-content-card .section-text + .section-text {
  margin-top: 14px;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.profile-info-grid div {
  padding: 18px;
  border-radius: 22px;
  background: #f8f9ff;
  border: 1px solid rgba(7,19,63,.08);
  transition: var(--transition);
}

.profile-info-grid div:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(7,19,63,.08);
}

.profile-info-grid i {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(209,169,61,.14);
  color: var(--gold);
  margin-bottom: 12px;
}

.profile-info-grid strong {
  display: block;
  color: var(--court-black);
  font-size: 13px;
  margin-bottom: 4px;
}

.profile-info-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* PRACTICE AREAS */
.profile-practice-section,
.related-profile-section {
  background:
    radial-gradient(circle at 9% 10%, rgba(209,169,61,.12), transparent 30%),
    #f8f9ff;
}

.profile-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.profile-practice-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(209,169,61,.12), transparent 34%),
    rgba(255,255,255,.94);
  border: 1px solid rgba(7,19,63,.08);
  box-shadow: 0 16px 45px rgba(7,19,63,.05);
  transition: var(--transition);
  overflow: hidden;
  isolation: isolate;
}

.profile-practice-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(209,169,61,.14);
  transition: var(--transition);
  z-index: -1;
}

.profile-practice-card:hover {
  transform: translateY(-10px);
  background: #ffffff;
  box-shadow: var(--shadow);
  border-color: rgba(209,169,61,.32);
}

.profile-practice-card:hover::after {
  transform: scale(1.55);
}

.profile-practice-card i {
  width: 60px;
  height: 60px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  background: var(--court-black);
  color: var(--gold-2);
  font-size: 25px;
  margin-bottom: 22px;
}

.profile-practice-card h3 {
  font-family: "Marcellus", serif;
  color: var(--court-black);
  font-size: 25px;
  line-height: 1.14;
  margin-bottom: 10px;
}

.profile-practice-card p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
  font-weight: 700;
}


/* APPROACH */
.profile-approach-section {
  background: #ffffff;
}

.profile-approach-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.profile-approach-list {
  display: grid;
  gap: 14px;
}

.profile-approach-list div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(209,169,61,.11), transparent 34%),
    #f8f9ff;
  border: 1px solid rgba(7,19,63,.08);
  transition: var(--transition);
}

.profile-approach-list div:hover {
  transform: translateX(8px);
  background: #ffffff;
  box-shadow: var(--shadow);
  border-color: rgba(209,169,61,.32);
}

.profile-approach-list i {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--court-black);
  color: var(--gold-2);
  font-size: 24px;
}

.profile-approach-list strong {
  display: block;
  color: var(--court-black);
  margin-bottom: 5px;
}

.profile-approach-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
}


/* CONSULT FORM */
.profile-consult-section {
  background:
    radial-gradient(circle at 9% 10%, rgba(209,169,61,.12), transparent 30%),
    #f8f9ff;
}

.profile-consult-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.profile-consult-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.profile-consult-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--court-black);
  font-size: 13px;
  font-weight: 900;
}

.profile-consult-points i {
  color: var(--gold);
}

.profile-form-card h3 {
  font-family: "Marcellus", serif;
  color: var(--court-black);
  font-size: 34px;
  margin-bottom: 22px;
}

.profile-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: var(--court-black);
  font-size: 12px;
  font-weight: 900;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(7,19,63,.1);
  outline: 0;
  border-radius: 18px;
  background: #f8f9ff;
  padding: 14px 15px;
  color: var(--court-black);
  font-size: 13px;
  font-weight: 800;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: rgba(209,169,61,.46);
  box-shadow: 0 0 0 5px rgba(209,169,61,.12);
}

.file-upload {
  min-height: 48px;
  border-radius: 18px;
  background: #f8f9ff;
  border: 1px dashed rgba(209,169,61,.55);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.file-upload i {
  color: var(--gold);
  font-size: 20px;
}

.file-upload span {
  font-size: 12px;
  font-weight: 900;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 800;
}

.consent-check input {
  margin-top: 4px;
  accent-color: var(--gold);
}

.submit-btn {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #07133f;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(209,169,61,.26);
}


/* RELATED PROFILES */
.related-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-profile-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(209,169,61,.12), transparent 34%),
    rgba(255,255,255,.94);
  border: 1px solid rgba(7,19,63,.08);
  box-shadow: 0 16px 45px rgba(7,19,63,.05);
  transition: var(--transition);
}

.related-profile-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  box-shadow: var(--shadow);
  border-color: rgba(209,169,61,.32);
}

.related-profile-card img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
}

.related-profile-card h3 {
  font-family: "Marcellus", serif;
  color: var(--court-black);
  font-size: 24px;
  margin-bottom: 5px;
}

.related-profile-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}


/* FINAL CTA */
.profile-final-cta-section {
  background: #ffffff;
}

.profile-final-cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 54px;
  border-radius: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(209, 169, 61, 0.20), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(29, 50, 125, 0.20), transparent 32%),
    linear-gradient(135deg, #050914, #080d1d 55%, #0b1024);
  box-shadow: var(--shadow);
}

.profile-final-cta-box::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -220px;
  border-radius: 50%;
  border: 1px solid rgba(209, 169, 61, 0.20);
  animation: profileCtaRotate 16s linear infinite;
}

@keyframes profileCtaRotate {
  to {
    transform: rotate(360deg);
  }
}

.profile-final-cta-box > div {
  position: relative;
  z-index: 2;
}

.profile-final-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: var(--gold-2);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.profile-final-cta-box h2 {
  max-width: 790px;
  font-family: "Marcellus", serif;
  font-size: 32px !important;
  line-height: 1.06;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.profile-final-cta-box p {
  max-width: 760px;
  color: rgba(255,255,255,.72);
  line-height: 1.78;
}

.profile-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}


/* RESPONSIVE */
@media (max-width: 1120px) {
  .profile-main-grid,
  .profile-approach-grid,
  .profile-consult-grid,
  .profile-final-cta-box {
    grid-template-columns: 1fr;
  }

  .profile-photo-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .profile-practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .profile-breadcrumb {
    min-height: auto;
    padding: 54px 0 78px;
  }

  .profile-breadcrumb-card {
    padding: 32px 22px 26px;
    border-radius: 32px;
  }

  .profile-breadcrumb h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .profile-breadcrumb p {
    font-size: 14px;
  }

  .profile-breadcrumb-stats,
  .profile-info-grid,
  .profile-practice-grid,
  .form-grid,
  .related-profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo-card,
  .profile-content-card,
  .profile-approach-content,
  .profile-form-card,
  .profile-consult-content {
    padding: 26px;
    border-radius: 30px;
  }

  .profile-photo {
    height: 360px;
    border-radius: 26px;
  }

  .profile-card-actions {
    grid-template-columns: 1fr;
  }

  .profile-approach-list div {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
  }

  .profile-approach-list i {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-size: 22px;
  }

  .profile-final-cta-box {
    padding: 28px;
    border-radius: 32px;
  }

  .profile-final-cta-box h2 {
    font-size: 30px;
  }

  .profile-final-actions .btn,
  .profile-actions .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .profile-breadcrumb h1 {
    font-size: 28px;
  }

  .profile-breadcrumb-card {
    padding: 28px 18px 22px;
    border-radius: 28px;
  }

  .profile-photo-card,
  .profile-content-card,
  .profile-approach-content,
  .profile-form-card,
  .profile-consult-content,
  .profile-practice-card {
    padding: 22px;
  }

  .profile-photo {
    height: 315px;
  }

  .profile-card-body h2 {
    font-size: 27px;
  }

  .profile-practice-card h3 {
    font-size: 22px;
  }

  .related-profile-card {
    grid-template-columns: 70px 1fr;
  }

  .related-profile-card img {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .related-profile-card h3 {
    font-size: 21px;
  }

  .profile-final-cta-box h2 {
    font-size: 27px;
  }
}