/* Shared premium facelift for the public-facing site.
   Keeps the current content structure, but gives pages a more cohesive,
   editorial, card-based feel inspired by the newer About page. */

:root {
  --th-font-display: "PT Serif", Georgia, serif;
  --th-font-body: "Open Sans", sans-serif;
  --th-font-ui: "Raleway", sans-serif;
  --th-bg: #edf2f7;
  --th-bg-alt: #e5ebf2;
  --th-surface: #ffffff;
  --th-surface-alt: #f7fafc;
  --th-text: #1f2937;
  --th-text-soft: #5f6f82;
  --th-border: rgba(47, 79, 79, 0.14);
  --th-shadow-lg: 0 24px 54px rgba(15, 23, 42, 0.1);
  --th-shadow-md: 0 16px 34px rgba(15, 23, 42, 0.08);
  --th-radius-xl: 24px;
  --th-radius-lg: 18px;
  --th-radius-md: 14px;
}

body {
  font-family: var(--th-font-body);
  color: var(--th-text);
  background:
    radial-gradient(circle at top left, rgba(32, 178, 170, 0.12), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(0, 206, 209, 0.08), transparent 20%),
    linear-gradient(180deg, #f5f8fb 0%, var(--th-bg) 40%, #eef3f7 100%);
}

body::selection {
  background: rgba(32, 178, 170, 0.18);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--th-font-display);
  color: var(--dark-color);
  letter-spacing: -0.02em;
}

p,
li,
label,
input,
textarea,
select,
button {
  font-family: var(--th-font-body);
}

a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.construct {
  position: relative;
}

#page-title {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 2.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 10%, rgba(72, 209, 204, 0.18), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(0, 206, 209, 0.16), transparent 20%),
    linear-gradient(135deg, #17303f 0%, #1f4950 42%, #17363c 100%);
}

#page-title::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

#page-title .container {
  position: relative;
  z-index: 1;
  padding-left: 15px;
  padding-right: 15px;
}

#page-title .title h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0;
}

#page-title .page-breadcumb {
  font-family: var(--th-font-ui);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
}

#page-title .page-breadcumb a {
  color: rgba(255, 255, 255, 0.96);
}

#page-title .page-breadcumb i {
  color: var(--primary-color-light);
}

.section-title {
  margin-bottom: 1.6rem;
}

.section-title h1,
.section-title h2 {
  font-family: var(--th-font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem) !important;
  font-weight: 700 !important;
  color: var(--dark-color) !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0.8rem !important;
  text-align: left;
}

.section-title h1::before,
.section-title h2::before {
  display: none !important;
}

.section-title p,
.home-section-description,
.privacy-note,
.error-help p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--th-text-soft);
}

.btn-cta,
button.btn-cta,
.view-all,
#submitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
  color: #fff !important;
  font-family: var(--th-font-ui);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 32px rgba(32, 178, 170, 0.24);
}

.btn-cta:hover,
.view-all:hover,
#submitBtn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(32, 178, 170, 0.28);
}

.filter-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(32, 178, 170, 0.16);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--th-text-soft) !important;
  font-family: var(--th-font-ui);
  font-weight: 600;
  font-size: 0.84rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
  color: #fff !important;
  border-color: transparent;
}

