/*
Theme Name: Minutes Ops Profile 2025
Theme URI: https://www.minutesops.com
Author: Minutes Ops
Description: Company profile theme matching the Minutes Ops 2025 profile.
Version: 1.3.0
Text Domain: minutes-ops-profile
*/

:root {
  --bg-dark: #0a0a0c;
  --bg-gradient: radial-gradient(circle at top right, #121216 0%, #0a0a0c 80%);

  /* Primary & Secondary Accents for Multi-color Theme */
  --accent-1: #ff8a00;
  /* Brand Vibrant Orange */
  --accent-2: #ffc107;
  /* Premium Gold */
  --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --accent-glow-1: rgba(255, 138, 0, 0.25);
  --accent-glow-2: rgba(255, 193, 7, 0.25);

  --text-main: #fcfcfc;
  --text-muted: #a1a1aa;
  --card-bg: rgba(24, 24, 27, 0.5);
  /* Neutral Zinc for elegance */
  --card-border: rgba(255, 255, 255, 0.06);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-2);
  color: #000;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Nav */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5, 5, 7, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.section-nav-toggle {
  display: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-main);
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.section-nav-list {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.section-nav-list::-webkit-scrollbar {
  display: none;
}

.section-nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.03);
}

.section-nav-list a.active,
.section-nav-list a:hover,
.section-nav-list a:focus-visible {
  background: var(--accent-gradient);
  color: #000;
  box-shadow: 0 5px 15px var(--accent-glow-2);
  transform: translateY(-2px);
  font-weight: 600;
}

.lang-switcher {
  position: absolute;
  right: 20px;
  top: 14px;
  display: flex;
  gap: 8px;
}

.lang-switcher a {
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.03);
}

.lang-switcher a:hover,
.lang-switcher a.active {
  background: var(--text-main);
  border-color: var(--text-main);
  color: #000;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Layout */
.profile-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.content-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 60px 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.content-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0, 229, 255, 0.08);
}

/* Glow lines on top of cards */
.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), transparent);
  opacity: 0.3;
}

.content-section h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-section h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

/* Gradient Underline */
.content-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 4px;
  margin-top: 12px;
  box-shadow: 0 0 12px var(--accent-glow-1);
  transition: width 0.4s ease;
}

.content-section:hover h2::after {
  width: 100%;
}

.content-section h3 {
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--accent-2);
}

.content-section p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: clamp(16px, 2vw, 19px);
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* Cover Section */
.cover {
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60vh;
  background: radial-gradient(circle at top left, var(--accent-glow-1), transparent 50%),
    radial-gradient(circle at bottom right, var(--accent-glow-2), transparent 50%),
    rgba(10, 10, 12, 0.5);
}

.cover::before {
  display: none;
}

/* hide standard card top line */

.cover h2 {
  margin-top: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cover h2::after {
  display: none;
}

/* hide underline on cover subtitle */

.cover-meta {
  margin-top: 40px !important;
  font-size: 22px !important;
  color: #fff !important;
}

.cover-site {
  margin-top: 10px !important;
  color: var(--accent-2) !important;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.year-pill {
  position: absolute;
  right: 40px;
  top: 40px;
  margin: 0;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--accent-gradient);
  color: #000;
  box-shadow: 0 4px 20px var(--accent-glow-1);
}

/* Lists */
.toc-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  list-style: none;
}

.toc-list li {
  position: relative;
  padding-left: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  padding: 16px 20px 16px 44px;
  border-radius: 12px;
  transition: all 0.3s;
}

.toc-list li::before {
  content: "→";
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--accent-1);
  transition: transform 0.2s, color 0.2s;
}

.toc-list li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-1);
  transform: translateX(5px);
}

.toc-list li:hover::before {
  transform: translateX(4px);
  color: var(--accent-2);
}

.toc-list a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
}

.toc-list a::after {
  content: "";
  position: absolute;
  inset: 0;
  /* makes entire list item clickable */
}

/* Components */
.md-name {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px !important;
  display: inline-block;
}

.cofounder-card {
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  padding: 24px;
  max-width: 580px;
  position: relative;
  transition: all 0.4s ease;
}

.cofounder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--card-border), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.4s ease;
}

.cofounder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cofounder-card:hover::after {
  background: var(--accent-gradient);
}

.cofounder-card img {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--accent-2);
  box-shadow: 0 0 20px var(--accent-glow-2);
}

.cofounder-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cofounder-meta strong {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.5px;
}

.cofounder-meta span {
  font-size: 15px;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Grids */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.two-col::before {
  display: none;
}

.panel {
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 50px 40px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), transparent);
  opacity: 0.3;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.panel:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, var(--accent-2), var(--accent-1), transparent);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.chip {
  position: relative;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  overflow: hidden;
  z-index: 1;
}

.chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.chip:hover {
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px var(--accent-glow-2);
  border-color: transparent;
}

.chip:hover::before {
  opacity: 1;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}

.detail-card {
  position: relative;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box;
  transition: all 0.4s ease;
  z-index: 1;
}

.detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: background 0.4s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.detail-card:hover::after {
  background: var(--accent-gradient);
}

.detail-card:focus-within::after {
  background: var(--accent-gradient);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.3);
  margin-top: 16px;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.table-wrap th,
.table-wrap td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--card-border);
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.table-wrap th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-2);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
}

