/* ================================
   Noah Technologies - Main Styles
   File: assets/main.css
   ================================ */

/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global styles */
html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0b1a33;
  background-color: #f7f9fc;
  line-height: 1.6;
}

/* Simple container helper (optional) */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* ================================
   Header & Navigation
   ================================ */


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0F1F3D; /* premium dark navy for Option 2 */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Header link wrapper used on newer pages */
.header-brand {
  display: flex;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.header-company-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-left: 0;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  color: #e4ecff;
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.main-nav a.active {
  background-color: #1e4fd8;
  color: #ffffff;
}

/* ================================
   Hero Section
   ================================ */

.hero {
  position: relative;
  padding: 2.75rem 1.25rem 1.6rem;
  background-image: url("img/hero/noah-technologies-web-design-north-carolina-hero-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12); /* soft overlay for readability */
  z-index: 0;
}

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

.hero h1 {
  max-width: 700px;
  margin: 0 auto 0.75rem;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
}

.hero p {
  max-width: 520px;
  margin: 0 auto 1.1rem;
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.55;
}

.hero .hero-support {
  margin-top: 0.25rem;
  margin-bottom: 1.05rem;
  font-size: 0.98rem;
  opacity: 0.9;
}

.hero .hero-links {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-subline {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.88;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.hero .btn-primary {
  margin-top: 0.4rem;
  margin-bottom: 1.05rem;
}

/* ================================
   Buttons
   ================================ */

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  background-color: #1e4fd8;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(29, 118, 221, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: #247bd1;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(29, 118, 221, 0.45);
}

/* Generic button styles (used on thank-you and other pages) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 22px rgba(15, 31, 61, 0.14);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 31, 61, 0.18);
}

.btn:active {
  transform: translateY(0);
}

.btn {
  background-color: #2e8bff;
  color: #ffffff;
}

.btn-secondary {
  background-color: #153256;
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: #153256;
  border-color: rgba(15, 31, 61, 0.22);
  box-shadow: none;
}

.btn-ghost:hover {
  background-color: rgba(21, 50, 86, 0.06);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-primary {
    transition: none;
  }

  .btn:hover,
  .btn-primary:hover {
    transform: none;
  }
}


/* ================================
   Trust Strip (Home)
   ================================ */

.trust-strip {
  padding: 1.25rem 1.25rem;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 31, 61, 0.06);
}

.trust-strip .container {
  max-width: 1100px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  background-color: #f7f9fc;
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 10px 20px rgba(15, 31, 61, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 31, 61, 0.14),
              0 4px 10px rgba(15, 31, 61, 0.08);
  background-color: rgba(240, 245, 255, 0.6);
}

.trust-item img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
}

.trust-item p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f1f3d;
  letter-spacing: 0.1px;
  line-height: 1.25;
}

.trust-item p strong {
  display: block;
  font-weight: 650;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 0.55rem;
    padding: 0.95rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .trust-strip {
    padding: 1.1rem 1.05rem;
  }

  .trust-item {
    padding: 0.8rem 0.85rem;
  }

  .trust-item img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .trust-item p {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

/* ================================
   Services Section
   ================================ */

.services {
  padding: 3rem 1.25rem 2.5rem;
  background-color: #f7f9fc;
}

.services h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: #0b1a33;
}

.service-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-box {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;

  /* Updated border and shadow for more definition */
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 12px 28px rgba(15, 31, 61, 0.10), 
              0 2px 6px rgba(15, 31, 61, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 31, 61, 0.14),
              0 4px 10px rgba(15, 31, 61, 0.08);
  background-color: rgba(240, 245, 255, 0.6);
}

@media (hover: none) {
  .service-box:hover,
  .trust-item:hover,
  .why-card:hover,
  .about-card:hover,
  .process-steps li:hover,
  .pricing-card:hover,
  .payment-card:hover {
    transform: none;
    box-shadow: 0 12px 28px rgba(15, 31, 61, 0.10),
                0 2px 6px rgba(15, 31, 61, 0.06);
    background-color: #ffffff;
  }
}

.service-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #0f1f3d;
  font-weight: 600;
}