footer.construct {
  background:
    radial-gradient(circle at 20% 0%, rgba(72, 209, 204, 0.12), transparent 26%),
    linear-gradient(180deg, #0f1f24 0%, #132931 100%);
}

footer.construct .container {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3rem;
  padding-bottom: 2.2rem;
}

footer.construct .footer-grid {
  row-gap: 1.4rem;
}

footer.construct .widget {
  margin-bottom: 0;
}

footer.construct .widget h3 {
  font-family: var(--th-font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding-bottom: 0;
  margin-bottom: 1rem;
}

footer.construct .widget p,
footer.construct .widget li,
footer.construct .widget .contact-info li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.7;
}

footer.construct .footer-links li + li,
footer.construct .footer-contact-list li + li {
  margin-top: 0.55rem;
}

footer.construct .footer-links a,
footer.construct .contact-info a,
footer.construct .footer-portal-link {
  color: rgba(255, 255, 255, 0.9);
}

footer.construct .footer-links a:hover,
footer.construct .contact-info a:hover,
footer.construct .footer-portal-link:hover {
  color: var(--primary-color-light);
}

footer.construct .footer-brand-col {
  padding-right: 2rem;
}

footer.construct .footer-logo {
  max-width: 160px;
  margin: 0 0 1rem;
}

footer.construct .employee-portal-note {
  color: rgba(255, 255, 255, 0.58) !important;
}

#bottom-bar {
  background: #0d1a1f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#bottom-bar .container p,
#bottom-bar .credit,
#bottom-bar .copyright {
  color: rgba(255, 255, 255, 0.76);
}

#bottom-bar a {
  color: rgba(255, 255, 255, 0.92);
}

/* Service pages */
.service-detail-content {
  padding: 2.25rem 0 4rem;
}

.service-detail-content section.construct {
  padding: 0 0 1.8rem;
}

.service-detail-content section.construct > .container,
#contact-content > .container,
#project-content > .container,
#project-list > .container,
#project-gallery > .container,
#privacy-content > .container,
#page-404-content > .container,
#our-team-construct > .container {
  padding: 0 15px;
}

.service-detail-content section.construct:first-of-type .container {
  padding: 2rem;
  border-radius: var(--th-radius-xl);
  background:
    radial-gradient(circle at top right, rgba(32, 178, 170, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #fff 100%);
  border: 1px solid var(--th-border);
  box-shadow: var(--th-shadow-lg);
}

.service-detail-content section.construct:first-of-type img {
  border-radius: 20px;
  box-shadow: var(--th-shadow-md);
}

.service-detail-content section.construct:not(:first-of-type) .container {
  padding: 1.75rem 2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(47, 79, 79, 0.1);
  box-shadow: var(--th-shadow-md);
}

.service-detail-content .section-title h1 {
  max-width: 15ch;
}

.service-detail-content .bullet-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.service-detail-content .bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--th-text);
  line-height: 1.65;
}

.service-detail-content .bullet-list li .fa {
  color: var(--primary-color);
  margin-top: 0.3rem;
}

.service-detail-content section.construct .row > .col-lg-4,
.service-detail-content section.construct .row > .col-md-4 {
  margin-bottom: 1rem;
}

.service-detail-content section.construct .row > .col-lg-4 h4,
.service-detail-content section.construct .row > .col-md-4 h4 {
  margin: 0;
  height: 100%;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: var(--th-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border: 1px solid rgba(32, 178, 170, 0.12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.service-detail-content section.construct .row > .col-lg-4 h4 i,
.service-detail-content section.construct .row > .col-md-4 h4 i {
  color: var(--primary-color-dark);
}

.service-detail-content section.construct .row > .col-lg-4 p,
.service-detail-content section.construct .row > .col-md-4 p {
  margin-top: 0.85rem;
  color: var(--th-text-soft);
}

#managed-hosting-benefits .col-lg-4,
#remote-support-benefits .col-lg-4,
#webdev-benefits .col-lg-4,
#ai-setup-benefits .col-lg-4,
#repair-benefits .col-lg-4,
#tuneup-benefits .col-lg-4 {
  display: flex;
}

#managed-hosting-benefits .col-lg-4 > *,
#remote-support-benefits .col-lg-4 > *,
#webdev-benefits .col-lg-4 > *,
#ai-setup-benefits .col-lg-4 > *,
#repair-benefits .col-lg-4 > *,
#tuneup-benefits .col-lg-4 > * {
  width: 100%;
}

.service-detail-content section.construct:last-of-type .container {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(32, 178, 170, 0.12), rgba(0, 206, 209, 0.08)),
    #fff !important;
}

