:root {
  --primary-dark-blue: #0A1F44;
  --deep-navy: #081630;
  --accent-blue: #1E3A8A;
  --highlight-red: #E11D48;
  --soft-red-hover: #F43F5E;
  --pure-white: #FFFFFF;
  --light-section-bg: #F4F8FF;
  --subtle-border: rgba(10, 31, 68, 0.08);
  --text-dark: #0F172A;
  --text-soft: #64748B;
  --premium-shadow: 0 20px 60px rgba(10, 31, 68, 0.08);
  --smooth-transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  max-width: 100%;
}

body {
  font-family: "Inter", "Rubik", sans-serif;
  color: var(--text-dark);
  background: var(--pure-white);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  overflow-x: hidden !important;
  overflow-y: auto;
}

header,
main,
footer {
  max-width: 100%;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.72rem, 3.2vw, 2.75rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(1.28rem, 2vw, 1.95rem);
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.78;
  font-size: 0.96rem;
}

a,
button,
.review-card,
.transparency-card,
.card,
.comparison-table tbody tr,
.navbar a::after {
  transition: var(--smooth-transition);
}

.Main-body > section,
.hero-footer-content,
.reviews-section,
.comparison-section,
.first,
.second,
.third,
.forth,
.transparency-section,
.trust-section,
footer {
  padding: 100px 0;
  overflow-x: clip;
}

main {
  width: 100%;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

header.nav-scrolled {
  box-shadow: 0 14px 35px rgba(10, 31, 68, 0.14);
}

.header {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mainLogo1,
.mainLogo {
  display: inline-flex;
  align-items: center;
}

.mainLogo1 img {
  width: auto;
  height: auto;
  max-height: 64px;
  max-width: 220px;
  border-radius: 12px;
  border: 1px solid var(--subtle-border);
  object-fit: contain;
}

.mainLogo img {
  width: auto;
  height: auto;
  max-height: 58px;
  max-width: 170px;
  border-radius: 12px;
  border: 1px solid var(--subtle-border);
  object-fit: contain;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar a {
  position: relative;
  text-decoration: none;
  color: var(--primary-dark-blue);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
}

.navbar a.option {
  background: transparent;
  color: var(--primary-dark-blue);
  box-shadow: none;
}

.navbar a.is-active,
.navbar2 a.is-active {
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(30, 58, 138, 0.2);
}

.navbar a.is-active::after {
  transform: scaleX(0);
  background: transparent;
}

.navbar a.is-active:hover,
.navbar2 a.is-active:hover {
  color: #fff !important;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(135deg, #0A1F44, #E11D48);
}

.navbar a:hover::after {
  transform: scaleX(1);
}

.navbar a:hover {
  color: var(--highlight-red);
}

.menuIcon {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--subtle-border);
  border-radius: 12px;
  background: var(--pure-white);
  color: var(--primary-dark-blue);
  box-shadow: var(--premium-shadow);
}

.navbar2 {
  position: fixed;
  top: 76px;
  right: 14px;
  left: 14px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--subtle-border);
  border-radius: 16px;
  box-shadow: var(--premium-shadow);
  z-index: 100;
  animation: navSlideDown 0.35s ease;
}

.navbar2 a {
  text-decoration: none;
  color: var(--primary-dark-blue);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
}

.navbar2 a:hover {
  background: var(--light-section-bg);
  color: var(--highlight-red);
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero-section {
  position: relative;
  background: #FFFFFF !important;
}

.hero-section::before {
  content: none !important;
}

.section-content {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-details .title {
  color: var(--text-dark);
}

.hero-details .title em,
.hero-details .title strong,
.hero-details .title span {
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-details .description {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: clamp(0.94rem, 1.2vw, 1.05rem);
  font-weight: 500;
}

.hero-button {
  margin-top: 28px;
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  color: var(--pure-white);
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.25);
  cursor: pointer;
}

.hero-button:hover {
  background: linear-gradient(135deg, #1E3A8A, #E11D48);
  box-shadow: 0 14px 36px rgba(244, 63, 94, 0.36);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  position: relative;
  isolation: isolate;
}

.hero-image-wrapper::after {
  content: none !important;
}

.hero-image {
  width: 100%;
  max-width: 560px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--premium-shadow);
}

.hero-footer-content {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  background: var(--light-section-bg);
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--premium-shadow);
  padding: 42px;
}

.hero-footer-content h2 {
  margin-bottom: 16px;
}

.feature-list {
  margin-top: 18px;
  padding-left: 22px;
  color: var(--text-soft);
}

.feature-list strong {
  color: var(--text-dark);
}

.hero-footer-img {
  display: flex;
  justify-content: center;
  margin-top: 26px;
  margin-bottom: 10px;
}

/* Reviews */
.reviews-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: 34px;
}

.reviews-layout {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
}

.rating-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-md);
  box-shadow: var(--premium-shadow);
  padding: 28px;
  height: fit-content;
}

