/* Portfolio-specific additions layered on top of the template's main.css */

:focus-visible {
  outline: 3px solid var(--theme);
  outline-offset: 3px;
}

/* ----- Homepage hero ----- */
.hero-1 .hero-content h1.hero-title {
  font-size: 60px;
  line-height: 1.12;
  text-transform: none;
}
@media (max-width: 1399px) {
  .hero-1 .hero-content h1.hero-title { font-size: 52px; }
}
@media (max-width: 991px) {
  .hero-1 .hero-content h1.hero-title { font-size: 44px; }
}
@media (max-width: 575px) {
  .hero-1 .hero-content h1.hero-title { font-size: 34px; }
}
.hero-1 .hero-content .theme-btn.border-btn {
  background: transparent;
  color: var(--header);
  border: var(--border-2);
}
.hero-1 .hero-content .theme-btn.border-btn:hover { color: var(--white); }
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 24px;
}
.hero-links a {
  color: var(--header);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-links a:hover { color: var(--theme); }
.hero-1 .hero-content .hero-availability {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

/* ----- Inner-page H1 inside the breadcrumb banner ----- */
.breadcrumb-wrapper .page-heading h1 {
  font-size: 56px;
  line-height: 1.15;
  max-width: 1000px;
  margin: 0 auto 20px;
  text-transform: none;
}
@media (max-width: 1199px) { .breadcrumb-wrapper .page-heading h1 { font-size: 48px; } }
@media (max-width: 767px)  { .breadcrumb-wrapper .page-heading h1 { font-size: 36px; } }
@media (max-width: 575px)  { .breadcrumb-wrapper .page-heading h1 { font-size: 30px; } }
.breadcrumb-wrapper .page-heading .breadcrumb-list { flex-wrap: wrap; }
.page-lead {
  font-size: 18px;
  line-height: 1.6;
}
.service-details-post .post-content h2,
.project-details-wrapper .project-details-content h2 { font-size: 30px; line-height: 1.25; margin: 36px 0 14px; text-transform: none; }
@media (max-width: 767px) {
  .service-details-post .post-content h2,
  .project-details-wrapper .project-details-content h2 { font-size: 24px; }
}
html { scroll-padding-top: 110px; }

/* ----- Capability groups (replace self-scored percentages) ----- */
.capability-grid { margin-top: 60px; }
.capability-card {
  height: 100%;
  padding: 28px;
  border: var(--border);
  border-radius: 24px;
}
.capability-card h3 {
  color: var(--theme);
  font-size: 22px;
  margin-bottom: 14px;
}
.capability-card ul { list-style: none; margin: 0; padding: 0; }
.capability-card li {
  color: #bbbcbd;
  padding: 5px 0;
  line-height: 1.5;
}

/* ----- Featured text-only project card (no screenshot available) ----- */
.project-feature {
  padding: 36px;
  border-radius: 24px;
  background: var(--bg-2);
  color: #bbbcbd;
}
.project-feature .project-label {
  display: inline-block;
  color: var(--header);
  background: var(--theme);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.project-feature h3 { color: var(--white); margin-bottom: 12px; text-transform: none; }
.project-feature h3 a { color: inherit; }
.project-feature p { color: #bbbcbd; margin-bottom: 20px; }
.project-feature .project-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.project-feature .project-links .text-link { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.status-label {
  display: inline-block;
  border: var(--border-2);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 8px 12px 0;
}

/* Technology tags are labels, not links */
.main-sidebar .single-sidebar-widget .categories-list .list-item span {
  display: inline-block;
  padding: 4px 9px;
  background: var(--white);
  margin: 0 5px 12px 0;
  color: var(--text);
  border-radius: 100px;
}
.post-content .post-item h3 { font-size: 20px; margin-bottom: 6px; text-transform: none; }

/* ----- Workflow / process steps ----- */
.workflow-steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 30px; }
.workflow-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 52px;
  line-height: 1.6;
}
.workflow-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--theme);
  color: var(--header);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Contact forms ----- */
.contact-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-1 .contact-form .contact-box label { color: var(--white); }
.contact-box .field-hint { font-weight: 400; opacity: .75; }
.contact-box select.native-select {
  width: 100%;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 15px;
  border: 0;
  background-color: var(--white);
  color: var(--header);
  font-size: 16px;
}
.contact-1 .contact-form .contact-box select.native-select {
  background: transparent;
  color: var(--white);
  border: 1.2px solid rgba(102, 102, 102, 0.24);
}
.contact-1 .contact-form .contact-box select.native-select option { color: var(--header); }
.contact-box input[aria-invalid="true"],
.contact-box textarea[aria-invalid="true"] { box-shadow: 0 0 0 2px #e5484d; }
.field-error { color: #e5484d; font-size: 14px; margin: -8px 0 12px; }
.contact-1 .contact-form .field-error { color: #ff8a8d; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.is-success { color: #1a9e5c; }
.contact-1 .form-status.is-success { color: var(--theme); }
.form-status.is-error { color: #e5484d; }
.contact-1 .form-status.is-error { color: #ff8a8d; }
/* Contact page: the template only styles these blocks inside the homepage's .contact-1 */
.contact-wrapper-2 .contact-item-wrapper { margin-top: 30px; }
.contact-wrapper-2 .contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-wrapper-2 .contact-item .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: var(--bg);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-wrapper-2 .contact-item .icon i { color: var(--header); }
.contact-wrapper-2 .contact-item .as-h6 { text-transform: none; overflow-wrap: anywhere; }
.contact-wrapper-2 .contact-item .as-h6 a { color: var(--header); }
.contact-wrapper-2 .social { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 36px; }
.contact-wrapper-2 .social .social-list { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-wrapper-2 .social .social-list li a {
  width: 40px;
  height: 40px;
  background-color: var(--bg);
  color: var(--header);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-in-out;
}
.contact-wrapper-2 .social .social-list li a:hover { background: var(--theme); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-1 .contact-wrapper .contact-links a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* WCAG AA contrast fixes */
.footer-widget-wrapper .single-footer-widget .content { color: #bbbbbc; }
.breadcrumb-wrapper .page-heading .breadcrumb-list li a { color: #5c5859; }
.contact-wrapper-2 .section-title span.style-2 { color: var(--header); }

/* Heading-sized text on elements whose tag was changed to keep the heading outline in order */
.as-h4, .as-h5, .as-h6 {
  font-family: "Manrope", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--header);
  text-transform: capitalize;
  transition: all 0.4s ease-in-out;
}
.as-h4 { font-size: 24px; font-weight: 800; line-height: inherit; }
@media (max-width: 1199px) { .as-h4 { font-size: 20px; } }
.as-h5 { font-size: 20px; font-weight: 700; line-height: 140%; }
.as-h6 { font-size: 18px; font-weight: 600; line-height: 145%; }

/* width/height attributes reserve space; CSS still controls the rendered size */
:where(img[width][height]) { height: auto; }

/* ----- Former headings kept visually identical (text is decorative or a label, not a section title) ----- */
.marquee-text .marquee-label,
.client-reviews .cr-item .cr-count,
.client-reviews .cr-item .cr-label,
.offcanvas__contact .offcanvas-heading,
.footer-widget-wrapper .widget-title,
.about-button .phone .text p {
  font-family: "Manrope", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--header);
  text-transform: capitalize;
}
.marquee-text .marquee-label { font-size: 32px; font-weight: 800; line-height: 132%; color: var(--white); }
@media (max-width: 575px) { .marquee-text .marquee-label { font-size: 25px; } }
.client-reviews .cr-item .cr-count { font-size: 48px; font-weight: 800; line-height: 116%; }
@media (max-width: 1199px) { .client-reviews .cr-item .cr-count { font-size: 40px; } }
@media (max-width: 991px) { .client-reviews .cr-item .cr-count { font-size: 35px; } }
@media (max-width: 767px) { .client-reviews .cr-item .cr-count { font-size: 30px; } }
.client-reviews .cr-item .cr-label { font-size: 18px; font-weight: 600; line-height: 145%; }
@media (max-width: 575px) { .client-reviews .cr-item .cr-label { font-size: 16px; } }
.offcanvas__contact .offcanvas-heading,
.footer-widget-wrapper .widget-title { font-size: 24px; font-weight: 800; line-height: normal; }
@media (max-width: 1199px) {
  .offcanvas__contact .offcanvas-heading,
  .footer-widget-wrapper .widget-title { font-size: 20px; }
}
.footer-widget-wrapper .widget-title { color: var(--white); }
.about-button .phone .text p { font-size: 18px; font-weight: 600; line-height: 145%; }
.about-button .phone .text p a { color: inherit; }

.project-details-wrapper .project-details-content .list-item li { flex-wrap: nowrap; align-items: flex-start; }
.project-details-wrapper .project-details-content .list-item li img { flex-shrink: 0; margin-top: 3px; }
.project-details-wrapper .project-details-content .list-item li strong { margin-right: 5px; color: var(--header); white-space: nowrap; }
.related-links { list-style: none; padding: 0; margin: 0; }
.related-links li { padding: 4px 0; }
.related-links a { color: var(--header); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .marquee-content { animation: none !important; }
}
