:root {
  --phase2-bg: #f3f7fb;
  --phase2-bg-2: #eaf1f7;
  --phase2-dark: #0f2740;
  --phase2-text: #536b80;
  --phase2-accent: #0d6e8a;
  --phase2-accent-2: #3aa6b9;
  --phase2-primary-strong: #0a4f66;
  --phase2-footer-bg: #0f2740;
  --phase2-footer-soft: #16344f;
  --phase2-card: #ffffff;
  --phase2-border: #d7e3ee;
  --phase2-surface-about: #f7fbff;
  --phase2-surface-services: #eef6fb;
  --phase2-surface-benefits: #f8fcff;
  --phase2-surface-trust: #edf6fc;
  --phase2-surface-process: #f3f9fe;
  --phase2-surface-products: #eef5fb;

  /* Keep legacy template variables in sync with the phase2 palette */
  --theme: #0d6e8a;
  --theme2: #0f2740;
  --theme-color3: #3aa6b9;
  --header: #0f2740;
  --text: #536b80;
  --text-2: rgba(215, 232, 246, 0.88);
  --border: #d7e3ee;
  --border2: #1f3f5a;
  --border3: #2a89a4;
  --bg: #f3f7fb;
  --bg2: #0f2740;
  --bg3: rgba(255, 255, 255, 0.2);
  --title-color: #0f2740;
  --smoke-color: #f3f7fb;
  --smoke-color2: #eaf1f7;
  --smoke-color3: #eef4f9;
  --smoke-color4: #d7e3ee;
  --text-color: #536b80;
  --text-color2: #53718a;
  --border-color: #d7e3ee;
  --box-shadow-2: 0px 4px 25px rgba(13, 110, 138, 0.14);
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--phase2-bg);
  color: var(--phase2-text);
}

h1, h2, h3, h4, h5, h6,
.phase2-kicker {
  font-family: "Space Grotesk", sans-serif;
  color: var(--phase2-dark);
}

.phase2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--phase2-accent);
}

.phase2-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--phase2-accent), var(--phase2-accent-2));
}

.theme-btn {
  background: var(--phase2-accent);
  border: 1px solid var(--phase2-accent);
  color: #ffffff;
}

.theme-btn:hover,
.theme-btn:focus {
  background: #0a5a71;
  border-color: #0a5a71;
  color: #ffffff;
}

.theme-btn.bg-white {
  background: #ffffff;
  color: var(--phase2-accent);
  border-color: #ffffff;
}

.theme-btn.bg-white:hover,
.theme-btn.bg-white:focus {
  background: #f3fbff;
  border-color: #f3fbff;
  color: #0a5a71;
}

.header-button .theme-btn,
.header-button .theme-btn.bg-white {
  background: var(--phase2-accent) !important;
  border-color: var(--phase2-accent) !important;
  color: #fff !important;
}

.header-button .theme-btn:hover,
.header-button .theme-btn.bg-white:hover {
  background: var(--phase2-primary-strong) !important;
  border-color: var(--phase2-primary-strong) !important;
  color: #fff !important;
}

.header-3 .header-main .header-right .header-button::before,
.header-3 .header-button::before {
  border-top-color: var(--phase2-accent) !important;
}

.phase2-section-heading h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.16;
  margin: 12px 0;
}

.phase2-section-heading p {
  margin: 0;
  max-width: 760px;
}

.phase2-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 70px;
}

.phase2-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #eef5fa 0%, #f7fbfe 100%);
  z-index: 0;
}

.phase2-hero .container {
  position: relative;
  z-index: 1;
}

.phase2-hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  margin: 16px 0 18px;
  max-width: 620px;
}

.phase2-hero p {
  font-size: 18px;
  max-width: 560px;
  line-height: 1.65;
}

.phase2-hero-visual {
  background: #ffffff;
  border: 1px solid var(--phase2-border);
  border-radius: 24px;
  box-shadow: 0 8px 22px rgba(12, 30, 43, 0.08);
  padding: 10px;
}

.phase2-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.theme-btn.style-border {
  background: transparent;
  border: 1px solid var(--phase2-accent);
  color: var(--phase2-accent);
}