.rating-box h3 {
  color: var(--primary-dark-blue);
}

.rating-stars,
.stars {
  color: var(--highlight-red);
  letter-spacing: 2px;
}

.rating-count a {
  color: var(--accent-blue);
}

.reviews-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  scrollbar-width: none;
}

.reviews-wrapper::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reviewsScroll 80s linear infinite;
  padding-bottom: 10px;
  will-change: transform;
}

.review-card {
  width: 280px;
  min-height: 210px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(10, 31, 68, 0.06);
  padding: 20px;
}

.review-card h4 {
  color: var(--primary-dark-blue);
  margin-bottom: 8px;
}

.review-card p {
  font-size: 0.9rem;
}

.review-card span {
  display: inline-block;
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--premium-shadow);
  border-color: rgba(225, 29, 72, 0.22);
}

@keyframes reviewsScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Comparison */
.comparison-section {
  background: var(--pure-white);
  text-align: center;
}

.comparison-intro {
  max-width: 860px;
  margin: 0 auto 26px;
}

.table-wrapper {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--subtle-border);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.table-wrapper::-webkit-scrollbar {
  display: none;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  table-layout: auto;
}

.comparison-table thead th {
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  color: var(--pure-white);
  padding: 14px;
  font-weight: 700;
}

.comparison-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--subtle-border);
  color: var(--text-dark);
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.comparison-table tbody tr:hover {
  background: #f1f6ff;
}

.comparison-table td.yes {
  color: var(--accent-blue);
  font-weight: 700;
}

.comparison-table td.no {
  color: var(--highlight-red);
  font-weight: 700;
}

/* Content sections */
.first,
.third {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  background: #fff;
}

.second,
.forth {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  background: var(--light-section-bg);
  border-radius: var(--radius-lg);
  padding-left: 26px;
  padding-right: 26px;
}

.first p,
.second p,
.third p,
.forth p {
  color: var(--text-soft);
}

dotlottie-wc {
  width: min(320px, 100%) !important;
  height: 280px !important;
  justify-self: center;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #f6f9ff);
  border: 1px solid var(--subtle-border);
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.06);
}

/* Transparency */
.transparency-section {
  background: #fff;
}

.transparency-container {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.transparency-container > h2,
.transparency-intro {
  text-align: center;
}

.transparency-intro {
  max-width: 820px;
  margin: 0 auto 28px;
}

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

.transparency-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-md);
  box-shadow: var(--premium-shadow);
  padding: 20px;
}

.transparency-card h3 {
  color: var(--primary-dark-blue);
}

.proof-box {
  margin-top: 14px;
  border-radius: var(--radius-sm);
  padding: 10px;
  background: var(--light-section-bg);
  border: 1px solid var(--subtle-border);
}

.proof-box img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.proof-box small {
  color: var(--text-soft);
}

.transparency-card:hover {
  transform: translateY(-8px);
  border-color: rgba(225, 29, 72, 0.32);
  box-shadow: 0 22px 56px rgba(10, 31, 68, 0.14);
}

/* How to use */
main > section:not(.hero-section):not(.reviews-section):not(.comparison-section):not(.first):not(.second):not(.third):not(.forth):not(.transparency-section) {
  background: var(--light-section-bg);
}

.container.mx-auto.px-4.py-12 {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
}

.grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  min-height: 182px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.06);
}

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark-blue);
  color: #fff;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-dark);
  font-weight: 600;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 58px rgba(10, 31, 68, 0.14);
  border-color: rgba(225, 29, 72, 0.28);
}

/* Trust */
.trust-section {
  background: linear-gradient(135deg, #0A1F44, #081630);
  color: var(--pure-white);
  text-align: center;
}

.trust-section h2 {
  color: var(--pure-white);
  margin-bottom: 20px;
}

.trust-section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 860px;
}

.trust-section li {
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 0;
}

.trust-section li::marker {
  color: var(--highlight-red);
}

/* Footer */
footer {
  background: var(--deep-navy);
  color: #fff;
}

.footer {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 20px;
}

.footer-column h4 {
  color: #fff;
}

.footer-column a,
.footer p {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.94rem;
}

.footer-column a:hover {
  color: var(--highlight-red);
}

