@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.desktop {
  display: none;
}
#navbar .mobile a.navbar-brand {
  margin-left: 3%;
  width: 40%;
}

#navbar {
  font-weight: 800;
}
/* #nav-home {
	color: red;
	display: none;
} */

/* home */
#home .mobile {
  scroll-margin: 10em;
  background-image: url("../img/Home_BG.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

#home .mobile .swiper {
  width: 100%;
}

/* left side content */
#home .mobile .side-label {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* left labels */
#home .mobile .label-container {
  margin-top: 10%;
  margin-left: 2%;
  border-left: 3px solid rgb(0, 0, 0);
  padding: 0px 15px;
}

/* label title */
#home .mobile h1.title {
  font-size: 100%;
  font-weight: 700;
}

/* label subtitle */
#home .mobile h2.subtitle {
  font-size: 80%;
}

/* side image */
#home .mobile .slide-container .side-img {
  padding: 1%;
}
/* side image */
#home .mobile .slide-container .side-img img {
  max-height: 10rem;
}

/* button */
#home .mobile .slide-container button {
  margin-top: 5%;
  margin-left: 5%;
  margin-bottom: 10%;
  border-style: none;
  height: 40px;
  width: 150px;
  max-height: 3rem;
  background-color: red;
  color: white;
  border-radius: 10px;
}

/* about us */
#about {
  scroll-margin: 6em;
}

#about .details h3.mt-4 {
  color: red;
}

#about .title {
  font-size: 3rem;
  font-weight: bold;
}

#about .subtitle {
  font-size: 1.5rem;
  font-weight: semi-bold;
}

#about .details {
  font-size: 0.7rem;
  background-color: #c11b1f !important;
}

#about h3 {
  color: white;
}

/* about container grid setup */
#about .about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas: "banner details";
}

/* banner section */
/* Banner column */
#about .banner {
  background-image: url("../img/About_BGImage.jpg");
  background-size: cover;
  background-position: center;
  min-height: 400px; /* desktop */
  color: white;
  text-align: left;
}

/* Flex for vertical centering */
#about .banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  #about .row {
    flex-direction: column;
  }
  #about .banner {
    min-height: 250px;
    padding: 1.5rem;
  }
  #about .banner h1 {
    font-size: 2rem;
  }
  #about .banner h2 {
    font-size: 1rem;
  }
}

#about .banner h1 {
  font-weight: 750;
  font-size: 600%;
  z-index: 1;
}

#about .banner h2 {
  font-weight: 300;
  z-index: 1;
}

/* details section */
#about .details {
  background-color: #1d1d1d !important;
  padding: 5%;
  color: white;
}

/* details heading */
#about .details h1 {
  font-size: 180%;
  font-weight: 700;
}

/* details paragraphs */
#about .details p {
  font-size: 130%;
}

/* partners */
#partners .mobile {
  padding: 5%;
}

#clients .panel .desktop .col img {
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out;
}

#clients .panel .desktop .col img:hover {
  filter: grayscale(0%);
}
/* title */
#partners .mobile h1 {
  font-size: 130%;
  margin-bottom: 0%;
  color: red;
  font-weight: 700;
}

/* subtitle */
#partners .mobile h2 {
  font-size: 85%;
  font-weight: 450;
}
#partners .mobile .card-body {
  padding: 3%;
  color: white;
}

/* image card container */
#partners .mobile .col-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2%;
}

/* card title */
#partners .mobile h5.card-title {
  font-size: 75%;
  font-weight: 600;
  margin-bottom: 0%;
}

/* card description */
#partners .mobile p.card-text {
  font-size: 60%;
}

/* email section */
#partners .mobile #email {
  background-color: black;
  padding: 3%;
  margin-bottom: 3%;
}

/* email text */
#partners .mobile #email h3 {
  font-size: 60%;
  color: white;
  margin: 0%;
  font-weight: 700;
}

/* send email button */
#partners .mobile #email button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c01013;
  border-style: none;
  padding: 3%;
  width: 90%;
  color: white;
  border-radius: 5px;
  font-size: 60%;
  font-weight: 700;
}

/* clients page */
#clients .mobile {
  padding: 5%;
}

#clients .mobile .col {
  padding: 12px;
}
#clients .mobile .heading h1 {
  color: red;
  font-weight: 700;
  margin-bottom: 0%;
  font-size: 130%;
}
#clients .mobile .heading h2 {
  font-size: 85%;
  font-weight: 500;
}