.service-box p {
  font-size: 0.96rem;
  color: #4a5874;
}

/* ================================
   CTA Section
   ================================ */

.cta {
  padding: 3rem 1.25rem 3.5rem;
  background-color: #153256; /* slightly lighter navy for smoother section flow */
  color: #ffffff;
  text-align: center;
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.08);
}

.cta h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.cta p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-nap {
  margin-bottom: 0.75rem;
}

.cta-nap p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0.1rem 0;
}

.cta-nap p a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.cta-nap p a:hover {
  text-decoration: underline;
}

/* ================================
   Contact Page
   ================================ */

/* Contact hero tweaks (reuses .hero base styles) */
.hero.contact-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.hero.contact-hero p {
  max-width: 640px;
}

/* Contact layout */
.contact-section {
  padding: 3rem 1.25rem 3.5rem;
  background-color: #f7f9fc;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-form-panel,
.contact-info-panel {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 12px 28px rgba(15, 31, 61, 0.08),
              0 2px 6px rgba(15, 31, 61, 0.05);
}

.contact-form-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-intro {
  font-size: 0.95rem;
  color: #4a5874;
  margin-bottom: 1.25rem;
}

/* Form fields */
.contact-form .form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #0f1f3d;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(15, 31, 61, 0.18);
  font-size: 0.95rem;
  outline: none;
  background-color: #fdfdff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
} 

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="url"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #2e8bff;
  box-shadow: 0 0 0 1px rgba(46, 139, 255, 0.25);
  background-color: #ffffff;
}

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.form-checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-weight: 400;
  font-size: 0.92rem;
  color: #4a5874;
}

.form-checkbox-group input[type="checkbox"] {
  margin-top: 0.18rem;
}

.contact-note {
  font-size: 0.85rem;
  color: #6b7793;
  margin-top: 0.4rem;
}

/* Contact info panel */
.contact-info-panel h2 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-info-panel h3 {
  font-size: 0.98rem;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  color: #0f1f3d;
}

.contact-info-panel p {
  font-size: 0.93rem;
  color: #4a5874;
  margin-bottom: 0.4rem;
}

.contact-info-panel a {
  color: #2e8bff;
  text-decoration: none;
}

.contact-info-panel a:hover {
  text-decoration: underline;
}

.contact-expect-list {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.93rem;
  color: #4a5874;
}

.contact-expect-list li + li {
  margin-top: 0.35rem;
}

/* Contact responsiveness */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 2.5rem 1.25rem 3rem;
  }
}

@media (max-width: 600px) {
  .contact-form-panel,
  .contact-info-panel {
    padding: 1.4rem 1.25rem;
  }

  .hero.contact-hero {
    padding-top: 2.6rem;
    padding-bottom: 2.3rem;
  }
}


/* ================================
   Service Area List (Contact Page)
   ================================ */

.service-area-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.95rem;
  color: #273551;
}

.service-area-list li::before {
  content: "• ";
  color: #4a77f6; /* matches brand blue */
}

/* ================================
   Pricing Sections (Websites Page)
   ================================ */

.pricing-section {
  padding: 3rem 1.25rem 3.5rem;
  background-color: #f7f9fc;
}

.pricing-section-alt {
  background-color: #ffffff;
  padding-top: 2.75rem;
  padding-bottom: 3.25rem;
}

.pricing-section h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  color: #0b1a33;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: #4a5874;
  opacity: 0.95;
}

/* Grid layout for pricing cards */
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(15, 31, 61, 0.09);
  box-shadow: 0 12px 26px rgba(15, 31, 61, 0.08),
              0 3px 8px rgba(15, 31, 61, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 31, 61, 0.12),
              0 4px 12px rgba(15, 31, 61, 0.07);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #153256;
  font-weight: 600;
}

.pricing-price {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #0b1a33;
}

.pricing-price strong {
  font-size: 1.35rem;
  color: #2e8bff;
}

.pricing-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #4a5874;
}

.pricing-features li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.45rem;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e8bff;
  font-weight: 600;
}