.followus a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  margin-right: 8px;
}

.followus a:hover {
  border-color: rgba(225, 29, 72, 0.7);
  box-shadow: 0 0 18px rgba(225, 29, 72, 0.35);
}

.followus a svg {
  color: #fff;
}

/* Upcoming panel align with theme */
.upcoming-box {
  background: rgba(8, 22, 48, 0.52);
}

.upcoming-content {
  border-radius: var(--radius-md);
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--subtle-border);
}

.upcoming-title {
  color: var(--primary-dark-blue);
  text-shadow: none;
  animation: none;
}

.upcoming-list li,
.upcoming-paragraph {
  color: var(--text-soft);
}

.upcoming-paragraph span {
  color: var(--highlight-red);
  text-shadow: none;
}

.close-btn {
  color: var(--primary-dark-blue);
}

/* Responsive */
@media (max-width: 1100px) {
  .section-content,
  .reviews-layout,
  .first,
  .second,
  .third,
  .forth {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .reviews-layout {
    gap: 16px;
  }

  .rating-box {
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }

  .section-content,
  .hero-footer-content,
  .reviews-layout,
  .table-wrapper,
  .first,
  .second,
  .third,
  .forth,
  .transparency-container,
  .container.mx-auto.px-4.py-12,
  .footer {
    margin-inline: auto;
  }

  .second,
  .forth {
    padding-left: 0;
    padding-right: 0;
  }

  .transparency-grid,
  .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .Main-body > section,
  .hero-footer-content,
  .reviews-section,
  .comparison-section,
  .first,
  .second,
  .third,
  .forth,
  .transparency-section,
  .trust-section,
  footer {
    padding: 70px 0;
  }

  .hero-footer-content {
    padding: 30px 20px;
  }

  .navbar {
    display: none;
  }

  .menuIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody tr {
    display: block;
    border-bottom: 1px solid var(--subtle-border);
    padding: 10px;
  }

  .comparison-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 0;
    text-align: right;
    padding: 8px 6px;
  }

  .comparison-table tbody td::before {
    content: attr(data-label);
    color: var(--primary-dark-blue);
    font-weight: 700;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header {
    width: calc(100% - 24px);
  }

  .mainLogo1 img {
    max-height: 56px;
    max-width: 170px;
  }

  .Main-body > section,
  .hero-footer-content,
  .reviews-section,
  .comparison-section,
  .first,
  .second,
  .third,
  .forth,
  .transparency-section,
  .trust-section,
  footer {
    padding: 50px 0;
  }

  .section-content,
  .hero-footer-content,
  .reviews-layout,
  .table-wrapper,
  .first,
  .second,
  .third,
  .forth,
  .transparency-container,
  .container.mx-auto.px-4.py-12,
  .footer {
    width: calc(100% - 24px);
    margin-inline: auto;
  }

  .first > *,
  .second > *,
  .third > *,
  .forth > * {
    width: 100%;
    margin-inline: auto;
  }

  .hero-details,
  .hero-footer-content,
  .reviews-section h2,
  .comparison-section,
  .first .text,
  .second .text-second,
  .third .text-third,
  .forth .text-forth,
  .transparency-container,
  .trust-section {
    text-align: center;
  }

  .hero-button {
    width: 100%;
  }

  body {
    font-size: 14px;
  }

  .review-card {
    width: 86vw;
    min-height: 240px;
  }

  .transparency-grid,
  .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3,
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Dashboard Premium */
.first-section,
.how-it-works-section,
.second-section,
.third-section,
.forth-section {
  padding: 100px 0;
}

.first-section {
  background: var(--light-section-bg);
  position: relative;
  padding: 72px 0;
}

.first-section .cv-section {
  background: transparent;
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.06);
  padding: 30px;
  max-width: 1020px;
}

.first-section .content h1 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.22;
  max-width: 18ch;
  margin-inline: 0;
}

.first-section .content p {
  margin-top: 12px;
  max-width: 62ch;
}

.first-section .SkillInnoveX {
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.first-section .cv-preview {
  background: #eef4ff;
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-md);
  padding: 10px;
  width: 100%;
  max-width: 400px;
  justify-self: end;
}

.cv-section,
.how-it-works-container,
.second-section,
.banner,
.full-section {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.cv-section,
.second-section,
.banner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.how-it-works-section {
  background: var(--light-section-bg);
}

.how-title,
.how-subtitle {
  text-align: center;
}

.video-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--subtle-border);
  box-shadow: var(--premium-shadow);
  background: #fff;
  margin-top: 18px;
}

