/*!
Theme Name: HopeSoft
Theme URI: hopesoft.app
Author: Rahul Moral
Author URI: https://www.linkedin.com/in/rahulmoral/
Description: Description
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hopesoft
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
* {
  -webkit-tap-highlight-color: transparent;
}

body {
  font-size: 1rem;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

a,
button {
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease-in-out 0s;
}
a:focus,
button:focus {
  outline: none;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-wrapper .site-footer {
  margin-top: auto;
}

.custom-logo-link {
  max-width: 150px;
}
.custom-logo-link img {
  display: block;
  height: auto;
  max-height: unset;
  max-width: 100%;
}

.cf7-contact-form {
  width: 100%;
}

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

.cf7-full-width {
  grid-column: 1/-1;
}

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

.cf7-form-group label span {
  color: #ef4444;
}

.cf7-input,
.cf7-textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 12px 16px;
  color: #0f172a;
  font: inherit;
  outline: none;
  transition: all 0.3s ease-in-out 0s;
}

.cf7-textarea {
  min-height: 140px;
  resize: vertical;
}

.cf7-input::placeholder,
.cf7-textarea::placeholder {
  color: #94a3b8;
}

.cf7-input:focus,
.cf7-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cf7-submit {
  width: 100%;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  padding: 13px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cf7-submit:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cf7-form-grid {
    grid-template-columns: 1fr;
  }
  .cf7-full-width {
    grid-column: auto;
  }
}
.site-footer {
  background: #08264d;
  color: #d9e5f5;
  font-size: 15px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-main {
  padding: 52px 0 42px;
  background: linear-gradient(110deg, #08254a 0%, #0b315f 100%);
}

.footer-main .footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) minmax(160px, 1fr) minmax(245px, 1.35fr) minmax(170px, 1fr);
  gap: 46px;
}

.footer-brand .custom-logo-link {
  display: inline-block;
}

.footer-brand .custom-logo, .footer-logo {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 76px;
}

.footer-site-name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.footer-services-text {
  color: #d9e5f5;
  line-height: 1.8;
}

.footer-contact p {
  display: flex;
  gap: 11px;
  margin: 0 0 12px;
  line-height: 1.55;
}

.footer-contact p span {
  color: #bfdbfe;
  font-size: 15px;
  line-height: 1.55;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(148, 190, 238, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover, .social-links a:focus-visible {
  background: #1672d3;
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(180, 211, 245, 0.18);
}

.footer-bottom-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-menu a {
  color: #d9e5f5;
  text-decoration: none;
}

.footer-legal-menu a:hover, .footer-legal-menu a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 800px) {
  .footer-main .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
}
@media (max-width: 520px) {
  .footer-inner {
    padding: 0 20px;
  }
  .footer-main {
    padding: 38px 0;
  }
  .footer-main .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-inner {
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 22px;
    align-items: flex-start;
    flex-direction: column;
  }
}
.legal-content {
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}
.legal-content > * + * {
  margin-top: 1.25rem;
}
.legal-content h2, .legal-content h3, .legal-content h4 {
  color: #062c5c;
  font-weight: 800;
  line-height: 1.25;
}
.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}
.legal-content h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}
.legal-content ul, .legal-content ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}
.legal-content ul {
  list-style: disc;
}
.legal-content ol {
  list-style: decimal;
}
.legal-content a {
  color: #0874e8;
  font-weight: 600;
  text-decoration: underline;
}

.error-404 {
  display: grid;
  min-height: min(650px, 100vh - 76px);
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 83% 17%, rgba(20, 116, 232, 0.16), transparent 22rem), linear-gradient(135deg, #f5faff 0%, #fff 65%);
  padding: 72px 24px;
  text-align: center;
}

.error-404__content {
  max-width: 650px;
}

.error-404__code {
  margin: 0;
  color: #dbeafe;
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.75;
  user-select: none;
}

.error-404__eyebrow {
  margin: 28px 0 0;
  color: #0874e8;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error-404__title {
  margin: 12px 0 0;
  color: #062c5c;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.error-404__message {
  max-width: 520px;
  margin: 20px auto 0;
  color: #64748b;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.error-404__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  border-radius: 999px;
  background: #0874e8;
  padding: 14px 23px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.error-404__button:hover, .error-404__button:focus-visible {
  background: #055aba;
  color: #fff;
  transform: translateY(-2px);
}

.error-404 {
  display: grid;
  min-height: min(650px, 100vh - 76px);
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 83% 17%, rgba(20, 116, 232, 0.16), transparent 22rem), linear-gradient(135deg, #f5faff 0%, #fff 65%);
  padding: 72px 24px;
  text-align: center;
}

.error-404__content {
  max-width: 650px;
}

.error-404__code {
  margin: 0;
  color: #dbeafe;
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.75;
  user-select: none;
}

.error-404__eyebrow {
  margin: 28px 0 0;
  color: #0874e8;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error-404__title {
  margin: 12px 0 0;
  color: #062c5c;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.error-404__message {
  max-width: 520px;
  margin: 20px auto 0;
  color: #64748b;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.error-404__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  border-radius: 999px;
  background: #0874e8;
  padding: 14px 23px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.error-404__button:hover, .error-404__button:focus-visible {
  background: #055aba;
  color: #fff;
  transform: translateY(-2px);
}