.phase2-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  background: var(--phase2-card);
  border: 1px solid var(--phase2-border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(12, 30, 43, 0.05);
}

.metric-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--phase2-accent);
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #5d7383;
}

.phase2-about {
  background: var(--phase2-surface-about);
}

.phase2-about-points {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.phase2-point {
  background: #fff;
  border: 1px solid var(--phase2-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: #244151;
  font-weight: 600;
}

.phase2-point i {
  color: var(--phase2-accent);
  margin-right: 8px;
}

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

.phase2-about-card {
  background: #fff;
  border: 1px solid var(--phase2-border);
  border-radius: 18px;
  padding: 20px;
  min-height: 168px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-about-card h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.phase2-about-card p {
  margin: 0;
  line-height: 1.6;
}

.phase2-services-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.phase2-service-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--phase2-border);
  padding: 18px;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 16px rgba(12, 30, 43, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(12, 30, 43, 0.14);
  border-color: #bbd5e6;
}

.phase2-service-card h3 {
  margin: 2px 0 8px;
  font-size: 22px;
}

.phase2-service-card p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.phase2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent, var(--phase2-accent));
}

.phase2-process {
  background: var(--phase2-surface-process);
}

.phase2-process-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.phase2-process-step {
  position: relative;
  border: 1px solid var(--phase2-border);
  border-radius: 16px;
  background: #fff;
  padding: 22px 18px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(15, 39, 64, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--phase2-accent), var(--phase2-accent-2));
}

.phase2-process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 26px rgba(15, 39, 64, 0.14);
  border-color: #b8d1e4;
}

.phase2-process-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.phase2-process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--phase2-accent), #0ca2b5);
  color: #fff;
  font-weight: 700;
}

.phase2-process-top i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 138, 0.1);
  color: var(--phase2-accent);
  font-size: 15px;
}

.phase2-process-step h4 {
  font-size: 21px;
  margin: 4px 0 8px;
}

.phase2-process-step p {
  margin: 0;
}

.phase2-pricing {
  background: var(--phase2-dark);
}

.phase2-pricing .phase2-section-heading h2,
.phase2-pricing .phase2-kicker,
.phase2-pricing .phase2-section-heading p {
  color: #fff;
}

.phase2-pricing .phase2-pricing-note {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  color: #d9eaf8;
}

.phase2-price-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  padding: 18px;
  height: 100%;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-price-card h5 {
  color: #d8ebf6;
  font-size: 18px;
  margin-bottom: 10px;
}

.phase2-price-card p {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.phase2-products {
  background: var(--phase2-surface-products);
}

#portfolio-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  white-space: nowrap;
  padding: 0 0 6px !important;
  margin: 0 auto 18px !important;
  width: 100%;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

#portfolio-tabs .project-item-card,
#portfolio-tabs .project-item-card.style1 {
  border-radius: 999px;
  border: 1px solid var(--phase2-border);
  background: #fff;
  padding: 9px 14px;
  cursor: pointer;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap;
}

#portfolio-tabs .project-item-card.active {
  background: linear-gradient(135deg, #0f7d8c, #0ea7ba);
  border-color: #0f7d8c;
  color: #fff;
}

#portfolio-tabs .project-item-card h5 {
  margin: 0;
  font-size: 13px;
  color: inherit;
}

#portfolio-tabs .project-item-card i {
  font-size: 14px;
}

.phase2-product-card {
  height: 100%;
  border-radius: 18px;
  border: 1px solid var(--phase2-border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(12, 30, 43, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(12, 30, 43, 0.14);
  border-color: #bed8e7;
}

.phase2-clickable-product {
  cursor: pointer;
}

.phase2-product-icon {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--phase2-border);
  background: linear-gradient(180deg, rgba(13, 110, 138, 0.1), rgba(13, 110, 138, 0.03));
}

.phase2-product-icon i {
  font-size: 54px;
  color: var(--accent, var(--phase2-accent));
}

.phase2-product-card .phase2-product-body {
  padding: 16px 16px 20px;
}

.phase2-product-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.phase2-cta {
  padding: 0 0 120px;
}

.phase2-cta-box {
  background: #145d70;
  border-radius: 22px;
  padding: 42px;
  text-align: center;
  color: #d8f4fb;
}

.phase2-cta-box h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 36px);
}