/* stories */

#stories {
  scroll-margin: 6em;
  padding: 0 5% 5% 5%; /* top right bottom left */
}

#stories h1 {
  color: red;
  font-weight: 700;
  font-size: 250%;
}

#stories h2 {
  font-size: 85%;
  font-weight: 500;
}

.recent-post-card .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-post-card .card-details {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* contact us */

/* email container */
#contact .mobile .email {
  background-image: url("../img/BG_Image.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2% 10%;
  min-width: 100%;
}

#contact .mobile .email h1 {
  color: white;
  text-align: center;
  font-size: 120%;
  margin-bottom: 5%;
  font-weight: 700;
}

/* input fields */
#contact .mobile input {
  background: none;
  border-style: none;
  border-bottom: 1px solid white;
  margin-bottom: 8%;
  font-size: 80%;
  color: white;
}

#contact .mobile p.terms input {
  background-color: white;
}

/* terms and condition */
#contact .mobile .email .col {
  display: flex;
  font-size: 60%;
  color: white;
  align-items: center;
}

#contact .bottom a {
  color: black;
}

#contact .contact-info a {
  color: black;
}
#contact .mobile .email button {
  margin-top: 5%;
  background-color: #eb2429;
  width: 100%;
  color: white;
  font-size: 70%;
  padding: 2% 5%;
  border-style: none;
  border-radius: 7px;
}

/* bottom section */
#contact .mobile .bottom {
  text-align: center;
}
#contact .mobile h1.bottom-title {
  font-size: 100%;
  font-weight: 700;
  margin: 3% 0%;
}
#contact .mobile .bottom p {
  margin-bottom: 1%;
  font-size: 80%;
}
#contact .mobile p.subs {
  font-weight: 300;
}
#contact .mobile p.bottom-email {
  font-weight: 600;
}

/* lifestyle */

/* email container */ /* email container */
#lifestyle {
  background-image: url("../img/team/BG_Team.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2% 10%;
  min-width: 100%;
}

/* heading */
#lifestyle h1 {
  font-weight: 700;
  font-size: 240%;
  text-align: center;
}

/* card title */
#lifestyle .card h3 {
  font-weight: 700;
  transition: color 0.3s;
}

/* title hover */
#lifestyle .card h3:hover {
  color: red;
}

/* card default style */
#lifestyle .card {
  background-color: rgba(255, 255, 255, 0.8); /* semi-transparent white */
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* card hover effect */
#lifestyle .card:hover {
  background-color: rgba(255, 255, 255, 1); /* fully white / lighter */
  transform: translateY(-5px); /* subtle lift */
}

.job-pill {
  display: inline-block;
  width: 120px; /* fixed width */
  text-align: center; /* center text */
  white-space: nowrap; /* keep text on one line */
}

/* capabilities */
#capabilities .mobile {
  padding: 0 5% 5% 5%;
}
/* title */
#capabilities .mobile h1 {
  font-size: 130%;
  margin-bottom: 0%;
  color: red;
  font-weight: 700;
}

/* subtitle */
#capabilities .mobile h2 {
  font-size: 85%;
  font-weight: 450;
}

#capabilities .mobile .card {
  color: white;
  display: flex;
}
#capabilities .mobile .card img {
  height: 20vh;
}

#capabilities .mobile .card img {
  height: 20vh;
}

#capabilities .mobile .card .card-title {
  font-size: 80%;
}

#capabilities .mobile .card .card-text {
  font-size: 60%;
}

#capabilities .mobile .card .card-body img {
  margin-left: 20%;
  width: 60%;
  height: auto;
}
#capabilities .mobile .card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#capabilities .mobile .card button {
  width: 50%;
  border-style: none;
  border-radius: 50px;
  padding: 1% 5%;
  background-color: white;
  font-weight: 700;
  font-size: 60%;
}

#team .mobile {
  background-image: url("../img/team/BG_Image.png");
  background-size: cover;
  padding: 5%;
}

#team .mobile .row {
  width: 100%;
}

#footer {
  background-color: #eb2429;
  color: white;
}

#footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
}

#footer a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 599px) {
  #job_openings .job-card {
    height: 350px;
    border-radius: 0;
  }

  #job_openings .job-title {
    font-size: 70% !important;
  }

  #stories h1 {
    font-size: 130%;
    margin-bottom: 0%;
    color: red;
    font-weight: 700;
  }

  #team h1 {
    font-size: 130%;
    margin-bottom: 0%;
    color: red;
    font-weight: 700;
  }

  #banner-page .banner-page-img-container img {
    height: 10% !important;
    object-fit: scale-down !important;
  }
}