.video-wrapper iframe {
  width: 100%;
  min-height: 420px;
}

.steps-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(10, 31, 68, 0.06);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 29, 72, 0.22);
}

.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1E3A8A, #E11D48);
}

.btn-secondary {
  color: #fff;
  background: #E11D48;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.26);
}

.btn-secondary:hover {
  background: #F43F5E;
}

.cv-preview img,
.cv-format img,
.banner-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--subtle-border);
  box-shadow: var(--premium-shadow);
  max-height: 520px;
  object-fit: contain;
}

.first-section .cv-preview img {
  max-height: 540px;
  object-fit: contain;
}

.cv-preview,
.cv-format,
.banner-img {
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
}

.first-section .btn-primary,
.first-section .btn-secondary {
  margin-top: 14px;
}

.step-bottom {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px rgba(10, 31, 68, 0.06);
  padding: 18px;
  margin-bottom: 14px;
}

.step-heading {
  color: var(--primary-dark-blue);
}

.step-description {
  color: var(--text-soft);
}

.third-section {
  background: #fff;
}

.third-section ul {
  list-style: none;
  padding: 0;
}

.third-section li {
  padding: 6px 0;
  color: var(--text-dark);
}

.third-section li i {
  color: var(--highlight-red);
  margin-right: 8px;
}

.forth-section {
  background: linear-gradient(135deg, #0A1F44, #081630);
}

.content-s3 {
  text-align: center;
  color: #fff;
  padding: 34px 24px;
}

.content-s3 .heading {
  color: #fff;
  margin-bottom: 16px;
}

.review-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 22, 48, 0.48);
  backdrop-filter: blur(4px);
}

.review-box {
  width: min(420px, 100%);
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--subtle-border);
  box-shadow: var(--premium-shadow);
  padding: 26px 24px 22px;
  text-align: center;
  position: relative;
}

.review-box h3 {
  color: var(--primary-dark-blue);
  margin-bottom: 8px;
}

.review-box p {
  color: var(--text-soft);
  margin-bottom: 14px;
}

.review-box .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--subtle-border);
  background: #fff;
  color: var(--primary-dark-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.review-box .close-btn:hover {
  color: var(--highlight-red);
  border-color: rgba(225, 29, 72, 0.24);
}

.review-box .stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 16px;
}

.review-box .stars a {
  text-decoration: none;
  color: #E11D48;
  font-size: 1.7rem;
  line-height: 1;
  text-shadow: 0 8px 16px rgba(225, 29, 72, 0.2);
}

.review-box .stars a:hover {
  color: #F43F5E;
  transform: translateY(-2px);
}

.review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.22);
}

.review-btn:hover {
  background: linear-gradient(135deg, #1E3A8A, #E11D48);
}

@media (max-width: 1100px) {
  .cv-section,
  .second-section,
  .banner {
    grid-template-columns: 1fr;
  }

  .first-section .cv-section {
    justify-items: center;
    text-align: center;
  }

  .first-section .content {
    margin-inline: auto;
  }

  .first-section .content h1,
  .first-section .content p {
    margin-inline: auto;
    text-align: center;
  }

  .first-section .cv-preview {
    max-width: 460px;
    justify-self: center;
    margin-inline: auto;
  }

  .first-section .cv-preview img {
    max-height: 500px;
  }

  .cv-preview,
  .cv-format,
  .banner-img {
    max-width: 400px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .first-section,
  .how-it-works-section,
  .second-section,
  .third-section,
  .forth-section {
    padding: 70px 0;
  }

  .cv-section,
  .how-it-works-container,
  .second-section,
  .banner,
  .full-section {
    width: calc(100% - 28px);
  }

  .video-wrapper iframe {
    min-height: 280px;
  }

  .first-section .cv-section {
    padding: 24px 18px;
  }

  .first-section .cv-preview {
    max-width: 360px;
    padding: 8px;
  }

  .first-section .cv-preview img {
    max-height: 440px;
  }

  .cv-preview,
  .cv-format,
  .banner-img {
    max-width: 360px;
  }

  .cv-preview img,
  .cv-format img,
  .banner-img img {
    max-height: 430px;
  }
}

@media (max-width: 640px) {
  .first-section,
  .how-it-works-section,
  .second-section,
  .third-section,
  .forth-section {
    padding: 50px 0;
  }

  .cv-section,
  .how-it-works-container,
  .second-section,
  .banner,
  .full-section {
    width: calc(100% - 24px);
    margin-inline: auto;
  }

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

  .content,
  .banner-content,
  .content-s3 {
    text-align: center;
  }

  .first-section .content h1,
  .first-section .content p {
    max-width: 100%;
  }

  .first-section .content h1 {
    margin-inline: auto;
  }

  .cv-preview,
  .cv-format,
  .banner-img {
    max-width: 100%;
  }

  .cv-preview img,
  .cv-format img,
  .banner-img img {
    max-height: 68vh;
  }

  .first-section .cv-preview {
    max-width: 100%;
    padding: 10px;
  }

  .first-section .cv-preview img {
    max-height: 72vh;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-top: 8px;
  }
}

/* Building Page Premium */
.Main-body > .flex-1,
.form-holder,
#template-div,
.print-guide,
.main-container {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin-inline: auto;
}

/* Server flow states for building.html:
   1) template selector visible
   2) form visible after /template success
   3) preview visible after /create-resume success */
#template-div {
  display: block;
}

#form-holder,
#viewshow {
  display: none;
}