.phase2-cta-box p {
  max-width: 720px;
  margin: 0 auto 24px;
}

.phase2-cta-box .phase2-cta-lead {
  color: #ffffff !important;
}

.phase2-mobile-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--phase2-border);
}

.phase2-mobile-logo img {
  height: 36px;
}

.mobile-footer-nav {
  z-index: 90;
}

.mobile-footer-nav ul {
  background: #fff;
  border-top: 1px solid var(--phase2-border);
}

.mobile-footer-nav a.active {
  color: var(--phase2-accent);
}

.phase2-benefit-card {
  border-radius: 14px;
  border: 1px solid var(--phase2-border);
  background: #ffffff;
  padding: 20px 18px;
  height: 100%;
  box-shadow: 0 4px 12px rgba(12, 30, 43, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-benefit-card:hover,
.phase2-about-card:hover,
.phase2-trust-box:hover,
.phase2-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 24px rgba(12, 30, 43, 0.12);
  border-color: #bdd7e7;
}

.phase2-benefit-card i {
  font-size: 26px;
  color: var(--phase2-accent);
  margin-bottom: 12px;
}

.phase2-benefit-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.phase2-benefit-card p {
  margin-bottom: 0;
  line-height: 1.6;
}

.phase2-benefits-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.phase2-trust {
  background: var(--phase2-surface-trust);
}

.phase2-services {
  background: var(--phase2-surface-services);
}

.phase2-benefits {
  background: var(--phase2-surface-benefits);
}

.phase2-trust-box {
  border: 1px solid var(--phase2-border);
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-trust-box i {
  color: var(--phase2-accent);
  margin-right: 8px;
}

.phase2-trust-box h4 {
  margin-bottom: 8px;
  font-size: 21px;
}

.phase2-trust-box p {
  margin-bottom: 0;
  line-height: 1.6;
}

.phase2-trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase2-trust-list li {
  border: 1px solid var(--phase2-border);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  color: var(--phase2-dark);
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.phase2-trust-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(12, 30, 43, 0.09);
}

.phase2-service-catalog {
  background: #f2f8fc;
}

.phase2-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.phase2-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--phase2-border);
  background: #fff;
  color: var(--phase2-dark);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
}

.phase2-filter-chip:hover,
.phase2-filter-chip.active {
  color: #fff;
  border-color: var(--phase2-accent);
  background: linear-gradient(135deg, var(--phase2-accent), var(--phase2-accent-2));
}

.phase2-catalog-category {
  border: 1px solid var(--phase2-border);
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 10px 24px rgba(15, 39, 64, 0.08);
}

.phase2-catalog-category-head {
  margin-bottom: 18px;
}

.phase2-catalog-category-head h3 {
  margin-bottom: 6px;
  font-size: 30px;
}

.phase2-catalog-category-head p {
  margin-bottom: 0;
}

.phase2-catalog-card {
  border: 1px solid var(--phase2-border);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(15, 39, 64, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.phase2-catalog-card:hover {
  transform: translateY(-5px);
  border-color: #bdd7e7;
  box-shadow: 0 14px 24px rgba(15, 39, 64, 0.12);
}

.phase2-catalog-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.phase2-catalog-card-head h4 {
  margin: 0 0 6px;
  font-size: 25px;
}

.phase2-catalog-card-head p {
  margin: 0;
}

.phase2-catalog-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.phase2-package-card {
  border: 1px solid var(--phase2-border);
  border-radius: 14px;
  background: #f8fbfe;
  padding: 14px 14px 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.phase2-package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(15, 39, 64, 0.1);
  border-color: #b8d3e4;
}

.phase2-package-name {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(13, 110, 138, 0.12);
  color: #0c5064;
}

.phase2-package-price {
  margin: 10px 0 10px;
  font-size: 25px;
  font-weight: 800;
  color: var(--phase2-dark);
}

.phase2-package-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase2-package-card li {
  font-size: 14px;
  color: #355266;
  margin-bottom: 7px;
  line-height: 1.4;
}

.phase2-package-card li i {
  color: var(--phase2-accent);
  margin-right: 6px;
}

.phase2-package-cta {
  width: 100%;
  justify-content: center;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 10px;
}

.phase2-contact {
  background: #eef6fb;
}

.phase2-contact-panel,
.phase2-contact-form-wrap {
  border: 1px solid var(--phase2-border);
  border-radius: 20px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 10px 20px rgba(15, 39, 64, 0.08);
}

.phase2-contact-panel h3,
.phase2-contact-form-wrap h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.phase2-contact-panel p,
.phase2-contact-form-wrap p {
  margin-bottom: 14px;
}

.phase2-contact-points {
  display: grid;
  gap: 12px;
}

.phase2-contact-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--phase2-border);
  border-radius: 14px;
  padding: 12px;
  background: #f7fbff;
}

