/*
Theme Name: Dev Theme

Author: Md Saif Name
Description: A custom theme for dev purposes
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dev-theme
*/

/* General slider styles */
.testimonial-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Remove the white background and border */
    background: none;
    border: none;
    border-radius: 8px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px 30px;
    text-align: center;
    /* Ensure slides have transparent or a background color of your choice */
    background: rgba(0, 0, 0, 0.1); /* Adjust the background as needed */
    color: #fff; /* Optional: Adjust text color for better visibility */
    border-radius: 8px;
}

/* Blockquote styling */
.testimonial blockquote {
    margin: 0;
    font-size: 1.2rem;
    font-style: italic;
    color: #fff; /* Adjust text color for readability */
}

.blockquote-footer {
    margin-top: 10px;
    font-size: 1rem;
    color: #ddd; /* Adjust footer color for better contrast */
}

/* Navigation buttons */
.prev-slide,
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for buttons */
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 1000;
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.error-404 {
    padding: auto 0;
    margin-bottom: auto; 
  }
  
/* Card styles */
.card1 {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-content {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.description {
  padding: 16px;
  text-align: justify;
}

.port-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.excerpt {
  font-size: 0.875rem;
  color: #000;
}


  
/* 02-09-24 */
.carousel-control-next, .carousel-control-prev{
  width:34px;
}
.card1 .port-title{
  color:#000;
}
[data-animation="card"]:has(.card1),[data-animation="card"] .card1{
  height:100%;
}
[data-animation="card"] .card1 .card-content{
  height: 100%;
}


/* Pagination container */
.pagination {
    text-align: center;
    margin: 20px 0;
}

/* Pagination links */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #007bff;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

/* Current page */
.pagination .current {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

/* Hover and active states */
.pagination a:hover,
.pagination a:focus {
    background-color: #f1f1f1;
    border-color: #ccc;
    color: #0056b3;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        font-size: 14px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 12px;
        margin: 0 2px;
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 1rem;
    background-color: #fff;
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; /* Center cards on larger screens */
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
    flex: 1 1 calc(33.333% - 1rem); /* Three cards per row on large screens */
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 1rem;
    background-color: #fff;
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .card {
        flex: 1 1 calc(50% - 1rem); /* Two cards per row on medium screens */
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%; /* One card per row on small screens */
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 1rem; /* Adjust title size for smaller screens */
    }
}