.Main-body > .flex-1 {
  padding: 80px 0 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.steps .step {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.05);
  position: relative;
  overflow: hidden;
}

.steps .step [class^="step-number"] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark-blue);
  background: #eef3ff;
  border: 1px solid rgba(10, 31, 68, 0.12);
}

.steps .step.is-active {
  border-color: rgba(30, 58, 138, 0.35);
  box-shadow: 0 16px 30px rgba(30, 58, 138, 0.14);
}

.steps .step.is-active [class^="step-number"] {
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  color: #fff;
  border-color: transparent;
}

.steps .step.is-done {
  border-color: rgba(225, 29, 72, 0.24);
  background: #fff8fa;
}

.steps .step.is-done [class^="step-number"] {
  background: #E11D48;
  color: #fff;
  border-color: transparent;
}

.showresume {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 18px;
  box-shadow: var(--premium-shadow);
  padding: 18px;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.showresume > div:first-child {
  width: 100% !important;
  height: min(78vh, 860px);
  overflow-y: auto !important;
  overflow-x: auto !important;
  border: 1px solid var(--subtle-border);
  border-radius: 14px;
  background: #f8fbff;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: #1E3A8A #dbe8ff;
}

.showresume > div:first-child::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.showresume > div:first-child::-webkit-scrollbar-track {
  background: #dbe8ff;
  border-radius: 999px;
}

.showresume > div:first-child::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  border-radius: 999px;
  border: 2px solid #dbe8ff;
}

#contenth {
  border-radius: 12px;
  border: 1px solid var(--subtle-border) !important;
  min-width: 1024px;
  width: 1024px !important;
  height: 1380px !important;
  background: #fff;
}

.showresume h3 {
  margin-top: 14px;
  text-align: center;
}

.download-btn {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px));
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}

.resume-download-btn,
.back-btn,
.resume-submit-btn,
.use-template-button {
  border-radius: 999px;
  border: 0;
  font-weight: 700;
}

.resume-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
}

.resume-download-btn,
.resume-submit-btn,
.use-template-button {
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.2);
}

.resume-download-btn:hover,
.resume-submit-btn:hover,
.use-template-button:hover {
  background: linear-gradient(135deg, #1E3A8A, #E11D48);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E11D48;
  color: #fff;
  padding: 10px 20px;
  min-height: 42px;
  margin: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  text-transform: capitalize;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.24);
}

.back-btn:hover {
  background: #F43F5E;
}

.form-holder {
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding: 34px 0;
  max-width: 1280px;
  width: calc(100% - 40px);
  margin-inline: auto;
}

.resume-form-container {
  width: 100%;
  max-width: none;
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 20px;
  box-shadow: var(--premium-shadow);
  padding: 26px;
}

.resume-form {
  display: grid;
  gap: 14px;
}

.resume-field-group {
  background: #f9fbff;
  border: 1px solid var(--subtle-border);
  border-radius: 14px;
  padding: 12px;
}

.resume-field-group img {
  max-width: 100%;
  height: auto;
}

.resume-label {
  color: var(--primary-dark-blue);
  font-weight: 700;
}

