/* ==========================================================================
   Bangladesh Inspection & Survey (Pvt.) Ltd. (BISPL) - Custom CSS
   Brand Color: #B7013F (Crimson), Accent Links: #007C39, Dark: #1E1E1E
   ========================================================================== */

:root {
  --primary-color: #B7013F;
  --primary-dark: #8F0131;
  --primary-light: #FDF2F5;
  --secondary-color: #1E1E1E;
  --link-color: #007C39;
  --link-hover: #004C1A;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --transition-fast: all 0.3s ease;
  --box-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 8px 24px rgba(183, 1, 63, 0.08);
  --box-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F1F1;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Top Contact Bar */
.top-contact-bar {
  background-color: #151515;
  color: #DDDDDD;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-color);
}

.top-contact-bar a {
  color: #EEEEEE;
}
.top-contact-bar a:hover {
  color: #FFFFFF;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: var(--bg-white);
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary-color) !important;
  padding: 10px 18px !important;
  position: relative;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Buttons */
.btn-primary-custom,
.btn-outline-custom {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  padding: 12px 30px;
  border-radius: 6px;
  text-transform: none;
  white-space: nowrap;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.btn-primary-custom::after,
.btn-outline-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: -85%;
  z-index: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-primary-custom {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-color), #FF2E6E, var(--primary-color));
  background-size: 220% 220%;
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(183, 1, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.btn-primary-custom:hover {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(183, 1, 63, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: buttonColorFlow 3.6s ease infinite;
}

.btn-primary-custom:hover::after,
.btn-outline-custom:hover::after {
  left: 125%;
}

.btn-outline-custom {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  box-shadow: inset 0 0 0 1px rgba(183, 1, 63, 0.08);
}

.btn-outline-custom:hover {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-color), #FF2E6E, var(--primary-color));
  background-size: 220% 220%;
  color: #FFFFFF !important;
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(183, 1, 63, 0.28);
  animation: buttonColorFlow 3.6s ease infinite;
}

.btn-primary-custom i,
.btn-outline-custom i,
.btn-primary-custom span,
.btn-outline-custom span {
  position: relative;
  z-index: 1;
}

.btn-primary-custom i,
.btn-outline-custom i {
  transition: transform 0.28s ease;
}

.btn-primary-custom:hover i,
.btn-outline-custom:hover i {
  transform: translateX(3px) scale(1.08);
}

.btn-primary-custom:focus-visible,
.btn-outline-custom:focus-visible {
  outline: 3px solid rgba(183, 1, 63, 0.32);
  outline-offset: 4px;
}

.hero-section .btn-primary-custom {
  animation: buttonGlowPulse 3.2s ease-in-out infinite, buttonColorFlow 5s ease infinite;
}

.hero-section .btn-outline-custom {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.82) !important;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

.hero-section .btn-outline-custom:hover {
  border-color: var(--primary-color) !important;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-color), #FF2E6E, var(--primary-color));
  background-size: 220% 220%;
  box-shadow: 0 14px 34px rgba(183, 1, 63, 0.32);
}

@keyframes buttonColorFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes buttonGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(183, 1, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow: 0 12px 32px rgba(183, 1, 63, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary-custom,
  .btn-outline-custom,
  .hero-section .btn-primary-custom {
    animation: none;
    transition: none;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 100%),
              url('../images/main-head.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding: 120px 0 140px;
  text-align: center;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.25;
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 1.2rem;
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 820px;
  margin: 0 auto 2rem;
  color: #E2E8F0;
  font-weight: 400;
}

.hero-shape-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-shape-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
  fill: var(--bg-white);
}

/* Services Page */
.services-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 58%, rgba(183, 1, 63, 0.58) 100%),
              url('../images/main-head.jpg') center/cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}

.services-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--link-color), var(--primary-color));
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 95px 0;
}