.service-detail-content .section-cta {
  margin-top: 1.25rem;
}

/* Home */
#hero .hero-slide {
  position: relative;
}

#hero .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 16, 20, 0.78) 0%, rgba(10, 16, 20, 0.5) 42%, rgba(10, 16, 20, 0.16) 100%);
  z-index: 1;
}

#hero .hero-slide > img {
  min-height: 640px;
  object-fit: cover;
}

#hero .banner-overlay {
  z-index: 2;
}

#hero .bo-h2,
#hero .bo-h3 {
  font-family: var(--th-font-display);
  color: #fff;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

#hero .bo-h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

#hero .bo-h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

#hero .bo-p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
}

#construction-welcome,
#hosting-ai,
#service-we-provide,
#commercial-work,
#residential-work {
  padding: 4rem 0;
}

.about-highlight.home-intro,
.home-section-intro-card,
.maytag-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(47, 79, 79, 0.1);
  box-shadow: var(--th-shadow-lg);
  border-radius: var(--th-radius-xl);
}

.about-highlight.home-intro {
  padding: 2rem;
  margin-bottom: 2rem;
}

.about-highlight.home-intro h1,
.home-section-title {
  font-family: var(--th-font-display);
  color: var(--dark-color);
}

.home-section-intro-card {
  padding: 1.6rem 1.8rem;
}

.what-we-do-hero {
  margin: 0 0 1.5rem;
}

.what-we-do-overlay-card,
.feature-hero-overlay-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.features-hero-grid .feature-hero {
  min-height: 300px;
  border-radius: var(--th-radius-xl);
  overflow: hidden;
  box-shadow: var(--th-shadow-lg);
}

.feature-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 24, 0.12) 0%, rgba(11, 19, 24, 0.68) 100%);
}

.feature-hero-overlay-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.feature-hero-overlay-card h2,
.feature-hero-overlay-card p {
  color: #fff;
}

.services-grid .service-card,
.project-card,
#our-team-construct .single-construct-member.simple {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(47, 79, 79, 0.1);
  border-radius: var(--th-radius-lg);
  box-shadow: var(--th-shadow-md);
}

.services-grid .service-card {
  padding: 1.6rem;
}

.services-grid .service-card .icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 178, 170, 0.12);
  color: var(--primary-color-dark);
  margin-bottom: 1rem;
}

.services-grid .service-card h3 {
  margin-bottom: 0.65rem;
}

.services-grid .service-card p,
.services-grid .service-card ul li {
  color: var(--th-text-soft);
}

.services-grid .service-card ul li i {
  color: var(--primary-color);
}

.home-projects-nav button,
.home-project-filters + .view-all-btn .view-all {
  border-radius: 999px;
}

/* Contact */
#contact-content {
  padding: 3.4rem 0 4rem;
}

#contact-content .section-title {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

#contact-content .contact-form,
#contact-content .contact-info {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(47, 79, 79, 0.1);
  border-radius: var(--th-radius-xl);
  box-shadow: var(--th-shadow-lg);
}

#contact-content .contact-form {
  padding: 1.8rem;
}

#contact-content .contact-info {
  padding: 1.8rem;
}

#contact-content .contact-form p {
  margin-bottom: 1rem;
}

#contact-content input,
#contact-content textarea {
  width: 100%;
  border: 1px solid rgba(47, 79, 79, 0.16);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

#submitBtn:disabled,
.btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

#contact-content input:focus,
#contact-content textarea:focus {
  outline: none;
  border-color: rgba(32, 178, 170, 0.5);
  box-shadow: 0 0 0 4px rgba(32, 178, 170, 0.14);
}

#contact-content .contact-info h3 {
  margin-bottom: 0.8rem;
}

#contact-content .contact-info ul {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

#contact-content .contact-info li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--th-text-soft);
}

#contact-content .contact-info li i {
  color: var(--primary-color-dark);
}

/* Team */
#our-team-construct {
  padding: 3.5rem 0 4rem;
}

