/* --------------------------------------------------------------
# General
-------------------------------------------------------------- */

:root {
  /* brand colors */
  --brand-red: #c8102e; /* your red */
  --brand-red-accent: #ff4a63; /* slight accent for a tiny gradient pop */
  --brand-navy: #002b5c;

  --z-nav: 6000;
  --z-progress: 1000;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: #1f3662;
}

a {
  text-decoration: none;
}

a:hover {
  color: #c2181b;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IBM Plex Sans", sans-serif;
}


/* --------------------------------------------------------------
# Disable aos animation delay on mobile devices
-------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

* {
  font-family: "Raleway", sans-serif;
}

/* Small phones line iPhone 5 SE */
@media screen and (max-width: 374px) {
}

/* Regular phones like Iphone X + */
@media only screen and (min-width: 375px) {
}

/* landscape mobile devices */
@media only screen and (min-width: 480px) {
}

/* tablet portrait */
@media only screen and (min-width: 768px) {
}

/* tablet landscape */
@media only screen and (min-width: 1024px) {
}

/* Small Monitor Screen */
@media only screen and (min-width: 1280px) {
}

/* med Monitor Screen */
@media only screen and (min-width: 1440px) {
}

/* Large Monitor */
@media only screen and (min-width: 1920px) {
}

/* --------------------------------------------------------------
# Header
-------------------------------------------------------------- */
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: #fff;
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  justify-content: flex-start;

  /* Ensure logo is aligned left */
  display: flex;
  align-items: center;
}

#header .logo a {
  color: #fff;
}

#header .logo a span {
  color: #c2181b;
}

#header .logo img {
  max-height: 90px;

  /* Increase the height to make it "slightly more bigger" */
  height: auto;
  width: auto;
  display: block;
}

/* --------------------------------------------------------------
#  Get Startet Button
-------------------------------------------------------------- */
.services .get-started-btn {
  color: #1f3662;
  border-radius: 4px;
  padding: 7px 25px 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
  border: 2px solid;
}

.get-started-btn:hover {
  background: #c2181b;
  color: #fff !important;
}

@media (max-width: 992px) {
  .get-started-btn {
    padding: 7px 20px 8px 20px;
    margin-right: 15px;
  }
}

/* --------------------------------------------------------------
# Sections General
-------------------------------------------------------------- */
section {
  overflow: hidden;
}

.section-title h5 {
  font-size: 18px;
  margin-top: 8px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #ffde9e;
  margin: 4px 10px;
}

.section-title p {
  width: fit-content;
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: var(--brand-navy);
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  text-align: justify;

  /* Center align instead of justify */
  hyphens: none;
}

/* --------------------------------------------------------------
# About
-------------------------------------------------------------- */
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
  font-family: "Poppins", sans-serif;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #c2181b;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------
# Clients
-------------------------------------------------------------- */
.clients {
  padding-top: 20px;
}

.clients .swiper-slide img {
  opacity: 100%;
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #c2181b;
}

/* --------------------------------------------------------------
# Features
-------------------------------------------------------------- */
.features {
  padding-top: 20px;
}

.features .icon-box {
  padding-left: 15px;
}

.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: #c2181b;
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/* --------------------------------------------------------------
# Services
-------------------------------------------------------------- */
.services .icon-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 50px 20px;

  /* from original */
  position: relative;
  background: #fff;

  /* restore white background */
  border: 1px solid #ebebeb;

  /* restore original border */
  transition: all ease-in-out 0.3s;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .icon-box .icon i {
  color: #c2181b;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #151515;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
  color: #c2181b;
}

.services .icon-box p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

.services .get-started-btn {
  margin-top: auto;
  align-self: center;
}

/* --------------------------------------------------------------
# Cta
-------------------------------------------------------------- */
.cta {
  background:
    linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/cta.jpeg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #c2181b;
  border-color: #1f3662;
  color: #151515;
}

/* --------------------------------------------------------------
# Cta-2
-------------------------------------------------------------- */

.cta-2 {
  background: #ffffff;
  background-size: cover;
  padding: 60px 0;
}

.cta-2 h3 {
  color: #c2181b;
  font-size: 28px;
  font-weight: 700;
}

.cta-2 p {
  color: #1f3662;
}

.cta-2 .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta-2 .cta-btn:hover {
  background: #c2181b;
  border-color: #1f3662;
  color: #151515;
}

