/* ------------------- General */
.gallery-container{
 height:500px
}

.img-fluid{
  width: 512px;
  height:512px;
  object-fit: contain;
}

/* ------------------- ARTICLES */

/* General styles for article content */
.article-hero {
  position: relative;
  width: 100%;
  height: 512px;
  background-size: contain;
  background-color: #f4f4f4;
  text-align: center;
  padding: 50px 20px;
}

.article-hero .section-title h3 span {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.article-hero .section-title p {
  font-size: 1.2rem;
  color: #777;
}

.article-hero .hero-image {
  background-size: cover;
  background-position: center;
  width: 100%;
}

.article-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.article-content .row {
  margin-bottom: 30px;
}

.article-content .col-lg-12 {
  padding: 0 15px;
}

.article-content p {
  font-size: 1.125rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}


@media (max-width: 768px) {
  .article-hero .section-title h3 span {
    font-size: 2rem;
  }

  .article-content {
    padding: 15px;
  }

  
}

/* For chapter with icon */
.chapter-with-icon {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.chapter-with-icon .icon {
  font-size: 2rem;
  margin-right: 15px;
  color: #007bff;
}

.chapter-with-icon .text {
  font-size: 1rem;
  line-height: 1.5;
}


/* For chapter with title */
.chapter-with-title h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.chapter-with-title p {
  font-size: 1rem;
  line-height: 1.5;
}

/* For paragraph with icon */
.chapter-with-icon {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.paragraph-with-icon .icon {
  font-size: 2rem;
  margin-right: 15px;
  color: #007bff;
}

.paragraph-with-icon .text {
  font-size: 1rem;
  line-height: 1.5;
}


/* For paragraph with title */
.paragraph-with-title h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.paragraph-with-title p {
  font-size: 1rem;
  line-height: 1.5;
}

/* sub-paragraph */

.sub-paragraph {
  display: flex;
  align-items: center flex-start;
  margin: 10px;
}

/* For sub-paragraph with icon */
.sub-paragraph-with-icon {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.sub-paragraph-with-icon .icon {
  font-size: 2rem;
  margin-right: 15px;
  color: #007bff;
}

.sub-paragraph-with-icon .text {
  font-size: 1rem;
  line-height: 1.5;
}

/* For sub-paragraph with title */
.sub-paragraph-with-title h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.sub-paragraph-with-title p {
  font-size: 1rem;
  line-height: 1.5;
}

/* For sub-paragraph with a list */
ul {
  margin-top: 10px;
  padding-left: 20px;
}

ul li {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Bullet List */
ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

ul li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Numbered List */
ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

ol li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Lettered List */
.lettered-list {
  list-style-type: upper-alpha;
  /* This will make the list lettered (A, B, C) */
  padding-left: 20px;
  margin-bottom: 20px;
}

.lettered-list li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* For the general sub-paragraph with title */
.sub-paragraph-with-title h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.sub-paragraph-with-title p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ------------------- CARD */

.card-img-top {
  width: 99%;
  min-height: 300px;
  height:auto;
  padding: 0px;
  margin: 0px;
  align-self: center;
  object-fit: cover;
  /* Maintain aspect ratio and crop overflow */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: 0 3px 9px rgba(39, 39, 39, 0.5);
}

.card {
  border: none;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;

}

.card-body{
  min-height: 190px;
}

.card-title{
  margin-top: 9px;
}

.card-text{
  margin-top: 9px;
  min-height: 50px;
}

.card-actions {
  padding: 0px 20px 20px 20px;
  float: right !important;
}

.card:hover {
  box-shadow: 0 6px 19px rgba(9, 9, 9, 0.2);
  transform: scale3d(1.005, 1.005, 1.005);
}

.article-card {
  min-height: 550px !important;
}

.portfolio-card {
  min-height: 550px !important;
}

.product-card {
  min-height: 550px !important;
}

.service-card {
  min-height: 550px !important;
}

.search-card {
  min-height: 610px;  /* Set the minimum height for all cards */
}

@media (min-width: 1024px) {
   
  .article-card {
    min-height: 600px !important;
  }
  
  .product-card {
    min-height: 620px !important;
  }

  .search-card {
    min-height: 620px;  /* Set the minimum height for all cards */
  }
}
/*---------------------------------*/
.pagination-container {
  text-align: center;
  margin-top: 20px;
}

.pagination-btn {
  padding: 8px 16px;
  margin: 0 5px;
  cursor: pointer;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  border-radius: 4px;
}

.pagination-btn.active {
  background-color: #007bff;
  color: white;
}

.pagination-btn:hover {
  background-color: #ddd;
}


/* ------------------- PORTFOLIO */

.portfolio-item {
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(87, 87, 87, 0.2);
}

.portfolio-item:hover {
  padding: 10px;
  box-shadow: 0 8px 16px rgba(9, 9, 9, 0.3);
  transition: all 0.3s ease;
  scale: 1.001;
  z-index: 5;
}

.portfolio-details .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}

.portfolio-info ul {
  list-style: none;
  padding: 0;
}

.portfolio-info ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.portfolio-description h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.portfolio-description p {
  font-size: 16px;
  line-height: 1.6;
}

.portfolio-details-slider .swiper-slide img {
  width: 100%;
  height: 500px;
  /* Fixed height for a consistent appearance */
  object-fit: cover;
  /* Ensures images fill the space while retaining proportions */
  border-radius: 5px;
  /* Optional: Rounded corners */
}

.portfolio-details-slider {
  margin-bottom: 20px;
}

.portfolio-info h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
}

.portfolio-cta .btn {
  font-size: 18px;
  padding: 10px 20px;
}

.related-projects h3 {
  margin-bottom: 20px;
}

/*-------------------------------- PLACEHOLDER */

.placeholder {
  position: relative;
  width: 100%;
  height: auto;
}

.placeholder img {
  display: block;
  width: 100%;
  height: auto;
}

.placeholder span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
}

.static-placeholder {
  text-align: center;
  padding: 20px 0;
}

.static-placeholder img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}
/* ---------------------- TABLE*/
.table {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
}

.table thead td {
  background-color: #f8f9fa; /* Light grey for the header */
  font-weight: bold;
  text-align: left; /* Center-align the header text */
}


.table th {
  text-align: left;
  background-color: #f8f9fa;
  padding: 0.75rem;
}

.table td {
  padding: 0.75rem;
}

/*----------------------- INTRO-*/

.intro-text {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #f9f9f9; /* Subtle background for distinction */
  border: 1px solid #eaeaea; /* Optional: Adds a light border */
  border-radius: 8px;
}

.intro-text p {
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  margin: 0;
}


/* ---------------------- FOOTER*/
footer {
  position:static;
  bottom: 0 !important;
}

.footer {
  position:static;
  bottom: 0 !important;
}