#our-team-construct > .container > p,
#our-team-construct .team-intro {
  max-width: 46rem !important;
  margin: 0 auto 2rem !important;
  text-align: center !important;
  color: var(--th-text-soft);
}

#our-team-construct .single-construct-member.simple {
  overflow: hidden;
}

#our-team-construct .single-construct-member.simple .img-holder {
  background: linear-gradient(180deg, rgba(32, 178, 170, 0.08), rgba(32, 178, 170, 0.02));
}

#our-team-construct .member-header {
  padding: 1.4rem 1.2rem 1.5rem;
}

/* Projects */
#project-content,
#project-list,
#project-gallery,
#privacy-content,
#page-404-content {
  padding: 3.5rem 0 4rem;
}

#project-content .container > p {
  max-width: 46rem !important;
  margin: 0 auto 1.8rem !important;
  text-align: center;
  color: var(--th-text-soft);
}

#project-content .projects-intro {
  max-width: 46rem;
}

#project-list .filter-bar,
#project-gallery .filter-bar,
.home-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--th-radius-lg);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(47, 79, 79, 0.1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

#project-list .filter-label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--dark-color) !important;
  font-family: var(--th-font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#project-list .projects-filter-bar {
  margin-bottom: 1.9rem !important;
}

.view-all-btn {
  margin-bottom: 1.5rem !important;
  text-align: left !important;
}

.home-projects-nav {
  margin-top: 1.5rem !important;
}

.home-projects-nav button {
  padding: 0.72rem 1.2rem;
  border: 1px solid rgba(32, 178, 170, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--dark-color);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

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

.project-card .project-body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.project-card h4 {
  margin-bottom: 0.45rem;
}

.project-card p {
  color: var(--th-text-soft);
}

.project-card .badge {
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(32, 178, 170, 0.12) !important;
  color: var(--primary-color-dark) !important;
  border: 1px solid rgba(32, 178, 170, 0.16);
}

/* Privacy */
#privacy-content .col-lg-12 {
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 2rem 2rem 2.2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--th-radius-xl);
  border: 1px solid rgba(47, 79, 79, 0.1);
  box-shadow: var(--th-shadow-lg);
}

#privacy-content h2 {
  margin-top: 1.55rem !important;
  margin-bottom: 0.55rem !important;
  font-size: 1.3rem !important;
}

/* 404 */
#page-404-content .error-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.4rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  border: 1px solid rgba(47, 79, 79, 0.12);
  box-shadow: var(--th-shadow-lg);
}

#page-404-content .error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--primary-color-dark);
}

#page-404-content .error-message,
#page-404-content .error-help p {
  color: var(--th-text-soft);
}

#page-404-content .error-reasons {
  display: inline-grid;
  gap: 0.55rem;
  text-align: left;
  margin: 1rem auto 1.5rem;
}

#page-404-content .error-reasons li {
  list-style: disc;
  margin-left: 1.2rem;
}

#page-404-content .error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

/* About harmony */
body.page-about-premium {
  background:
    radial-gradient(circle at top left, rgba(32, 178, 170, 0.1), transparent 25%),
    linear-gradient(180deg, #f5f8fb 0%, var(--th-bg) 100%);
}

@media (max-width: 991px) {
  #page-title {
    padding: 2rem 0 1.7rem;
  }

  .service-detail-content section.construct:first-of-type .container,
  .service-detail-content section.construct:not(:first-of-type) .container,
  #privacy-content .col-lg-12,
  #page-404-content .error-content {
    padding: 1.5rem;
  }

  footer.construct .footer-brand-col {
    padding-right: 15px;
  }
}

@media (max-width: 767px) {
  #topbar .topbar-tagline {
    display: none;
  }

  #page-title .title,
  #page-title .page-breadcumb {
    width: 100%;
    text-align: left;
  }

  #hero .hero-slide > img {
    min-height: 520px;
  }

  #page-404-content .error-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
