/* ==========================================================================
   Custom Professional Theme Layer
   Loaded after style.css — refines typography, spacing, cards, navigation
   and footer for a modern, professional look.
   Brand colors are preserved: primary #2b579a, accent #55CBD2.
   ========================================================================== */

:root {
  --brand-primary: #2b579a;
  --brand-primary-dark: #1f3f73;
  --brand-accent: #55CBD2;
  --text-dark: #1c2733;
  --text-muted: #667085;
  --bg-soft: #F8FAFF;
  --border-soft: rgba(43, 87, 154, 0.12);
  --shadow-sm: 0 4px 16px rgba(28, 39, 51, 0.07);
  --shadow-md: 0 14px 34px rgba(43, 87, 154, 0.14);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
}

/* ---------------------------------------------------------------------- */
/* Typography                                                              */
/* ---------------------------------------------------------------------- */
body {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.services-header-title, .carousel-title, .logoHeader {
  font-family: 'Inter', 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

p { color: var(--text-muted); }

/* ---------------------------------------------------------------------- */
/* Reusable tag / badge (pill), buttons                                    */
/* ---------------------------------------------------------------------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(43, 87, 154, 0.08);
  color: var(--brand-primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag .fa { color: var(--brand-accent); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.btn-fill,
a.btn-fill,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--brand-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.btn-fill:hover,
a.btn-fill:hover,
input[type="submit"]:hover {
  background: var(--brand-primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent !important;
  color: var(--brand-primary) !important;
  border: 1.5px solid var(--brand-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--brand-primary) !important;
  color: #fff !important;
}

/* ---------------------------------------------------------------------- */
/* Navbar                                                                   */
/* ---------------------------------------------------------------------- */
#navbar-section.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border: none;
  box-shadow: 0 2px 20px rgba(28, 39, 51, 0.07);
  padding-top: 12px;
  padding-bottom: 12px;
  transition: box-shadow 0.3s ease;
}

#navbar-section.navbar.is-scrolled {
  box-shadow: 0 8px 28px rgba(28, 39, 51, 0.14);
}

#navbar-section .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
}

#navbar-section .office-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

#navbar-section .logoHeader {
  font-size: 19px;
  letter-spacing: 0;
}

#navbar-section .navbar-nav > li > a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dark);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

#navbar-section .navbar-nav > li > a:hover,
#navbar-section .navbar-nav > li > a:focus {
  background: rgba(43, 87, 154, 0.08);
  color: var(--brand-primary);
}

#navbar-section .navbar-nav > li.active > a,
#navbar-section .navbar-nav > li.active > a:hover,
#navbar-section .navbar-nav > li.active > a:focus {
  background: var(--brand-primary) !important;
  color: #fff !important;
}

#navbar-section .nav-cta > a {
  background: var(--brand-primary);
  color: #fff !important;
  padding: 10px 24px !important;
  margin-left: 8px;
  box-shadow: var(--shadow-sm);
}

#navbar-section .nav-cta > a:hover {
  background: var(--brand-primary-dark);
  color: #fff !important;
}

/* ---------------------------------------------------------------------- */
/* Hero / carousel                                                          */
/* ---------------------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

#carousel-1 .item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
}

#carousel-1 .carousel-caption {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 40px 17% 70px 17%;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  pointer-events: none; /* let clicks in empty caption space reach the arrows underneath */
}

#carousel-1 .carousel-caption > * {
  pointer-events: auto;
}

#carousel-1 .carousel-control {
  z-index: 5;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}

.hero-tag .fa { color: var(--brand-accent); }

#carousel-1 .carousel-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  text-shadow: none;
  color: #fff;
}

#carousel-1 .carousel-body {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 30px !important;
}

.hero-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}

.hero-btn .fa { font-size: 13px; }