.resume-input,
.resume-textarea,
.resume-file-upload {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(10, 31, 68, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Inter", sans-serif;
}

.resume-textarea {
  min-height: 100px;
  resize: vertical;
}

.resume-add-field-btn {
  margin-top: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #0A1F44;
  color: #fff;
}

.resume-remove-field-btn {
  margin-top: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #E11D48;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.resume-remove-field-btn:hover {
  background: #F43F5E;
}

.resume-field-group.resume-add-field-container {
  display: grid;
  gap: 8px;
}

.resume-field-group.resume-add-field-container .resume-add-field-btn {
  justify-self: end;
}

.skill-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.skill-entry .skill-number {
  color: var(--primary-dark-blue);
  font-weight: 700;
}

.skill-entry .skill-input {
  min-width: 0;
}

.skills-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.skills-actions .resume-add-field-btn {
  margin-top: 0;
}

.dynamic-field-group {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.dynamic-field-group .resume-remove-field-btn {
  justify-self: end;
}

.resume-submit-btn {
  width: 100%;
  min-height: 48px;
}

.ai-suggetions {
  background: #eff5ff;
  border: 1px solid var(--subtle-border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--primary-dark-blue);
}

.ai-suggetions img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

.ai-response {
  border-radius: 12px;
  border: 1px solid var(--subtle-border);
  background: #fff;
}

#template-div {
  padding: 18px 0 40px;
}

.slider-container {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 18px;
  box-shadow: var(--premium-shadow);
  padding: 14px 10px;
}

.articles-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 16px;
}

.articles-grid::-webkit-scrollbar {
  display: none;
}

.article {
  min-width: 250px;
  max-width: 250px;
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.05);
}

.article img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.article h3 {
  font-size: 1.02rem;
  margin: 10px 12px;
}

.use-template-button {
  margin: 0 12px 14px;
  width: calc(100% - 24px);
  min-height: 42px;
}

.scroll-button {
  border-radius: 12px;
  border: 1px solid var(--subtle-border);
  background: #fff;
  color: var(--primary-dark-blue);
}

.print-guide {
  padding: 80px 0 40px;
}

.print-guide h2 {
  text-align: center;
}

.print-steps {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.print-guide .step-card {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.06);
}

.print-guide .step-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.main-container {
  padding: 50px 0 100px;
}

.main-container > .title {
  text-align: center;
  max-width: 30ch;
  margin: 0 auto 18px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.main-container .mt-8 {
  margin-top: 28px;
}

.main-container .mt-8 > .title {
  text-align: center;
  max-width: 24ch;
  margin: 0 auto 16px;
  font-size: clamp(1.3rem, 1.75vw, 1.72rem);
}

.main-container .card-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.main-container .card {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(10, 31, 68, 0.06);
  padding: 16px;
  min-height: 100%;
}

.main-container .card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.main-container .card h2,
.main-container .card h3 {
  font-size: 1.06rem;
  margin: 10px 0 8px;
}

.main-container .card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.resume-wrapper {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 16px 0 60px;
}

.resume-wrapper .bottom-h1 {
  text-align: center;
  max-width: 34ch;
  margin: 0 auto 16px;
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
}

.resume-wrapper .content-wrapper {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: start;
}

.resume-wrapper .steps-column .step-bottom {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  margin-bottom: 10px;
  padding: 14px;
}

.resume-wrapper .step-number-bottom {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  color: #fff;
  font-weight: 700;
  margin-right: 0;
}

.resume-wrapper .step-content {
  display: block;
  width: 100%;
  min-width: 0;
}

.resume-wrapper .step-heading {
  font-size: 1.03rem;
  margin-bottom: 6px;
  line-height: 1.35;
}

.resume-wrapper .step-description {
  font-size: 0.9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.resume-wrapper .preview-column .image-placeholder {
  position: sticky;
  top: 90px;
}

.resume-wrapper .preview-column .image-frame img {
  max-height: 620px;
}

.build-guide-container,
.faq-container {
  max-width: 1120px;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 20px 0 40px;
}

.build-guide-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.guide-steps .step-bottom {
  margin-bottom: 12px;
}

.preview-column .image-frame {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 14px;
  box-shadow: var(--premium-shadow);
  padding: 10px;
}

.preview-column .image-frame img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px;
}

.faq-title {
  text-align: center;
  margin-bottom: 18px;
}

.faq-item {
  border: 1px solid var(--subtle-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(10, 31, 68, 0.05);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--primary-dark-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 16px;
}

.faq-item.active .faq-answer {
  padding: 0 16px 14px;
}

.ai-writting {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 22, 48, 0.45);
  backdrop-filter: blur(3px);
}

.ai-writting .card,
.ai-writting .card2 {
  width: min(360px, 100%);
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--subtle-border);
  box-shadow: var(--premium-shadow);
  padding: 20px;
  text-align: center;
}

