@import url("base.css");

/* Services page specific overrides with professional color scheme */

body.page-services {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.95) 0%,
    rgba(163, 180, 156, 0.85) 100%
  );
  color: var(--color-text-dark);
}

body.page-services::before,
body.page-services::after {
  display: none;
}
.modal-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #04152d;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 34px rgba(10, 26, 51, 0.32);
  cursor: pointer;
  z-index: 45;
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

/* Hero Section - Professional with #A3B49C */
.hero--sage {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.98) 0%,
    rgba(163, 180, 156, 0.88) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(163, 180, 156, 0.98);
}

.hero--sage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero--sage .hero__lead {
  color: rgba(16, 22, 35, 0.82);
  opacity: 0.95;
}

.hero--sage .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 800;
  font-size: 1rem;
}

.hero--sage h1 {
  color: var(--color-text-dark);
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.12);
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero--sage p,
.hero--sage .hero__copy p {
  color: rgba(16, 22, 35, 0.8);
}

.hero__image-layer--services {
  background-image: url("../logo/home-image.jpg");
}

.hero__image-layer--services-secondary {
  inset: 12% 12% 12% 18%;
  background-image: linear-gradient(
      160deg,
      rgba(163, 180, 156, 0.5),
      rgba(4, 21, 45, 0.35)
    ),
    url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=1000&q=80");
  transform: translate(7%, 7%);
  z-index: -1;
}

/* Card Styling - Blue cards that turn white on hover */
.page-services .card {
  background: #0f1f35;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.page-services .card:hover {
  background: #ffffff;
  color: #0f1f35;
  border-color: #0f1f35;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.page-services .card h3 {
  color: inherit;
}

.page-services .card p {
  color: inherit;
  opacity: 0.9;
}

.page-services .card:hover h3,
.page-services .card:hover p {
  color: #0f1f35;
}

/* Section Backgrounds - Only #A3B49C */
.section--sage {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.92) 0%,
    rgba(163, 180, 156, 0.78) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}

.section--sage::before {
  display: none;
}

.section--sage h2 {
  color: var(--color-text-dark);
}

.section--sage .section__intro p {
  color: rgba(16, 22, 35, 0.82);
}

.section--sage .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 800;
  font-size: 1rem;
}

.services-overview .grid {
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.services-overview .card--service {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-overview .card--service.card--offset {
  margin-top: 0;
}

.services-overview .section__intro,
.services-why .section__intro {
  position: relative;
  z-index: 1;
}

/* Service List Styling */
.service-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: inherit;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: inherit;
  opacity: 0.9;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.page-services .card:hover .service-list li::before {
  background: #0f1f35;
  box-shadow: 0 0 0 3px rgba(59, 73, 97, 0.6);
}

.service-list--detailed strong {
  font-weight: 600;
  color: inherit;
}

/* Why Choose Section */
.services-why {
  background: #a3b49c;
}

.services-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.06),
      transparent 50%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.services-why .service-benefits {
  margin: 2.5rem auto 0;
  margin-bottom: 2rem;
  padding: 2.5rem 3rem;
  max-width: 720px;
  background: #a3b49c;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  list-style: none;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.services-why .service-benefits li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.65;
  font-weight: 500;
}

.services-why .service-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: #a3b49c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.services-why .section__actions {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
}

/* Specialties Section - Same as Services Overview */
.section--specialties {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.92) 0%,
    rgba(163, 180, 156, 0.78) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}

.section--specialties::before {
  display: none;
}

.section--specialties .section__intro h2 {
  color: var(--color-text-dark);
}

.section--specialties .section__intro p {
  color: rgba(16, 22, 35, 0.82);
}

.section--specialties .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 800;
  font-size: 1rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.specialty-card {
  background: #0f1f35;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.specialty-card:hover {
  background: #ffffff;
  color: #0f1f35;
  border-color: #0f1f35;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.specialty-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: inherit;
  transition: color 0.3s ease;
}

.specialty-card:hover h3 {
  color: #0f1f35;
}

.specialty-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: inherit;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.specialty-card:hover p {
  color: #0f1f35;
}

.specialty-card--full {
  grid-column: 1 / -1;
  max-width: 100%;
  text-align: center;
}

.specialty-card--full h3 {
  font-size: 1.5rem;
}

.specialty-card--full p {
  max-width: 800px;
  margin-inline: auto;
}

/* Button Styling Enhancement */
.page-services .btn--primary {
  background: #ffffff;
  color: var(--color-brand-deep);
  border: 2px solid var(--color-brand-deep);
  box-shadow: 0 4px 12px rgba(10, 26, 51, 0.25);
  font-weight: 600;
}

.page-services .btn--primary:hover {
  background: rgba(10, 26, 51, 0.9);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 26, 51, 0.35);
  transform: translateY(-2px);
}

/* Floating Card Enhancement */
.hero__floating-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero__floating-card p {
  color: var(--color-text-dark);
  font-weight: 600;
}

.hero__floating-card span {
  color: var(--color-text-dark);
  opacity: 0.7;
}

.site-footer {
  margin-top: 4rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: #04152d;
  color: var(--color-bg-primary);
}

.site-footer__inner {
  display: grid;
  gap: 2.5rem;
}

.site-footer__brand {
  max-width: 420px;
}

.site-footer__logo img {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.site-footer__social {
  margin-top: 1.25rem;
}

.site-footer__social .social-link {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__social .link-content {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__social .social-link:hover .link-content {
  background: rgba(255, 255, 255, 0.18);
  color: #000;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.site-footer__column h4 {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: white;
}
.site-footer__column li {
  color: white;
}
.site-footer__column li a {
  color: white;
}

.site-footer__list,
.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--color-text);
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__list a:hover {
  color: #000;
}

.site-footer__contact-list span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.15rem;
}

.site-footer__contact-list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer__contact-list p {
  margin: 0;
  color: white;
  font-size: 16px;

  line-height: 1.6;
}

.site-footer__actions {
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: white;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__actions p {
  flex: 1;
  margin: 0;
  color: black;
  min-width: 220px;
}

.site-footer__actions .btn {
  flex-shrink: 0;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  color: white;
}

.site-footer__bottom p {
  margin: 0;
}
.btn-footer {
  background: var(--color-accent);
  color: var(--color-bg-primary);
  border: 2px solid var(--color-bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 200ms ease, color 200ms ease;
}
.btn-footer:hover {
  background: var(--color-bg-primary);
  color: white;
}

.site-footer__links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-footer--enhanced {
  margin-top: 4rem;
}

.social-link {
  text-decoration: none;
  color: #0077b5;
  display: inline-flex;
}

.link-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 150ms ease, color 150ms ease;
}

.social-link:hover .link-content {
  background: rgba(255, 255, 255, 0.15);
  color: #000;
}

/* Responsive Design */
@media (max-width: 968px) {
  .specialties-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
  }

  .specialty-card--full {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    padding: 1.75rem;
  }

  .section--specialties .section__intro h2 {
    font-size: 1.8rem;
  }
}