.table-wrap tr {
  transition: background 0.3s;
}

.table-wrap tr:hover td {
  background: rgba(0, 229, 255, 0.05);
}

/* Process Blocks */
.process-blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.process-blocks p {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent-1);
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s;
}

.process-blocks p:nth-child(even) {
  border-left-color: var(--accent-2);
}

.process-blocks p:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(6px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.process-blocks .note {
  border-left-color: var(--text-muted);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-style: italic;
}

/* Clients */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.client-grid span {
  position: relative;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) padding-box;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 20px;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  z-index: 1;
}

.client-grid span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: var(--card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  transition: background 0.4s ease;
}

.client-grid span:hover {
  color: #000;
  background: var(--accent-gradient) padding-box;
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 30px var(--accent-glow-2);
}

.client-grid span:hover::after {
  background: transparent;
}

/* Achievements */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.achievement-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-1);
  box-shadow: 0 12px 26px var(--accent-glow-1);
}

.achievement-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.achievement-card figcaption {
  padding: 14px 16px;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

/* Profile Footer */
.site-profile-footer {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.footer-shell {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  border-radius: 24px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-shell h2 {
  margin: 0 0 24px;
  font-size: clamp(24px, 4vw, 32px);
}

.footer-shell h3 {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.footer-card {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.footer-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-card li {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-card li span {
  color: #fff;
  font-weight: 600;
}

.footer-card a {
  color: var(--accent-2);
  text-decoration: none;
}

.footer-card a:hover {
  text-decoration: underline;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 14px;
  transition: all 0.25s ease;
}

.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  font-family: var(--font-heading);
}

.social-links a:hover {
  text-decoration: none;
  color: #000;
  background: var(--accent-gradient);
  border-color: transparent;
}

/* RTL Support */
.profile-content.is-ar {
  direction: rtl;
}

.profile-content.is-ar .section-nav-list,
.profile-content.is-ar .toc-list,
.profile-content.is-ar .lang-switcher {
  direction: rtl;
}

.profile-content.is-ar .table-wrap th,
.profile-content.is-ar .table-wrap td {
  text-align: right;
}

.profile-content.is-ar .content-section h1,
.profile-content.is-ar .content-section h2,
.profile-content.is-ar .content-section h3,
.profile-content.is-ar .content-section p,
.profile-content.is-ar .panel h2,
.profile-content.is-ar .panel p {
  text-align: right;
}

.profile-content.is-ar .toc-list li {
  padding-left: 20px;
  padding-right: 44px;
}

.profile-content.is-ar .toc-list li::before {
  left: auto;
  right: 16px;
  content: "←";
}

.profile-content.is-ar .toc-list li:hover {
  transform: translateX(-5px);
}

.profile-content.is-ar .toc-list li:hover::before {
  transform: translateX(-4px);
}

.profile-content.is-ar .process-blocks p {
  border-left: none;
  border-right: 4px solid var(--accent-1);
}

.profile-content.is-ar .process-blocks p:nth-child(even) {
  border-right-color: var(--accent-2);
}

.profile-content.is-ar .process-blocks p:hover {
  transform: translateX(-6px);
}

.site-profile-footer.is-ar {
  direction: rtl;
  text-align: right;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: none;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.back-to-top::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.back-to-top:hover {
  background: var(--accent-gradient);
  color: #000;
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px var(--accent-glow-2);
}

.back-to-top:hover::after {
  display: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Reviews Section */
.review-success {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-1);
  box-shadow: 0 10px 20px var(--accent-glow-1);
}

.review-image img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--card-border);
}

.review-stars {
  color: var(--accent-1);
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.review-content-wrap h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #fff;
}

.review-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.review-form-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  margin-top: 40px;
}

.review-form-container h3 {
  margin-bottom: 24px;
  color: var(--accent-2);
}

.review-form .form-group {
  margin-bottom: 20px;
}

.review-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.08);
}

.review-form input[type="file"] {
  width: 100%;
  color: var(--text-muted);
}

/* Star Rating CSS */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 30px;
  color: var(--card-border);
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
  color: var(--accent-1);
}

.submit-btn {
  background: var(--accent-gradient);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  color: #000;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--accent-glow-1);
}

.profile-content.is-ar .star-rating {
  justify-content: flex-start;
  flex-direction: row;
}

/* Responsive */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 40px 30px;
  }

  .cover {
    padding: 80px 30px;
  }

  .panel {
    padding: 40px 30px;
  }
}

@media (max-width: 640px) {
  .section-nav {
    padding: 0;
  }

  .section-nav-toggle {
    display: block;
  }

  .section-nav-list {
    display: none;
    padding: 0 20px 20px;
    flex-direction: column;
    gap: 8px;
    white-space: normal;
  }

  .section-nav.open .section-nav-list {
    display: flex;
  }

  .lang-switcher {
    right: 20px;
    top: 16px;
  }

  .profile-content {
    padding: 20px;
    gap: 24px;
  }

  .content-section {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .cover {
    padding: 60px 20px;
    min-height: 50vh;
  }

  .panel {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .content-section h1 {
    font-size: 36px;
  }

  .content-section h2 {
    font-size: 26px;
  }

  .chip-grid,
  .details-grid,
  .client-grid,
  .toc-list,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    padding: 26px 20px;
  }

  .year-pill {
    right: 20px;
    top: 20px;
    font-size: 14px;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