.ai-writting .card img,
.ai-writting .card2 img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .build-guide-container,
  .faq-container {
    width: calc(100% - 40px);
  }

  .resume-wrapper {
    width: calc(100% - 40px);
  }

  .resume-wrapper .content-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .resume-wrapper .preview-column .image-placeholder {
    position: static;
  }

  .build-guide-container {
    grid-template-columns: 1fr;
  }

  .print-steps,
  .main-container .card-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .Main-body > .flex-1,
  .form-holder,
  #template-div,
  .print-guide,
  .main-container,
  .build-guide-container,
  .faq-container,
  .resume-wrapper {
    width: calc(100% - 28px);
  }

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

  .resume-wrapper .step-heading {
    font-size: 0.98rem;
  }

  .resume-wrapper .step-description {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .showresume > div:first-child {
    height: min(72vh, 700px);
  }

  #contenth {
    min-width: 1024px;
    width: 1024px !important;
  }

  .download-btn {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  .Main-body > .flex-1,
  .form-holder,
  #template-div,
  .print-guide,
  .main-container,
  .build-guide-container,
  .faq-container,
  .resume-wrapper {
    width: calc(100% - 24px);
  }

  .print-steps,
  .main-container .card-container {
    grid-template-columns: 1fr;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .steps .step {
    min-width: 0;
    padding: 8px 6px;
  }

  .steps .step span {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .article img {
    height: 220px;
  }

  .article {
    min-width: 220px;
    max-width: 220px;
  }

  .print-guide .step-card img {
    height: 180px;
  }

  .resume-form-container {
    padding: 16px;
  }

  .showresume {
    padding: 12px;
    border-radius: 14px;
  }

  .showresume > div:first-child {
    height: min(66vh, 560px);
    padding: 8px;
    border-radius: 10px;
  }

  #contenth {
    min-width: 1024px;
    width: 1024px !important;
    height: 1380px !important;
  }

  .showresume h3 {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 8px;
  }

  .download-btn {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .resume-download-btn,
  .back-btn {
    width: 100%;
    min-height: 44px;
  }

  .main-container .card {
    padding: 14px;
  }

  .main-container .card h2,
  .main-container .card h3 {
    font-size: 1rem;
  }

  .main-container .mt-8 {
    margin-top: 20px;
  }

  .main-container .mt-8 > .title {
    max-width: 100%;
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .main-container .card p,
  .resume-wrapper .step-description {
    font-size: 0.86rem;
  }

  .resume-wrapper .bottom-h1 {
    max-width: 100%;
    font-size: 1.2rem;
  }

  .resume-wrapper .step-bottom {
    padding: 12px;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
  }

  .resume-wrapper .step-content {
    width: 100%;
    margin-top: 0;
  }

  .resume-wrapper .step-number-bottom {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.82rem;
  }

  .resume-field-group {
    padding: 10px;
  }

  .skill-entry {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .skills-actions .resume-add-field-btn {
    justify-self: end;
  }

  .preview-column .image-frame img,
  .print-guide .step-card img,
  .article img {
    height: auto;
    max-height: 260px;
    object-fit: cover;
  }
}

/* Privacy + Terms Premium */
.privacy-policy-section,
.terms-section {
  max-width: 980px;
  width: calc(100% - 40px);
  margin: 46px auto 80px;
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 18px;
  box-shadow: var(--premium-shadow);
  padding: 34px 30px;
}

.privacy-policy-section h1,
.terms-section h1 {
  text-align: center;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
  color: var(--primary-dark-blue);
  margin-bottom: 10px;
}

.privacy-policy-section h2,
.terms-section h2 {
  font-size: clamp(1.05rem, 1.4vw, 1.26rem);
  color: var(--primary-dark-blue);
  margin-top: 22px;
  margin-bottom: 8px;
}

.privacy-policy-section p,
.terms-section p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.76;
  margin-bottom: 12px;
}

.terms-section p:first-of-type {
  text-align: center;
  color: var(--text-dark);
  font-weight: 600;
}

@media (max-width: 900px) {
  .privacy-policy-section,
  .terms-section {
    width: calc(100% - 28px);
    margin: 34px auto 64px;
    padding: 26px 20px;
  }
}

@media (max-width: 640px) {
  .privacy-policy-section,
  .terms-section {
    width: calc(100% - 24px);
    margin: 24px auto 50px;
    border-radius: 14px;
    padding: 20px 14px;
  }

  .privacy-policy-section p,
  .terms-section p {
    font-size: 0.88rem;
    line-height: 1.68;
  }
}

/* About Page Premium */
.nav-container {
  max-width: 1200px;
  width: calc(100% - 40px);
  margin-inline: auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0A1F44, #E11D48);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--subtle-border);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-menu .nav-link {
  text-decoration: none;
  color: var(--primary-dark-blue);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-menu .nav-link:hover {
  color: var(--highlight-red);
  background: #f4f8ff;
}

.hero {
  position: relative;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 70%);
  padding: 110px 0 90px;
  overflow: hidden;
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.shape-1 {
  width: 260px;
  height: 260px;
  right: -80px;
  top: -40px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.16), rgba(30, 58, 138, 0));
}

.shape-2 {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12), rgba(225, 29, 72, 0));
}