/* Section backdrop & spacing */
.cta-2 {
  position: relative;
  padding: clamp(2rem, 3vw, 3.5rem) 0;
  overflow: hidden;
}
/* Logo card */
.brand-logo-card {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo-card img {
  max-width: 250px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Headline + sublead (uses your existing section-title--modern rules if present) */
.brand-hero h2 {
  font-weight: 800;
  margin: 0 0 0.5rem;
  background: linear-gradient(120deg, var(--brand-navy), var(--brand-red));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headGrad 6s ease-in-out infinite alternate;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.brand-hero h5 {
  color: var(--ink-600);
  font-weight: 500;
  line-height: 1.6;
  margin-top: 0.5rem;
}
@keyframes headGrad {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
/* Chips row */
.brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------
# Portfolio
-------------------------------------------------------------- */
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #151515;
  background: #c2181b;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(21, 21, 21, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(21, 21, 21, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #c2181b;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/* --------------------------------------------------------------
# Portfolio Details
-------------------------------------------------------------- */
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1f3662;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #c2181b;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(21, 21, 21, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/* --------------------------------------------------------------
# Counts
-------------------------------------------------------------- */
.counts .content {
  padding: 30px 0;
}

.counts .content h3 {
  font-weight: 700;
  font-size: 34px;
  color: #151515;
}

.counts .content p {
  margin-bottom: 0;
}

.counts .content .count-box {
  padding: 20px 0;
  width: 100%;
}

.counts .content .count-box i {
  display: block;
  font-size: 36px;
  color: #c2181b;
  float: left;
}

.counts .content .count-box span {
  font-size: 36px;
  line-height: 30px;
  display: block;
  font-weight: 700;
  color: #151515;
  margin-left: 50px;
}

.counts .content .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 50px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #c2181b;
}

.counts .content .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #3b3b3b;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .content .count-box a:hover {
  color: #626262;
}

.counts .image {
  background: url("../img/counter.png") center center no-repeat;
  background-size: cover;
  min-height: 400px;
}

@media (max-width: 991px) {
  .counts .image {
    text-align: center;
  }

  .counts .image img {
    max-width: 80%;
  }
}

@media (max-width: 667px) {
  .counts .image img {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------
# Team Section
-------------------------------------------------------------- */
.team {
  background: #fff;
  padding: 5px 0;
}

.team .col-lg-3,
.team .col-md-6 {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.team .member {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  box-shadow: none;
  flex: 1 1 auto;
  min-height: 100%;
  padding: 0 10px;
  text-align: center;
}

/* Circular frame with centered image */
.team .member .member-img {
  width: 220px;
  height: 220px;
  border-radius: 40%;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto 15px auto;
  transition:
    border 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.team .member:hover .member-img {
  border-color: #1f3662;
}

.team .member .member-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 6%;

  /* Adds uniform buffer without squishing the image */
  border-radius: 0;
  box-sizing: border-box;

  /* Ensures padding doesn't break the layout */
}

/* Text content */
.team .member-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team .member-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #151515;
  margin-bottom: 10px;
  text-align: center;
}

.team .member-info h6 {
  font-size: 14px;
  color: #1f3662;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 400;
  line-height: 1.5;
}

/* Button aligned bottom */
.team .member-info .get-started-btn {
  align-self: center;
  margin-top: auto;
  color: #1f3662;
  border: 2px solid #1f3662;
  border-radius: 4px;
  padding: 7px 25px;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.3s;
  display: inline-block;
  text-decoration: none;
}

.team .member-info .get-started-btn:hover {
  background: #c2181b;
  color: #fff;
}

/* --------------------------------------------------------------
# Contact
-------------------------------------------------------------- */
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  background: #c2181b;
  color: #151515;
  float: left;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #151515;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #484848;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #1f3662;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #1f3662;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #1f3662;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #1f3662;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #1f3662;
  border: 0;
  padding: 10px 24px;
  color: #151515;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #1f3662;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------
# Breadcrumbs
-------------------------------------------------------------- */
.breadcrumbs {
  padding: 15px 0;
  background: whitesmoke;
  min-height: 40px;
  margin-top: 74px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #2f2f2f;
  content: "/";
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 68px;
  }

  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/* --------------------------------------------------------------
# Footer
-------------------------------------------------------------- */
#footer {
  background: #c2181b;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #1f3662;
  border-bottom: 1px solid #222222;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 40px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

#footer .footer-top .footer-info h3 span {
  color: #c2181b;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #292929;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #c2181b;
  color: #1f3662;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

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

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #c2181b;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #fff;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #c2181b;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #c2181b;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
    word-break: break-word;
    text-align: center;
    position: relative;
  }

  .section-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #ffde9e;
    margin: 12px auto 0 auto;
  }

  .section-title h5 {
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    word-break: break-word;
  }

  .section-title {
    padding: 10px 15px;
  }
}

#cta-2 img {
  width: 250px;
  height: auto;
}

@media (max-width: 768px) {
  #cta-2 img {
    width: 60%;
    max-height: auto;

    /* slightly pushed down */
  }
}

.table_specs {
  border-collapse: separate;
  border-spacing: 0 1rem;
  width: 100%;
}

.table_specs .row_col_head {
  font-weight: bold;
  vertical-align: top;
  width: 220px;
  padding-right: 1rem;
  color: #333;
}

.table_specs .row_col {
  vertical-align: top;
  color: #555;
}

.rich-text__heading {
  font-size: 1.75rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  #services .container > div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: center !important;
  }

  #services .container > div[style*="display:flex"] > div {
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  #services .container > div[style*="display:flex"] > div:nth-child(1) {
    order: 1;
    margin-bottom: 20px;
  }

  #services .container > div[style*="display:flex"] > div:nth-child(2) {
    order: 2;
  }

  #slides {
    height: auto !important;
  }

  #slides img {
    height: auto !important;
    max-height: 300px;
  }
}

@media screen and (max-width: 768px) {
  #dots {
    position: static !important;
    margin: 15px 0 0 0 !important;
    text-align: center !important;
  }

  #dots span {
    display: inline-block;
    margin: 0 4px;
  }
}