.services-hero-content h1 {
  color: #FFFFFF;
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.services-hero-content p {
  color: #E7EEF4;
  font-size: 1.13rem;
  max-width: 720px;
  margin-bottom: 0;
}

.services-summary-section {
  padding: 70px 0;
  background-color: var(--bg-white);
}

.service-highlight {
  height: 100%;
  padding: 30px;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-fast);
}

.service-highlight:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 1, 63, 0.35);
  box-shadow: var(--box-shadow-md);
}

.service-highlight-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary-color), var(--link-color));
  font-size: 1.45rem;
}

.service-highlight h3 {
  color: #111111;
  font-size: 1.2rem;
}

.service-highlight p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

.service-page-section {
  scroll-margin-top: 88px;
}

.service-card-detailed {
  text-align: left;
  cursor: pointer;
}

.service-card-detailed .service-icon {
  margin-bottom: 18px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background-color: rgba(0, 124, 57, 0.08);
  color: var(--link-color);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-card-detailed .service-title {
  font-size: 1.04rem;
  line-height: 1.35;
}

.service-card-detailed .service-desc {
  font-size: 0.88rem;
}

.service-workflow-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.workflow-step {
  height: 100%;
  position: relative;
  padding: 32px 24px;
  border-radius: 8px;
  border: 1px solid #EAEAEA;
  background-color: #FFFFFF;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-fast);
}

.workflow-step:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 1, 63, 0.35);
  box-shadow: var(--box-shadow-md);
}

.workflow-step span {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(183, 1, 63, 0.16);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.workflow-step i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 1.35rem;
}

.workflow-step h3 {
  color: #111111;
  font-size: 1.14rem;
}

.workflow-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.services-cta-section {
  padding: 0 0 90px;
  background-color: var(--bg-white);
}

.services-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #161616 0%, #2A2A2A 58%, var(--primary-dark) 100%);
  color: #FFFFFF;
}

.services-cta-band h2 {
  color: #FFFFFF;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.services-cta-band p {
  color: #DDE5EC;
  margin-bottom: 0;
}

/* Certifications Page */
.certifications-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 124, 57, 0.48) 100%),
              url('../images/main-head.jpg') center/cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}

.certifications-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--link-color), var(--primary-color), var(--link-color));
}

.certifications-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 82px 0;
}

.certifications-hero-content h1 {
  color: #FFFFFF;
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.certifications-hero-content p {
  color: #E7EEF4;
  font-size: 1.13rem;
  margin-bottom: 0;
}

.certifications-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-fast);
}

.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(183, 1, 63, 0.34);
  box-shadow: var(--box-shadow-md);
}

.resource-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.resource-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--link-color));
  color: #FFFFFF;
  font-size: 1.55rem;
}

.resource-type {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.74rem;
  font-weight: 700;
}

.resource-card h3 {
  color: #111111;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.resource-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #EEEEEE;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.resource-meta i {
  color: var(--primary-color);
  margin-right: 6px;
}

.resource-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.resource-actions .btn-primary-custom {
  padding: 10px 18px;
}

.resource-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--link-color);
  font-size: 0.9rem;
  font-weight: 700;
}

.resource-download:hover {
  color: var(--primary-color);
}

.certifications-cta-section {
  padding: 0 0 90px;
  background-color: var(--bg-white);
}

.certifications-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #161616 0%, #27332D 58%, var(--link-hover) 100%);
  color: #FFFFFF;
}

.certifications-cta-band h2 {
  color: #FFFFFF;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.certifications-cta-band p {
  color: #DDE5EC;
  margin-bottom: 0;
}

/* Section Title Styling */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h6 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 2.3rem;
  color: #111111;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* About Section */