@media only screen and (min-width: 600px) {
  /* home */
  /* label title */

  img.img-fluid2.rounded-start {
    height: auto;
    width: 89%;
  }

  #job_openings .job-card {
    height: 250px;
    border-radius: 50px;
    overflow: hidden;
  }

  #banner-page .banner-page-img-container {
    padding-top: 6%;
  }

  #banner-page .banner-page-img-container img {
    height: 400px !important;
    object-fit: scale-down !important;
  }

  #home .mobile h1.title {
    font-size: 200%;
  }

  /* label subtitle */
  #home .mobile h2.subtitle {
    font-size: 150%;
  }

  /* about */
  /* details heading */

  #about .title {
    font-size: 5rem;
    font-weight: bold;
  }

  #about .mobile .details h1 {
    font-size: 180%;
  }

  /* details paragraphs */
  #about .mobile .details p {
    font-size: 160%;
  }

  #about .mobile .banner h1 {
    font-size: 300%;
  }

  /* partners */
  /* title */
  #partners .mobile h1 {
    font-size: 210%;
  }

  /* subtitle */
  #partners .mobile h2 {
    font-size: 150%;
  }
  /* card title */
  #partners .mobile h5.card-title {
    font-size: 130%;
  }

  /* card description */
  #partners .mobile p.card-text {
    font-size: 120%;
  }
  /* send email button */
  #partners .mobile #email button {
    font-size: 120%;
  }
  /* email text */
  #partners .mobile #email h3 {
    font-size: 120%;
  }

  /* title */
  #capabilities .mobile h1 {
    font-size: 210%;
  }

  /* subtitle */
  #capabilities .mobile h2 {
    font-size: 150%;
  }
  #capabilities .mobile .card .card-title {
    font-size: 160%;
  }

  #capabilities .mobile .card .card-text {
    font-size: 120%;
  }
  #capabilities .mobile .card button {
    font-size: 120%;
  }

  /* clients */
  #clients .mobile .heading h1 {
    font-size: 210%;
  }
  #clients .mobile .heading h2 {
    font-size: 150%;
  }

  /* contact */
  #contact .mobile .email h1 {
    font-size: 240%;
  }
  /* input fields */
  #contact .mobile input {
    font-size: 150%;
  }
  /* terms and condition */
  #contact .mobile p.terms {
    align-items: center;
    font-size: 10%;
    margin-bottom: 5%;
  }
  #contact .mobile p.terms span {
    margin-top: 100px;
    margin-left: 1%;
    height: 100%;
  }

  #contact .mobile .email .col {
    margin-left: 1%;
    height: 100%;
    color: white;
  }
  #contact .mobile .email button {
    font-size: 120%;
  }

  #contact .mobile h1.bottom-title {
    font-size: 180%;
  }
  #contact .mobile .bottom p {
    font-size: 130%;
  }
}