.pricing-note {
  font-size: 0.88rem;
  color: #6b7793;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.pricing-note.center {
  text-align: center;
}

/* Compact cards for maintenance section */
.pricing-card.compact {
  padding: 1.35rem 1.2rem;
  text-align: center;
}

.pricing-card.compact h3 {
  margin-bottom: 0.35rem;
}

/* Add-ons section */
.add-ons-section {
  padding: 3rem 1.25rem 3.5rem;
  background-color: #f7f9fc;
}

.add-ons-grid {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.add-ons-list {
  list-style: none;
  padding: 0;
  font-size: 0.97rem;
  color: #273551;
  line-height: 1.55;
}

.add-ons-list li {
  margin-bottom: 0.55rem;
}

/* ================================
   Payments Page
   ================================ */

.payments-hero {
  padding-top: 3.2rem;
  padding-bottom: 3rem;
}

.payments-section {
  padding: 3rem 1.25rem 3.5rem;
  background-color: #f7f9fc;
}

.payments-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.payments-section h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  color: #0b1a33;
}

.payments-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.payment-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(15, 31, 61, 0.09);
  box-shadow: 0 12px 26px rgba(15, 31, 61, 0.08),
              0 3px 8px rgba(15, 31, 61, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.payment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 31, 61, 0.12),
              0 4px 12px rgba(15, 31, 61, 0.07);
  background-color: rgba(240, 245, 255, 0.6);
}

.payment-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #153256;
  font-weight: 600;
}

.payment-card p {
  font-size: 0.95rem;
  color: #4a5874;
  margin-bottom: 0.7rem;
}

.payment-steps {
  margin: 0.4rem 0 0.2rem;
  padding-left: 1.2rem;
  font-size: 0.94rem;
  color: #4a5874;
}

.payment-steps li + li {
  margin-top: 0.3rem;
}

.payment-card .btn-primary {
  margin-top: 1.1rem;
  width: 100%;
  max-width: 230px;
  text-align: center;
}

/* Payments FAQ section */

.payments-faq {
  padding: 3rem 1.25rem 3.5rem;
  background-color: #ffffff;
}

.payments-faq .container {
  max-width: 1000px;
  margin: 0 auto;
}

.payments-faq h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #0b1a33;
}

.payments-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.payments-faq-item {
  background-color: #f7f9fc;
  border-radius: 0.9rem;
  padding: 1.3rem 1.25rem;
  border: 1px solid rgba(15, 31, 61, 0.06);
  font-size: 0.94rem;
  color: #4a5874;
}

.payments-faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #153256;
}

/* Responsive tweaks for Payments */

@media (max-width: 900px) {
  .payments-section {
    padding: 2.6rem 1.25rem 3.2rem;
  }

  .payments-faq {
    padding: 2.6rem 1.25rem 3.2rem;
  }
}

@media (max-width: 600px) {
  .payment-card {
    padding: 1.5rem 1.3rem;
  }

  .payment-card .btn-primary {
    max-width: 100%;
  }
}

/* ================================
   About Page
   ================================ */

/* Optional hero tweak for About if you add .about-hero */
.hero.about-hero {
  padding-top: 3.2rem;
  padding-bottom: 3rem;
}

/* Base About sections */
.about-section {
  padding: 3rem 1.25rem 3.25rem;
  background-color: #f7f9fc;
}

.about-section.alt {
  background-color: #ffffff;
}

.about-section .container {
  max-width: 900px;
}

.about-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0b1a33;
  text-align: left;
}

.about-section p {
  font-size: 0.98rem;
  color: #4a5874;
  margin-bottom: 0.85rem;
}

/* Grid section for "Why Choose Us" style content */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.25rem;
}

.about-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 10px 24px rgba(15, 31, 61, 0.08),
              0 2px 6px rgba(15, 31, 61, 0.05);
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #153256;
  font-weight: 600;
}

.about-card p {
  font-size: 0.94rem;
  color: #4a5874;
  margin-bottom: 0;
}

/* About-page CTA section (if used) */
.cta-section {
  padding: 3rem 1.25rem 3.25rem;
  background-color: #153256;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.08);
}