.about-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.about-badge-box {
  background: linear-gradient(145deg, #1E1E1E, #2A2A2A);
  color: #FFFFFF;
  padding: 40px 30px;
  border-radius: 12px;
  border-left: 6px solid var(--primary-color);
  box-shadow: var(--box-shadow-md);
}

.about-badge-box .icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.about-badge-box h4 {
  color: #FFFFFF;
  font-size: 1.5rem;
}

.about-badge-box ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.about-badge-box ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-badge-box ul li i {
  color: var(--primary-color);
}

.about-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img-frame:hover img {
  transform: scale(1.04);
}

/* Key Persons / Team Section */
.team-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.team-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-fast);
  height: 100%;
  border: 1px solid #EAEAEA;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-md);
  border-color: var(--primary-color);
}

.team-card-img-wrapper {
  position: relative;
  width: 100%;
  padding: 30px 24px 8px;
  overflow: visible;
  background: linear-gradient(180deg, var(--primary-light) 0%, #FFFFFF 78%);
  display: flex;
  justify-content: center;
}

.team-card-img-wrapper img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  object-position: center top;
  border: 6px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-img-wrapper img {
  transform: scale(1.035);
}

.team-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-card-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-card-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--link-color);
  margin-bottom: 15px;
}

.team-card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service Cards */
.services-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.service-card {
  background: var(--bg-white);
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  padding: 30px 22px;
  text-align: center;
  transition: var(--transition-fast);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(183, 1, 63, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: #FFFFFF;
  transform: rotateY(180deg);
}

.service-title {
  font-size: 1.15rem;
  color: #111111;
  margin-bottom: 12px;
}

.service-card:hover .service-title {
  color: var(--primary-color);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Clients Grid Section */
.clients-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
}

.client-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px 15px;
  text-align: center;
  border: 1px solid #EAEAEA;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: var(--transition-fast);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow-md);
}

.client-logo-wrapper {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.client-logo-wrapper img {
  max-height: 65px;
  max-width: 85%;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.3s ease;
}

.client-card:hover .client-logo-wrapper img {
  filter: grayscale(0%);
}

.client-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0;
}

/* Contact & Info Section */
.contact-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.contact-info-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.contact-info-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid #EAEAEA;
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: none;
}

.contact-form-card {
  background-color: #FFFFFF;
  padding: 35px;
  border-radius: 12px;
  box-shadow: var(--box-shadow-md);
  border: 1px solid #EAEAEA;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(183, 1, 63, 0.15);
}

/* Footer */
.site-footer {
  background-color: #161616;
  color: #AAAAAA;
  padding: 60px 0 30px;
  border-top: 4px solid var(--primary-color);
}

.site-footer h5 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #BBBBBB;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #2B2B2B;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.88rem;
  text-align: center;
}

/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background-color: var(--primary-color);
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(183, 1, 63, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .hero-content p {
    font-size: 1.05rem;
  }
  .services-hero-content h1 {
    font-size: 2.25rem;
  }
  .services-hero-content p {
    font-size: 1rem;
  }
  .certifications-hero-content h1 {
    font-size: 2.25rem;
  }
  .certifications-hero-content p {
    font-size: 1rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .team-card-img-wrapper img {
    width: 210px;
    height: 210px;
  }
  .services-cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }
  .certifications-cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }
}

@media (max-width: 575.98px) {
  .services-hero {
    min-height: auto;
  }
  .services-hero-content {
    padding: 72px 0;
  }
  .services-hero-content h1 {
    font-size: 1.95rem;
  }
  .certifications-hero {
    min-height: auto;
  }
  .certifications-hero-content {
    padding: 68px 0;
  }
  .certifications-hero-content h1 {
    font-size: 1.95rem;
  }
  .services-hero .btn-primary-custom,
  .services-hero .btn-outline-custom {
    width: 100%;
  }
  .service-highlight,
  .workflow-step,
  .services-cta-band,
  .resource-card,
  .certifications-cta-band {
    padding: 24px;
  }
  .resource-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .resource-actions .btn-primary-custom,
  .resource-download {
    width: 100%;
    justify-content: center;
  }
}