@media only screen and (min-width: 900px) {
  .mobile {
    display: none;
  }
  .desktop {
    display: block;
  }

  #navbar .desktop a.navbar-brand {
    margin-left: 3%;
    width: 15%;
  }

  /* home */
  #home .desktop {
    background-image: url("../img/Home_BG.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }
  #home .desktop .slide-container {
    margin-top: 5%;
    padding: 2% 12%;
    grid-area: slide-container;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "side-label side-img";
  }

  /* left side content */
  #home .desktop .side-label {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* left labels */
  #home .desktop .label-container {
    margin-top: 10%;
    border-left: 3px solid red;
    padding-left: 15px;
  }

  /* label title */
  #home .desktop h1.title {
    font-size: 200%;
    font-weight: 700;
  }

  /* label subtitle */
  #home .desktop h2.subtitle {
    font-size: 140%;
  }

  /* button */
  #home .desktop .slide-container button {
    margin-top: 5%;
    margin-left: 5%;
    padding: 10px 20px;
    border-style: none;
    background-color: red;
    color: white;
    border-radius: 10px;
  }

  /* about us */

  /* about us main container */
  #about {
    scroll-margin: 6em;
  }

  #about .container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #about .banner h1 {
    font-weight: 750;
    font-size: 600%;
  }

  #about .banner h2 {
    font-weight: 300;
  }
  /* details section */
  #about .details {
    background-color: #1d1d1d;
    padding: 5%;
    color: white;
  }

  /* details heading */
  #about .details h1 {
    font-size: 180%;
    font-weight: 700;
  }

  /* details paragraphs */
  #about .details p {
    font-size: 130%;
  }

  /* partners */
  #partners .desktop {
    padding: 5%;
  }

  #partners .desktop h1 {
    color: red;
    font-weight: 700;
    font-size: 250%;
  }

  #partners .desktop h2 {
    font-size: 150%;
    margin-bottom: 2%;
  }

  /* partner rows */
  #partners .desktop .row {
    width: 100%;
  }

  /* partner rows */
  #partners .desktop .col-3 {
    height: 100%;
  }

  /* partner cards */
  #partners .desktop .card {
    height: 100%;
    color: white;
  }

  #partners .desktop .card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 0.5%;
    min-height: 50%;
    max-height: 50%;
  }

  #partners .desktop .card-header img {
    width: 100%;
  }

  #partners .desktop h5.card-title {
    font-size: 100%;
    font-weight: 700;
    margin-bottom: 0%;
  }

  #partners .desktop p.card-text {
    font-size: 70%;
  }

  /* stories */

  #stories h1 {
    color: red;
    font-weight: 700;
    font-size: 250%;
  }

  /* send email card */
  #partners .desktop #pc_email {
    background-color: black;
  }
  #partners .desktop #pc_email .card-header {
    color: white;
    background-color: black;
  }
  #partners .desktop #pc_email button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c01013;
    border-style: none;
    padding: 3%;
    width: 90%;
    color: white;
    border-radius: 5px;
    font-size: 120%;
    font-weight: 700;
  }

  /* Desktop partners: equal card heights */
  #partners .desktop .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* make columns match tallest */
  }

  #partners .desktop .col-3,
  #partners .desktop .col-6 {
    display: flex; /* column becomes a flexbox */
  }

  #partners .desktop .card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  #partners .desktop .card-body {
    height: 200px;
  }

  /* clients */
  #clients {
    scroll-margin: 6em;
  }
  #clients .desktop {
    padding: 5% 5%;
    scroll-margin: 6em;
  }

  /* card title xx */
  #clients .desktop h1 {
    color: red;
    font-weight: 700;
    font-size: 250%;
  }

  /* card details */
  #clients .desktop h2 {
    font-size: 150%;
    margin-bottom: 2%;
  }

  #clients .desktop .row {
    width: 100%;
    padding: 1%;
  }

  /* contact us */
  #contact {
    scroll-margin: 6em;
  }
  #contact .desktop .inquiry {
    background-image: url("../img/BG_Image.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3% 10%;
  }

  /* page label */
  #contact .desktop h1 {
    color: white;
    font-weight: 700;
    font-size: 250%;
    text-align: center;
    margin-bottom: 2%;
  }
  #contact .desktop h2 {
    font-size: 150%;
    margin-bottom: 2%;
  }

  #contact .desktop .inquiry .row {
    margin-bottom: 2%;
    width: 90%;
  }

  #contact .desktop .inquiry .row input {
    background: none;
    border-style: none;
    border-bottom: 1px solid white;
    width: 100%;
    font-size: 120%;
    color: white;
  }

  /* terms and condition */
  #contact .desktop .inquiry p.terms {
    margin-top: 3%;
    color: white;
  }

  /* submit button */
  #contact .desktop .inquiry button {
    margin-top: 3%;
    background-color: #eb2429;
    width: 30%;
    color: white;
    font-size: 70%;
    padding: 1% 5%;
    border-style: none;
    border-radius: 7px;
    font-size: 100%;
  }

  /* contact info main container */
  #contact .desktop .contact-info {
    padding: 3% 8%;
    text-align: center;
  }

  /* contact info header labels */
  #contact .desktop .contact-info h1 {
    color: black;
    font-size: 180%;
  }

  #contact .desktop .contact-info p {
    font-size: 110%;
    margin-bottom: 0%;
  }

  #contact .desktop .contact-info p.bottom-email {
    font-weight: 600;
  }

  /* capabilities */
  #capabilities {
    scroll-margin: 6em;
  }
  #capabilities .desktop {
    padding: 0% 5%;
    scroll-margin: 7em;
  }
  /* page title */
  #capabilities .desktop h1 {
    color: red;
    font-weight: 700;
    font-size: 250%;
  }

  /* page subtitle */
  #capabilities .desktop h2 {
    font-size: 150%;
    margin-bottom: 2%;
  }

  #capabilities .desktop .row {
    position: bottom;
    margin-bottom: 1%;
  }

  #capabilities .desktop .card {
    color: white;
    height: 100%;
  }

  #capabilities .desktop .card .row {
    height: 100%;
  }

  #capabilities .desktop .card-body {
    display: flex;
    flex-direction: center;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }

  /* image section */
  #capabilities .desktop .card .col-md-5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }

  /* image spacer */
  #capabilities .desktop .spacer {
    visibility: hidden;
    height: 0.5%;
  }

  #capabilities .desktop .card .row {
    margin: 0%;
  }
  #capabilities .desktop .card .col {
    height: 100%;
  }

  /* capability title */
  #capabilities .desktop .card .card-title {
    font-size: 110%;
    font-weight: 700;
  }

  /* capability title */
  #capabilities .desktop #bot {
    width: 10%;
  }

  /* capability description */
  #capabilities .desktop .card .card-text {
    font-size: 90%;
  }

  #capabilities .desktop .card button {
    /* visibility: hidden; */
    width: 90%;
    border-style: none;
    border-radius: 50px;
    padding: 3% 10%;
    background-color: white;
    font-weight: 700;
    font-size: 120%;
  }

  #capabilities .desktop .card button a {
    color: black;
    text-decoration: none;
  }

  /* team */ /* team */
  #team {
    scroll-margin: 5em;
  }
  #team .desktop {
    background-image: url("../img/team/BG_Image.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0% 5%;
    padding-top: 2%;
    padding-bottom: 5%;
    scroll-margin: 7em;
  }

  /* page title */
  #team .desktop h1 {
    color: red;
    font-weight: 700;
    font-size: 250%;
  }

  #team .desktop table tr td.lower {
    transform: translateY(30%);
  }

  #team .desktop table {
    margin-bottom: 10rem; /* adjust to match your image shift */
  }

  #team .desktop .img-fluid {
    max-width: 135%;
    height: auto;
  }

  /* spacer */
  #team .desktop .spacer {
    visibility: hidden;
    font-size: 600%;
  }
  #team .desktop table tr td img {
    filter: grayscale(100%);
  }

  /* show color on hover */
  #team .desktop table tr td img:hover {
    filter: grayscale(0%);
  }

  .benefit-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* promos (black → white rising from bottom) */
  #w_promos .col-md-7 {
    background: linear-gradient(to top, #ffffff 50%, #000000 50%);
    background-size: 100% 200%;
    background-position: top; /* start with black (top half of gradient) */
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    color: white;
  }

  #w_promos:hover .col-md-7 {
    background-position: bottom; /* move background down, white rises from bottom */
    color: black;
  }

  /* marketing (red) */
  #w_marketing .col-md-7 {
    background: linear-gradient(to top, #ffffff 50%, #eb2429 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    color: white;
  }
  #w_marketing:hover .col-md-7 {
    background-position: bottom;
    color: black;
  }

  /* chatbot (blue) */
  #w_chatbot .col-md-7 {
    background: linear-gradient(to top, #ffffff 50%, #009ec4 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    color: white;
  }
  #w_chatbot:hover .col-md-7 {
    background-position: bottom;
    color: black;
  }

  /* app dev (orange) */
  #w_webdev .col-md-7 {
    background: linear-gradient(to top, #ffffff 50%, #f5ad03 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    color: white;
  }
  #w_webdev:hover .col-md-7 {
    background-position: bottom;
    color: black;
  }

  /* messaging (teal) */
  #w_messaging .col-md-7 {
    background: linear-gradient(to top, #ffffff 50%, #00b8aa 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    color: white;
  }
  #w_messaging:hover .col-md-7 {
    background-position: bottom;
    color: black;
  }

  /* ads (pink) */
  #w_ads .col-md-7 {
    background: linear-gradient(to top, #ffffff 50%, #00b8aa 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    color: white;
  }
  #w_ads:hover .col-md-7 {
    background-position: bottom;
    color: black;
  }

  #w_enterprise .col-md-7 {
    background: linear-gradient(to top, #ffffff 50%, #f80d6a 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.6s ease-in-out, color 0.6s ease-in-out;
    color: white;
  }
  #w_enterprise:hover .col-md-7 {
    background-position: bottom;
    color: black;
  }

  #capabilities .desktop .card-link {
    text-decoration: none; /* no underline by default */
    color: inherit; /* inherit text color from parent */
  }

  #capabilities .desktop .card-link:hover,
  #capabilities .desktop .card-link:focus,
  #capabilities .desktop .card-link:active {
    text-decoration: none; /* keep underline removed */
    color: inherit; /* prevent unwanted color changes */
  }
}