.cta-section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.cta-section p {
  font-size: 1rem;
  margin-bottom: 1.4rem;
  opacity: 0.92;
}

/* Allow using existing .btn-primary inside About CTA */
.cta-section .btn-primary {
  margin-top: 0.3rem;
}

/* Responsive tweaks for About */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 2.6rem 1.25rem 3rem;
  }
}


/* ================================
   Portfolio Page
   ================================ */

.portfolio-section {
  padding: 3rem 1.25rem 3.25rem;
  background-color: #ffffff;
}

.portfolio-section .container {
  max-width: 900px;
}

.portfolio-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0b1a33;
  text-align: left;
}

.portfolio-section p {
  font-size: 0.98rem;
  color: #4a5874;
  margin-bottom: 0.85rem;
}

.portfolio-section a:not(.btn-primary) {
  color: #2e8bff;
  text-decoration: none;
  font-weight: 500;
}

.portfolio-section a:not(.btn-primary):hover {
  text-decoration: underline;
}

.portfolio-section .btn-primary {
  margin: 0.5rem 0 1.2rem;
  display: inline-block;
}

.project-summary-cta {
  margin-bottom: 1rem;
}

/* Silver 3D brand divider (Portfolio client separator) */
.brand-divider {
  width: 100%;
  margin: 0;
  padding: 2.75rem 1.25rem; /* creates a clean separator row */
  position: relative;
  height: auto;
  background-color: #ffffff; /* match .portfolio-section background to avoid a hard seam */
}

.brand-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, calc(100% - 3rem));
  height: 7px; /* thickness of the silver bar */
  border-radius: 999px;
}

@media (max-width: 640px) {
  .brand-divider::before {
    width: calc(100% - 4rem);
    height: 6px; /* slightly slimmer on mobile */
  }
}

.brand-divider--silver::before {
  /* Warm metallic silver gradient with 3D depth */
  background: linear-gradient(
    90deg,
    #f4f3f1 0%,
    #dedbd6 14%,
    #bdb8b0 40%,
    #ffffff 52%,
    #b8b3ab 64%,
    #dedbd6 86%,
    #f4f3f1 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 3px 8px rgba(15, 31, 61, 0.25);
  border: 1px solid rgba(15, 31, 61, 0.14);
}

.brand-divider--silver::after {
  /* Subtle moving sheen highlight */
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: min(270px, calc((100% - 2.5rem) * 0.35));
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0.75;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-divider--silver::after {
    animation: silverDividerSheen 3.8s ease-in-out infinite;
  }
}

@keyframes silverDividerSheen {
  0% {
    transform: translate(-140%, -50%);
    opacity: 0.55;
  }
  50% {
    transform: translate(40%, -50%);
    opacity: 0.85;
  }
  100% {
    transform: translate(-140%, -50%);
    opacity: 0.55;
  }
}

/* ================================
   Home – Why Choose, Process, Service Area
   ================================ */

.why-choose,
.process-section,
.service-area-home {
  padding: 3rem 1.25rem 3.25rem;
}

.why-choose,
.service-area-home {
  background-color: #ffffff;
}

.process-section {
  background-color: #f7f9fc;
}

.why-choose .container,
.process-section .container,
.service-area-home .container {
  max-width: 1100px;
  margin: 0 auto;
}

.why-choose h2,
.process-section h2,
.service-area-home h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0b1a33;
  text-align: left;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.why-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 10px 24px rgba(15, 31, 61, 0.08),
              0 2px 6px rgba(15, 31, 61, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 31, 61, 0.14),
              0 4px 10px rgba(15, 31, 61, 0.08);
  background-color: rgba(240, 245, 255, 0.6);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #153256;
  font-weight: 600;
}

.why-card p {
  font-size: 0.94rem;
  color: #4a5874;
  margin-bottom: 0;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.process-steps li {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 8px 20px rgba(15, 31, 61, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.process-steps li:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 31, 61, 0.14),
              0 4px 10px rgba(15, 31, 61, 0.08);
  background-color: rgba(240, 245, 255, 0.6);
}

.process-steps h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #153256;
}