.hero-content,
.mission-container,
.services .container,
#projects,
.project-awareness .container,
.research-projects,
.portfolio .container,
.team .container,
.global-users-section,
.about .container,
.contact .container,
footer > .container {
  max-width: 1200px;
  width: calc(100% - 40px);
  margin-inline: auto;
}

.hero-title {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  margin-bottom: 14px;
  color: var(--primary-dark-blue);
}

.hero-subtitle {
  max-width: 84ch;
  font-size: 0.95rem;
}

.btn,
.select-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 22px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.2);
}

.btn:hover,
.select-plan-btn:hover {
  background: linear-gradient(135deg, #1E3A8A, #E11D48);
}

.mission-section,
.services,
#projects,
.project-awareness,
.research-projects,
.portfolio,
.team,
.about,
.contact {
  padding: 82px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-dark-blue);
}

.mission-container,
.about-content,
.contact-grid,
.brainware-section {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(10, 31, 68, 0.07);
}

.mission-container {
  padding: 26px;
}

.services-grid,
.projects-grid,
.pricing-container,
.team-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.project-card,
.pricing-card,
.team-member,
.about-stats,
.contact-info,
.contact-form,
.research-projects .project-item {
  background: #fff;
  border: 1px solid var(--subtle-border);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.06);
  padding: 16px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0A1F44, #1E3A8A);
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  width: calc(100% - 40px);
  margin-inline: auto;
}

.project-card img,
.plan-image img,
.member-image img,
.awareness-grid img,
.global-users-map,
.brainware-section .right-logo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.project-awareness .awareness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.research-projects .project-list {
  display: grid;
  gap: 10px;
}

.research-projects .project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.research-projects .project-item a {
  text-decoration: none;
  color: var(--accent-blue);
  font-weight: 700;
}

.pricing-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff4ff;
  color: var(--primary-dark-blue);
  font-weight: 700;
  font-size: 0.8rem;
}

.pricing-card ul {
  margin: 10px 0 14px;
  padding-left: 18px;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-image img {
  max-height: 320px;
  object-fit: cover;
}

.developed-by-section {
  padding: 18px 0 0;
  text-align: center;
}

.brainware-section {
  max-width: 1200px;
  width: calc(100% - 40px);
  margin: 10px auto 46px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}

.global-users-section {
  text-align: center;
  padding-bottom: 60px;
}

.global-users-map {
  max-width: 1000px;
  margin: 10px auto 0;
}

.about-content {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.about-stats {
  align-self: start;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  padding: 18px;
}

.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  border: 1px solid rgba(10, 31, 68, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Inter", sans-serif;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

footer {
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.footer-col .footer-links {
  display: grid;
  gap: 8px;
}

.footer-col .footer-links a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-col .footer-links a:hover {
  color: var(--highlight-red);
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1100px) {
  .services-grid,
  .projects-grid,
  .pricing-container,
  .team-grid,
  .project-awareness .awareness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-content,
  .contact-grid,
  .brainware-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-content,
  .mission-container,
  .services .container,
  #projects,
  .projects-grid,
  .project-awareness .container,
  .research-projects,
  .portfolio .container,
  .team .container,
  .global-users-section,
  .about .container,
  .contact .container,
  footer > .container,
  .brainware-section {
    width: calc(100% - 28px);
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    right: 14px;
    left: 14px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--subtle-border);
    border-radius: 14px;
    box-shadow: var(--premium-shadow);
    padding: 10px;
    z-index: 110;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu .nav-link {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .nav-container,
  .hero-content,
  .mission-container,
  .services .container,
  #projects,
  .projects-grid,
  .project-awareness .container,
  .research-projects,
  .portfolio .container,
  .team .container,
  .global-users-section,
  .about .container,
  .contact .container,
  footer > .container,
  .brainware-section {
    width: calc(100% - 24px);
  }

  .hero,
  .mission-section,
  .services,
  #projects,
  .project-awareness,
  .research-projects,
  .portfolio,
  .team,
  .about,
  .contact {
    padding: 56px 0;
  }

  .services-grid,
  .projects-grid,
  .pricing-container,
  .team-grid,
  .project-awareness .awareness-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .research-projects .project-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