/* Articles View Page */

#articles-page {
  min-height: 80vh;
  margin-top: 87px;
  padding-bottom: 2.5rem;
}

/* .article-img-container {
    height: 40rem;
} */

.article-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-contents-container h2 {
  font-size: 40px;
  font-weight: 700;
  margin: 1.3rem 0;
}

.article-contents-container h4 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.article-contents-container p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.article-banner-ad-container img {
  width: 50%;
  object-fit: contain;
}

.article-share-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.article-share-container p {
  font-size: 30px;
}

.article-share-links-container a {
  font-size: 35px;
  color: #000;
  margin: 0 1rem;
}

@media (max-width: 1199px) {
  .article-img-container {
    height: auto;
    width: 100%;
  }

  .article-banner-ad-container img {
    width: 70%;
  }
}

@media (max-width: 600px) {
  #articles-page {
    margin-top: 0px !important;
    padding-top: 2rem;
  }

  .article-contents-container h2 {
    font-size: 36px;
  }

  .article-contents-container h4,
  .article-contents-container p {
    font-size: 18px;
    margin-bottom: 1.4rem;
  }

  .article-banner-ad-container img {
    width: 100%;
  }

  .article-share-container {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }

  .article-share-container p {
    font-size: 26px;
  }

  .article-share-links-container a {
    font-size: 30px;
    margin: 0 0.8rem;
  }
}