.process-steps p {
  font-size: 0.94rem;
  color: #4a5874;
  margin: 0;
}

.service-area-home p {
  font-size: 0.98rem;
  color: #4a5874;
  margin-bottom: 0.9rem;
}

/* service-area-list is already used on contact; reusing here */
.service-area-home .service-area-list {
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .why-choose,
  .process-section,
  .service-area-home {
    padding: 2.6rem 1.25rem 3rem;
  }
}

/* ================================
   Legal Pages (Privacy Policy)
   ================================ */

/* Reuse hero base styles but tighten spacing for legal pages */
.hero.legal-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.hero.legal-hero p {
  max-width: 720px;
}

.legal-content {
  padding: 3rem 1.25rem 3.5rem;
  background-color: #ffffff;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 12px 28px rgba(15, 31, 61, 0.08),
              0 2px 6px rgba(15, 31, 61, 0.05);
}

.legal-container p {
  font-size: 0.98rem;
  color: #4a5874;
  margin-bottom: 0.95rem;
  line-height: 1.65;
}

.legal-container strong {
  color: #0f1f3d;
  font-weight: 600;
}

.legal-container h2 {
  font-size: 1.25rem;
  margin: 1.6rem 0 0.65rem;
  color: #0b1a33;
}

.legal-container ul {
  margin: 0.5rem 0 1.15rem;
  padding-left: 1.2rem;
  color: #4a5874;
}

.legal-container li {
  margin: 0.35rem 0;
  line-height: 1.6;
}

.legal-container a {
  color: #2e8bff;
  text-decoration: none;
  font-weight: 500;
}

.legal-container a:hover {
  text-decoration: underline;
}

/* Responsive tweaks for legal pages */
@media (max-width: 700px) {
  .legal-content {
    padding: 2.6rem 1.25rem 3rem;
  }

  .legal-container {
    padding: 1.6rem 1.35rem;
  }

  .hero.legal-hero {
    padding-top: 2.75rem;
    padding-bottom: 2.25rem;
  }
}

@media (max-width: 480px) {
  .legal-container {
    padding: 1.4rem 1.15rem;
  }

  .legal-container h2 {
    font-size: 1.18rem;
  }
}

/* ================================
   Generic Page + Card (Thank-you)
   ================================ */

.page {
  min-height: 1px;
}

.section {
  padding: 3rem 1.25rem 3.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 12px 28px rgba(15, 31, 61, 0.08),
              0 2px 6px rgba(15, 31, 61, 0.05);
}

.card h2 {
  font-size: 1.15rem;
  color: #0f1f3d;
  margin-bottom: 0.6rem;
}

.card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: #4a5874;
}

.card li + li {
  margin-top: 0.35rem;
}

@media (max-width: 600px) {
  .section {
    padding: 2.6rem 1.25rem 3rem;
  }
}

/* ================================
   Footer
   ================================ */

.site-footer {
  padding: 1.2rem 1.25rem 1.5rem;
  background-color: #050c18;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  flex-wrap: wrap;
  color: #e6ecf5;
  position: relative;
}

.footer-logo {
  width: 60px;
  height: auto;
}

.footer-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-text p {
  color: #e6ecf5;
}

/* ================================
   Responsive Styles
   ================================ */

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }

  .main-nav a {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }

  .hero {
    padding-top: 2.6rem;
    padding-bottom: 2.2rem;
  }

  .services {
    padding: 3rem 1.25rem;
  }

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

  .service-box {
    margin-bottom: 1rem;
  }

  .cta {
    padding: 2.5rem 1.25rem 3rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.6rem 0.85rem;
  }

  .main-nav {
    gap: 0.3rem;
  }

  .main-nav a {
    font-size: 0.85rem;
    padding: 0.28rem 0.5rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.96rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 260px;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .cta p {
    font-size: 0.95rem;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem 1.25rem;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-text {
    text-align: center;
  }

  .footer-logo {
    position: static;
    transform: none;
    margin-bottom: 0.5rem;
  }
}