.phase2-contact-point i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--phase2-accent), var(--phase2-accent-2));
}

.phase2-contact-point h4 {
  margin: 0 0 2px;
  font-size: 16px;
}

.phase2-contact-point p {
  margin: 0;
}

.phase2-contact-point a {
  color: var(--phase2-dark);
}

.phase2-trust-list i {
  color: var(--phase2-accent);
  margin-right: 8px;
}

/* Footer unification */
.footer-section.footer-bg,
.footer-bg {
  background: var(--phase2-footer-bg) !important;
}

.contact-info-area .contact-info-items {
  background: linear-gradient(135deg, var(--phase2-primary-strong), var(--phase2-accent));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 104px;
}

.contact-info-area .contact-info-items:not(:last-child) {
  border-right: none;
  padding-right: 18px;
}

.contact-info-area .contact-info-items .icon {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-area .contact-info-items .icon::before {
  display: none;
}

.contact-info-area .contact-info-items .content p,
.contact-info-area .contact-info-items .content h3,
.contact-info-area .contact-info-items .content a,
.footer-section .widget_title,
.footer-section .about-text,
.footer-section .menu a,
.footer-section .checklist li,
.footer-section .checklist a {
  color: #d7e8f6 !important;
}

.contact-info-area .contact-info-items svg path {
  fill: #dff6fb !important;
}

.widget.footer-widget .widget_title:before {
  background: var(--phase2-accent-2) !important;
}

.copyright-wrap.bg-theme {
  background: linear-gradient(90deg, var(--phase2-primary-strong), var(--phase2-accent)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.copyright-wrap .copyright,
.copyright-wrap .copyright a {
  color: #e6f2fb !important;
}

@media (max-width: 991px) {
  .phase2-services-head {
    align-items: start;
    flex-direction: column;
  }

  .phase2-about-grid {
    grid-template-columns: 1fr;
  }

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

  .phase2-metrics {
    grid-template-columns: 1fr;
  }

  .phase2-cta {
    padding-bottom: 110px;
  }

  #portfolio-tabs {
    justify-content: flex-start;
  }

  .phase2-catalog-card-head {
    flex-direction: column;
  }

  .phase2-catalog-head-actions {
    justify-content: flex-start;
  }

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

  .phase2-contact-panel,
  .phase2-contact-form-wrap {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .phase2-hero {
    padding-top: 16px;
  }

  .phase2-hero h1 {
    font-size: 34px;
  }

  .phase2-hero p {
    font-size: 16px;
  }

  .phase2-service-card,
  .phase2-process-step,
  .phase2-about-card,
  .phase2-price-card {
    border-radius: 14px;
  }

  .phase2-process-grid {
    grid-template-columns: 1fr;
  }

  #portfolio-tabs .project-item-card {
    flex: 0 0 auto !important;
    justify-content: center;
  }

  .phase2-cta-box {
    padding: 28px 18px;
  }

  .phase2-benefits-actions {
    justify-content: stretch;
  }

  .phase2-catalog-category {
    padding: 20px 14px;
  }

  .phase2-catalog-category-head h3 {
    font-size: 26px;
  }

  .phase2-package-grid {
    grid-template-columns: 1fr;
  }

  .phase2-contact-panel h3,
  .phase2-contact-form-wrap h3 {
    font-size: 24px;
  }
}