/* Pawpcorn Reco Recent posts */

.recent-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.recent-post-grid .col {
  padding: 1.5rem;
  gap: 3rem;
}

.recent-post-card {
  display: grid;
  grid-template-columns: 14rem auto;
  border: 1px solid #dee2e6;
  align-items: center;
  padding: 1.5rem;
  gap: 1rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.recent-post-card-link {
  text-decoration: none;
  color: inherit;
  display: block; /* makes link behave like a card wrapper */
}

.recent-post-card:hover {
  /* transform: scale(1.05); Slightly enlarges the element */
  color: inherit;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Adds a soft shadow */
}

.recent-post-card img {
  height: 14rem;
  width: 14rem;
  object-fit: cover;
  object-position: center;
  border: 1px solid #777;
}

.recent-post-grid .col img {
  height: 14rem;
  width: 14rem;
  object-fit: cover;
  border: 1px solid #777;
}

.rp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  /* gap: 2rem; */
  font-family: Arial, sans-serif;
}

.rp-page-btn > button,
.rp-next-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  margin: 0 1rem;
}

.rp-page-btn:hover,
.rp-next-btn:hover {
  color: #eb2429;
}

.rp-page-btn.disable:hover {
  color: #000;
  cursor: default;
}

.rp-page-btn > button.active {
  background-color: #eb2429;
  color: white;
  font-weight: bold;
  padding: 0.1rem 1.3rem;
  border-radius: 1rem;
}

@media (max-width: 1199px) {
  .recent-post-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rp-page-btn > button,
  .rp-next-btn {
    margin: 0 0.75rem;
  }
}

@media (max-width: 600px) {
  .recent-post-card {
    grid-template-columns: 1fr;
  }

  .recent-post-card img {
    width: 100%;
  }

  .recent-post-grid .d-flex {
    flex-direction: column;
  }

  .recent-post-grid .col img {
    height: 100%;
    width: 100%;
  }

  .rp-page-btn > button,
  .rp-next-btn {
    font-size: 18px;
    padding: 8px;
    margin: 0 5px;
  }

  .rp-page-btn > button.active {
    padding: 0.1rem 0.8rem;
    border-radius: 1rem;
  }
}

@media (max-width: 374px) {
  .rp-page-btn > button,
  .rp-next-btn {
    margin: 0 2px;
  }
}

/* Pawpcorn Reco Trailers */

.pawpcorn-trailers-pagination button {
  background-color: transparent;
  border: none;
  font-size: 2rem;
}

@media (max-width: 1199px) {
  .pawpcorn-trailers-pagination button {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .pawpcorn-trailers-pagination button {
    font-size: 1.5rem;
  }
}