.hero-btn:hover {
  background: var(--brand-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  #carousel-1 .carousel-title { font-size: 24px; }
  #carousel-1 .carousel-caption { padding: 24px 16% 40px; }
  .hero-tag { display: none; }
  #carousel-1 .carousel-body { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Services section — card grid                                            */
/* ---------------------------------------------------------------------- */
.services-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.services-section .services-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
  font-size: 16px;
}

.services-header-title {
  font-size: 32px;
  margin-bottom: 10px !important;
}

.services-header hr { display: none; }

.services-section .services-row {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
}
.services-section .services-row-tail { margin-top: 30px; }
.services-section .services-row > div {
  margin-bottom: 30px;
  display: flex;
}

.services-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff !important;
  color: var(--text-dark) !important;
  border-radius: var(--radius-md);
  padding: 38px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.services-group:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.services-icon {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(43, 87, 154, 0.08);
  margin: 0 auto 22px;
}

.services-icon .fa {
  color: var(--brand-primary) !important;
  font-size: 30px !important;
  margin: 0 !important;
}

.services-icon .fa:hover {
  padding: 0;
  background: none;
  color: var(--brand-primary) !important;
}

.services-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px !important;
}

.services-body {
  color: var(--text-muted);
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  margin-bottom: 16px;
  flex: 1 0 auto;
}

.services-more { margin-bottom: 0; margin-top: auto; }

.services-more a {
  color: var(--brand-primary);
  font-weight: 600;
}

.services-more a:hover { color: var(--brand-accent); }

/* ---------------------------------------------------------------------- */
/* CTA banner (home page)                                                   */
/* ---------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-radius: var(--radius-lg);
  margin: 0 15px 70px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cta-banner h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-banner .btn-fill {
  background: #fff;
  color: var(--brand-primary) !important;
}

.cta-banner .btn-fill:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-primary-dark) !important;
}

/* ---------------------------------------------------------------------- */
/* Page header hero (inner pages)                                          */
/* ---------------------------------------------------------------------- */
.page-header-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  padding: 100px 0 70px;
  margin-bottom: 60px;
  color: #fff;
  text-align: center;
}

.page-header-hero .section-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.page-header-hero h1 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 12px;
}

.page-header-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------- */
/* Content cards (about / services / contact / team)                       */
/* ---------------------------------------------------------------------- */
.content-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  margin-bottom: 30px;
}

.content-card hr { border-color: var(--border-soft); }

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.pill-nav a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.side-left .pill-nav a {
  background: rgba(255, 255, 255, 0.12);
}

.side-left .pill-nav a:hover {
  background: #fff;
  color: var(--brand-primary) !important;
}

.side-left {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Services list page — icon card grid */
.service-feature-row {
  display: flex;
  flex-wrap: wrap;
}

.service-feature-row > div {
  display: flex;
  margin-bottom: 30px;
}

.service-feature-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-feature-card .services-icon {
  margin: 0 0 20px;
}

.service-feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-feature-card p {
  margin-bottom: 0;
  font-size: 14.5px;
}

/* Contact page */
.feedback-form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}

.feedback-form label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: inline-block;
}

.feedback-form .formInput {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  padding: 12px 16px;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.feedback-form .formInput:focus {
  border-color: var(--brand-primary);
  outline: none;
}

.feedback-form input[type="submit"] {
  width: auto;
}

/* Team page */
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  padding: 34px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-card .team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--border-soft);
}

.team-card h4 {
  margin-bottom: 4px;
  font-size: 19px;
}

.team-card p {
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 14px;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer-modern {
  background: #000;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 70px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-brand:hover { color: #fff; }

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-tagline {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 34px 0;
}

.footer-col h3 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  margin-top: 0;
}

.footer-col h3 .fa { color: var(--brand-accent); margin-right: 8px; }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
}

.footer-contact a { color: rgba(255, 255, 255, 0.65); }
.footer-contact a:hover { color: #fff; }

#social-icons .btn-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75) !important;
  margin-right: 12px;
  transition: all 0.25s ease;
}

#social-icons .btn-group:hover {
  background: var(--brand-primary);
  color: #fff !important;
  transform: translateY(-3px);
}

.copyright {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px;
  margin-top: 50px;
}

.copyright a { color: rgba(255, 255, 255, 0.75); }
.copyright a:hover { color: #fff; }

@media (max-width: 767px) {
  .footer-brand { font-size: 19px; }
  .cta-banner { padding: 44px 24px; }
  .page-header-hero { padding: 80px 0 54px; }
}
