/* Custom Fonts */
@font-face {
  font-family: "NotoSansEthiopic Bold";
  src: url('../webfonts/NotoSansEthiopic-Bold.ttf');
}
@font-face {
  font-family: "NotoSansEthiopic Regular";
  src: url('../webfonts/NotoSansEthiopic-Regular.ttf');
}
@font-face {
  font-family: "GeezFutura Bold";
  src: url('../webfonts/GeezFutura-Bold.ttf');
}
@font-face {
  font-family: "GeezFutura Light";
  src: url('../webfonts/GeezFutura-Light.ttf');
}
   /* Offcanvas Menu Styles */
   #offcanvas {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#offcanvas-menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 20px;
}

#offcanvas-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#offcanvas-menu .nav-link {
    padding: 0.75rem 1rem;
    color: var(--white-color);
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#offcanvas-menu .nav-link:hover {
    background-color: var(--primary-color-high-opacity);
}

#offcanvas-menu .ps-5 {
    padding-left: 2.5rem !important;
}

/* Offcanvas Submenu Styles */
.offcanvas-submenu {
    background-color: var(--primary-color-high-opacity);
    margin-left: 1rem;
    border-left: 2px solid var(--white-color);
}

.offcanvas-submenu .nav-link {
    padding-left: 1.5rem;
}

.offcanvas-submenu .ps-5 {
    padding-left: 3rem !important;
    font-size: 0.95em;
    opacity: 0.9;
}

/* Custom Scrollbar for Offcanvas Menu */
#offcanvas-menu::-webkit-scrollbar {
    width: 6px;
}

#offcanvas-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

#offcanvas-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

#offcanvas-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-high-opacity);
}

/* Ensure the close button and logo stay fixed */
#offcanvas-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#oc-logo {
    padding: 20px;
    text-align: center;
    background: var(--primary-color);
}

/* Navigation Dropdown Styles (Main) */
.dropdown-menu {
    min-width: 100%;      /* At least as wide as the parent nav item */
    width: auto;          /* But not forced to full navbar width */
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: var(--primary-color);
}

.dropdown-menu .navbar-nav,
.dropdown-menu .nav-item,
.dropdown-menu .nav-link {
    width: 100%;
}

.dropdown-menu .nav-link {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    text-overflow: ellipsis;
    padding: 0.75rem 1rem;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.dropdown-menu .nav-link:hover {
    background-color: var(--primary-color-high-opacity);
}

.dropdown-menu .nav-link .fab {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Sub-sub menu positioning and visibility */
.dropdown-menu .nav-item.dropdown {
    position: relative; /* Ensure nested dropdowns are positioned relative to this */
}

.dropdown-menu .nav-item.dropdown .dropdown-menu {
    display: none; /* Hide sub-sub menus by default */
    position: absolute; /* Position relative to the parent .nav-item.dropdown */
    left: 100%; /* Position to the right of the parent */
    top: 0; /* Align with the top of the parent */
    margin-top: 0; /* Remove any default top margin */
    z-index: 1000; /* Ensure it appears above other content */
}

.dropdown-menu .nav-item.dropdown:hover > .dropdown-menu,
.dropdown-menu .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block; /* Show sub-sub menu on hover or focus */
}

/* Adjust position for right-aligned menus if the main dropdown is right-aligned */
.dropdown-menu-end .nav-item.dropdown .dropdown-menu {
    left: auto;
    right: 100%;
}

/* Carousel Styles */
.carousel {
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(50%);
    /* Darker overlay for better text visibility */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    min-height: fit-content;
    height: auto;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.carousel-caption h5 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption .btn {
    margin-top: 1rem;
    align-self: center;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: inline-block;
}

.carousel-caption .btn:hover {
    background: transparent;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators li.active {
    width: 30px;
    border-radius: 10px;
    background-color: var(--primary-color);
}

@media (max-width: 768px) {

    .carousel,
    .carousel-item img {
        height: 100vh;
    }

    .carousel-caption {
        width: 95%;
        padding: 1.5rem;
        gap: 0.5rem;
        background: rgba(0, 0, 0, 0.5);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-height: auto;
    }

    .carousel-caption h5 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .carousel-caption .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .carousel-indicators li {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .carousel-indicators li.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-caption {
        width: 100%;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.6);
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .carousel-caption .btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .carousel-caption {
        padding: 0.75rem;
        gap: 0.25rem;
    }

    .carousel-caption h5 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
    }

    .carousel-caption .btn {
        padding: 0.3rem 1rem;
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }
}
.top-header {
    height: 100px;
    margin: 20px 0 0 0;

}

.grid-container {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    filter: brightness(70%);
}

.grid-item:hover img {
    transform: scale(1.1);
    filter: brightness(50%);
}

.image-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* Specific grid placements */
.coptic-church {
    grid-row: span 2;
}

.bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }
}


.img-left {
    float: left;
    margin-right: 15px;
    max-width: 100%;
    /* Ensure the image doesn't overflow */
}


@media (max-width: 768px) {
    .article-content-main {
        overflow-x: auto;
        /* Adds a horizontal scrollbar ONLY if content overflows */
        word-wrap: break-word;
        /* Breaks long words/URLs to prevent overflow */
        overflow-wrap: break-word;
        /* Modern standard for word-wrap */
        max-width: 100%;
        /* Ensures the content doesn't exceed the container width */
    }

    /* Optional but recommended: Make images within the content responsive */
    .article-content-main img {
        max-width: 100%;
        /* Ensures images scale down */
        height: auto;
        /* Maintains aspect ratio */
        display: block;
        /* Can help prevent extra space below images */
    }

    .img-left {
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .breadcrumb-area h2 {
        font-size: 1.5rem;
    }

    .breadcrumb-area span {
        font-size: 0.9rem;
    }

    .breadcrumb-area span i {
        font-size: 1rem;
    }

    .breadcrumb-area a {
        font-size: 1rem;
    }
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.category-badge {
    background-color: #6B1B1B; /* A more prominent red from the image */
    color: white;
    font-size: 0.75rem; /* Slightly adjusted font size */
    padding: 0.25em 0.5em;
    border-radius: 4px;
    z-index: 1;
}

@media (max-width: 576px) {
    .card-body {
        padding: 0.5rem;
    }

    .card-title {
        margin-bottom: 0.25rem;
    }

    .row {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .col {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

@media (max-width: 768px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .col {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Navigation Dropdown Styles */
.dropdown-menu {
    min-width: 100%;      /* At least as wide as the parent nav item */
    width: auto;          /* But not forced to full navbar width */
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: var(--primary-color);
}
.dropdown-menu .navbar-nav,
.dropdown-menu .nav-item,
.dropdown-menu .nav-link {
    width: 100%;
}
.dropdown-menu .nav-link {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    text-overflow: ellipsis;
    padding: 0.75rem 1rem;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}
.dropdown-menu .nav-link:hover {
    background-color: var(--primary-color-high-opacity);
}
.dropdown-menu .nav-link .fab {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.bg-secondary-main {
    background-color: var(--secondary-color);
    color: #fff;
    cursor: pointer;
}
.nav-btn-style {
    background: var(--primary-color)!important;
    min-width: 0;
    color: var(--white-color);
    font-size: 20px;
    font-weight: 500;
    font-family: inherit;
    padding: 10px 20px;
    text-align: left;
    transition: all 0.42s ease;
    border-radius: 0;
    cursor: pointer;
  }
  @media (min-width: 1200px) and (max-width: 1399px) {
    .nav-btn-style {
      padding: 10px 15px;
    }
  }
  .nav-btn-style svg {
    margin-right: 10px;
    color: var(--primary-color);
    transition: all 0.42s ease;
  }
  .nav-btn-style:hover {
    background-color: var(--accent-color)!important;
    color: var(--white-color)!important;
  }
  .nav-btn-style:hover svg {
    fill: var(--white-color);
  }
  .nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    border: 1px solid #eee;
    margin-bottom: 45px;
  }
  @media (max-width: 1199px) {
    .nav {
      padding: 20px;
      gap: 12px;
    }
  }
  .nav-pills .nav-link.active,
  .nav-pills .show > .nav-link {
    color: var(--secondary-color);
    background-color: var(--secondary-color);
  }
  .nav-pills .nav-link.active svg,
  .nav-pills .show > .nav-link svg {
    fill: var(--white-color);
  }
  .nav-pills .nav-link {
    border-radius: 0;
    border-right: 1px solid #eee;
    min-width: 168px;
  }
  @media (min-width: 1200px) and (max-width: 1399px) {
    .nav-pills .nav-link {
      min-width: 144px;
      font-size: 18px;
    }
  }
  .nav-pills .nav-link:last-child {
    border-right: unset;
  }
  @media (max-width: 1399px) {
    .nav-pills .nav-link {
      border-right: unset;
    }
  }
  @media (max-width: 576px) {
    .nav-pills .nav-link {
      width: 100%;
    }
  }

.image-gallery-single {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-gallery-single img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(75%);
    transition: all 0.45s ease-in-out;
}

.image-gallery-single .image-view {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.45s ease-in-out;
    cursor: pointer;
}

.image-gallery-single .image-view i {
    color: var(--primary-color);
    font-size: 35px;
    opacity: 0;
    transition: all 0.45s ease-in-out;
}

.image-gallery-single:hover img {
    filter: brightness(60%);
    transform: scale(1.1);
}

.image-gallery-single:hover .image-view {
    transform: scale(1);
    opacity: 1;
}

.image-gallery-single:hover .image-view i {
    opacity: 1;
}

/* Fancybox Custom Styles */
.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.95);
}

.fancybox__toolbar {
    --fancybox-accent-color: var(--primary-color);
}

.fancybox__button {
    color: #fff;
}

.fancybox__button:hover {
    color: var(--primary-color);
}

.fancybox__caption {
    color: #fff;
    font-size: 16px;
    padding: 12px;
    text-align: center;
}

.video-gallery-single {
    margin-bottom: 25px;
}

.video-gallery-single img {
    width: 100%;
}

.image-view i {
    font-size: 3em;
    color: var(--primary-color);
}

.card-title{
    font-weight: 600;
    color: #000!important;
}
/* when cart title hover */
.card-title:hover {
    text-decoration: underline;
}

.tags-and-share {
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px
}

.tags-and-share .tags ul {
    padding-left: 0;
    margin-bottom: 0
}

.tags-and-share .tags ul li {
    margin-right: 10px;
    display: inline-block
}

.tags-and-share .tags ul li span {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-right: 5px
}

.tags-and-share .tags ul li a {
    color: #555;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
    position: relative
}

.tags-and-share .tags ul li a:hover {
    color: var(--primary-color)
}

.tags-and-share .tags ul li a::before {
    position: absolute;
    content: ',';
    right: -4px;
}

.tags-and-share .tags ul li:last-child a::before {
    display: none;
}

.tags-and-share .share {
    text-align: right;
}

.tags-and-share .share ul {
    padding-left: 0;
    margin-bottom: 0;
}

.tags-and-share .share ul li {
    display: inline-block;
}
.tags-and-share .bg-primary-main{
  background-color: var(--primary-color);
  color: #fff, imp !important;;
}

.tags-and-share .share ul li span {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-right: 15px;
}

.tags-and-share .share ul li a {
    height: 35px;
    width: 35px;
    line-height: 38px;
    border-radius: 100%;
    background-color: #f4f6f9;
    color: var(--primary-color);
    display: inline-block;
    text-align: center;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
}

.tags-and-share .share ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.single-news-card {
  margin-bottom: 30px;
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
  background-color: url(../images/patterns/nav-hor.png)!important;
  -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
}

.single-news-card .news-img {
  overflow: hidden;
}

.single-news-card .news-img img {
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
}

.single-news-card .news-content {
  padding: 30px;
}

.single-news-card .news-content .list {
  margin-bottom: 15px;
}

.single-news-card .news-content .list ul {
  padding-left: 0;
  margin-bottom: 0;
}

.single-news-card .news-content .list ul li {
  display: inline-block;
  margin-right: 15px;
}

.single-news-card .news-content .list ul li i {
  padding-right: 7px;
  color: var(--primary-color);
}

.single-news-card .news-content .list ul li a {
  color: #555;
}

.single-news-card .news-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
  line-height: 1.3;
  font-family: "GeezFutura Bold";
}

.single-news-card:hover .news-img img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.single-news-card:hover .news-content h3 {
  color: var(--primary-color);
}

.single-news-card.style2 .news-content {
  background-color: #fff;
}

.single-news-card.style3 {
  background-color: #fff
}

.single-news-card.style3 .news-content {
  background-color: #fff;
}

.paginations {
  text-align: center;
  margin-bottom: 30px;
}

.paginations ul {
  padding-left: 0;
  margin-bottom: 0;
}

.paginations ul li {
  display: inline-block;
  padding-right: 10px;
}

.paginations ul li button {
  text-align: center;
  height: 50px;
  width: 50px;
  line-height: 50px;
  border-radius: 100%;
  border: 1px solid #eee;
  display: inline-block;
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
  color: var(--primary-dark);
  font-size: 18px;
  -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  cursor: pointer!important;
}

.paginations ul li button i {
  position: relative;
  top: 2px;
}

.paginations ul li button:hover {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
}

.paginations ul li button.active {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
}
.single-events-card {
  margin-bottom: 30px;
  -webkit-transition: all ease .5s;
  transition: all ease .5s
}

.single-events-card .events-image {
  position: relative
}

.single-events-card .events-image .date {
  background-color: #fff;
  position: absolute;
  bottom: -35px;
  left: 30px;
  padding: 15px 25px;
  -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  border-radius: 5px
}

.single-events-card .events-image .date span {
  font-size: 18px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px
}

.single-events-card .events-content {
  padding: 30px;
  background-color: #fff
}

.single-events-card .events-content .admin {
  text-align: right;
  margin-bottom: 20px
}

.single-events-card .events-content .admin p a {
  color: #555
}

.single-events-card .events-content .admin p a i {
  color: var(--secondary);
  padding-right: 7px
}

.single-events-card .events-content h3 {
  font-size: 24px;
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
  list-style: 1.3
}

.single-events-card:hover {
  -webkit-transform: translateX(-10px);
  transform: translateX(-10px)
}

.single-events-card:hover .events-content h3 {
  color: var(--primary-color)
}

.single-events-card.style2 .events-content {
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05)
}

.single-events-card.style2 .events-content h3 {
  margin-bottom: 15px
}

.single-events-card.style2 .events-content .admin-and-date ul {
  padding-left: 0;
  margin-bottom: 0
}

.single-events-card.style2 .events-content .admin-and-date ul li {
  list-style-type: none
}

.single-events-card.style2 .events-content .admin-and-date ul li a {
  color: #555
}

.single-events-card.style2 .events-content .admin-and-date ul li a i {
  color: var(--primary-color);
  margin-right: 7px
}

.single-events-card.style2:hover {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.single-events-card.style-3 .events-content {
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
}

.single-events-card.style-3 .events-content .date-and-read-more ul {
  padding-left: 0;
  margin-bottom: 0;
}

.single-events-card.style-3 .events-content .date-and-read-more ul li {
  list-style-type: none;
}

.single-events-card.style-3 .events-content .date-and-read-more ul li p i {
  color: var(--primary-color);
  position: relative;
  top: 2px;
  margin-right: 7px;
}

.single-events-card.style-4 .events-content {
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, .05);
}

.next-workshop {
  margin-bottom: 30px;
}

.next-workshop h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.next-workshop .list ul {
  padding-left: 0;
  margin-bottom: 0;
}

.next-workshop .list ul li {
  list-style-type: none;
  margin-bottom: 10px;
  position: relative;
  padding-left: 120px;
}

.next-workshop .list ul li span {
  position: absolute;
  left: 0;
  font-weight: bold!important;
}

.next-workshop .list ul li:last-child {
  margin-bottom: 0;
}

.meetings {
  padding-bottom: 15px;
  border-bottom: 1px solid #f4f6f9;
  margin-bottom: 30px;
}

.meetings h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.meetings p {
  margin-bottom: 20px;
}

.about-lecturer h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.about-lecturer img {
  margin-bottom: 30px;
}

.about-lecturer p {
  margin-bottom: 30px;
}

.about-lecturer .address {
  margin-bottom: 15px;
}

.about-lecturer .address h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

.about-lecturer .address .list ul {
  padding-left: 0;
  margin-bottom: 0;
}

.about-lecturer .address .list ul li {
  margin-bottom: 10px;
  list-style-type: none;
  position: relative;
  padding-left: 20px;
}

.about-lecturer .address .list ul li::before {
  position: absolute;
  content: '';
  height: 8px;
  width: 8px;
  border-radius: 100%;
  background-color: var(--primary-color);
  left: 0;
  top: 7px;
}

.about-lecturer .address .list ul li a {
  color: #555;
}

.about-lecturer .social-content {
  margin-bottom: 30px;
}

.about-lecturer .social-content ul {
  padding-left: 0;
  margin-bottom: 0;
}

.about-lecturer .social-content ul li {
  list-style-type: none;
  display: inline-block;
  margin-right: 10px;
}

.about-lecturer .social-content ul li a {
  height: 40px;
  width: 40px;
  line-height: 40px;
  border-radius: 100%;
  background-color: #f4f6f9;
  color: var(--primary-color);
  font-size: 18px;
  text-align: center;
  display: inline-block;
  -webkit-transition: all ease .5s;
  transition: all ease .5s;
}

.about-lecturer .social-content ul li a:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.meetings {
    padding-bottom: 15px;
    border-bottom: 1px solid #f4f6f9;
    margin-bottom: 30px;
}

.meetings h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.meetings p {
    margin-bottom: 20px;
}

.about-lecturer h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-lecturer img {
    margin-bottom: 30px;
}

.about-lecturer p {
    margin-bottom: 30px;
}

.about-lecturer .address {
    margin-bottom: 15px;
}

.about-lecturer .address h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.about-lecturer .address .list ul {
    padding-left: 0;
    margin-bottom: 0;
}

.about-lecturer .address .list ul li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
    padding-left: 20px;
}

.about-lecturer .address .list ul li::before {
    position: absolute;
    content: '';
    height: 8px;
    width: 8px;
    border-radius: 100%;
    background-color: var(--primary-color);
    left: 0;
    top: 7px;
}

.about-lecturer .address .list ul li a {
    color: #555;
}

.about-lecturer .social-content {
    margin-bottom: 30px;
}

.about-lecturer .social-content ul {
    padding-left: 0;
    margin-bottom: 0;
}

.about-lecturer .social-content ul li {
    list-style-type: none;
    display: inline-block;
    margin-right: 10px;
}

.about-lecturer .social-content ul li a {
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 100%;
    background-color: #f4f6f9;
    color: var(--primary-color);
    font-size: 18px;
    text-align: center;
    display: inline-block;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
}

.about-lecturer .social-content ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}
.poster2new {
  background: var(--primary-color);
  border: 1px solid #675333;
  margin: 20px 0;
  box-shadow: 1px 2px 5px #000;
  -o-box-shadow: 1px 2px 5px #000;
  -moz-box-shadow: 1px 2px 5px #000;
  -webkit-box-shadow: 1px 2px 5px #000
}

.poster2new_inner {
  overflow: hidden;
  position: relative
}

.poster2new h3 {
  background: url(../images/posters/posters-headingbg.png) no-repeat;
  line-height: 53px;
  font-size: 18px;
  color: #fff;
  text-align: center;
}

.poster2new p {
  color: #fff;
  font-weight: 700;
  line-height: 18px;
  text-align: justify;
  padding: 10px;
  position: relative;
}

.poster2new_inner img {
  bottom: 0;
  left: 0;
  position: absolute;
  z-index: 0;
  width: 100%;
  height: auto;
  opacity: .5;
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/

.awards .img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid #eef0ef;
}
.awards .partner img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid #eef0ef;
  width: 200px!important;
}

.awards .img-box:hover {
  border-color: var(--primary-color);
  transform: scale(1.1);
}
.awards .partner:hover {
  border-color: var(--primary-color);
  transform: scale(1.1);
}
.navbar .active > a:first-child{
  background: linear-gradient(90deg, rgba(224,188,128,1) 0%, rgb(17, 103, 81) 48%, rgba(224,188,128,1) 100%);
  color:rgb(255, 255, 255) ;
}
.navbar {
  position: relative;
}
.navbar {
  background-color: var(--primary-color);
  /* line-height: 43px; */
  font-size: 18px;
  color: #fff;
  text-align: center;
}
.left-image,
.right-image {
  position: absolute;
  height: 170%;
  z-index: 999;
}
.nav-scroll .left-image{
  top: -19px;
  height: 170%;
}
.nav-scroll .right-image {
  top: -19px;
  height: 170%;
}

.left-image {
  left: 0;
}

.right-image {
  right: 0;
}
.menu_shadow img {
  height: auto;
  width: 100%
}
.card-footer{
  background: url(../images/patterns/nav-hor.png)!important;
}
.card-text{
  color: #000!important;
}
.drp-language{
  padding-right: 50px!important;
}
.footer-middle{
  padding: 1rem;
  background: #2a9b2e;
  background: linear-gradient(90deg, rgba(42, 155, 46, 0.79) 0%, rgba(0, 51, 15, 1) 87%);
}
.poster2new_inner span{
  color: #fff!important;
}


/***
=============================================
    Footer One
=============================================
***/
.footer-one {
  position: relative;
  display: block;
  z-index: 1;
}

.footer-one__top {
  position: relative;
  display: block;
  background: var(--primary-color);
  padding: 60px 0px 30px;
}

.footer-one__top-wrapper {
  position: relative;
  display: block;
  z-index: 1;
}

.footer-one__bg {
  position: absolute;
  left: -25px;
  bottom: -110px;
  opacity: 0.02;
  z-index: -1;
}

.footer-widget__about {
  position: relative;
  display: block;
  margin-top: -15px;
}

.footer-widget__about-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.footer-widget__about-logo a {
  position: relative;
  display: inline-block;
}

.footer-widget__about-text {
  position: relative;
  display: block;
  color: #b3c5b5;
  font-size: 16px;
  padding-bottom: 28px;
}

.footer-widget__about-contact-box {
  position: relative;
  display: block;
  border-top: 1px solid #465c48;
  padding-top: 29px;
}

.footer-widget__about-contact-box .phone {
  font-size: 15px;
  line-height: 36px;
  font-weight: 500;
}

.footer-widget__about-contact-box .phone a {
  color: #ffffff;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.footer-widget__about-contact-box .phone a:hover {
  color: var(--primary-color);
}

.footer-widget__about-contact-box .phone a i::before {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
  font-size: 15px;
  padding-right: 10px;
}

.footer-widget__about-contact-box p {
  font-size: 15px;
  line-height: 36px;
  font-weight: 500;
}

.footer-widget__about-contact-box p a {
  color: #ffffff;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.footer-widget__about-contact-box p a:hover {
  color: var(--primary-color);
}

.footer-widget__about-contact-box p a i::before {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
  font-size: 15px;
  padding-right: 10px;
}

.footer-widget__about-contact-box .text {
  color: #ffffff;
  font-size: 15px;
  line-height: 36px;
  font-weight: 500;
}

.footer-widget__about-contact-box .text i::before {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
  font-size: 15px;
  padding-right: 10px;
}

.footer-widget__news {
  position: relative;
  display: block;
  margin-right: -50px;
}

.footer-widget__title {
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.02em;
  margin-bottom: 34px;
}

.footer-widget__news-list {
  position: relative;
  display: block;
}

.footer-widget__news-list-item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 38px;
}

.footer-widget__news-list-item:last-child {
  margin-bottom: 0;
}

.footer-widget__news-list-item-img {
  position: relative;
  display: block;
}

.footer-widget__news-list-item-title {
  position: relative;
  display: block;
  padding-left: 20px;
}

.footer-widget__news-list-item-title p {
  color: var(--primary-color);
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 11px;
}

.footer-widget__news-list-item-title h5 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  font-family: var(--primary-font);
}

.footer-widget__news-list-item-title h5 a {
  color: #ffffff;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.footer-widget__news-list-item-title h5 a:hover {
  color: var(--primary-color);
}

.footer-widget__explore {
  position: relative;
  display: block;
  margin-left: 50px;
}

.footer-widget__explore-list {
  position: relative;
  display: block;
  margin-top: -4px;
}

.footer-widget__explore-list-item {
  position: relative;
  display: block;
  margin-bottom: 10px;
}

.footer-widget__explore-list-item:last-child {
  margin-bottom: 0;
}

.footer-widget__explore-list-item a {
  position: relative;
  display: inline-block;
  color: #b3c5b5;
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
  font-family: var(--primary-font);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.footer-widget__explore-list-item a:hover {
  color: #ffffff;
}

.footer-widget__explore-list-item a::before {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  content: "";
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

.footer-widget__explore-list-item:hover a::before {
  width: 100%;
}

.footer-widget__newletter {
  position: relative;
  display: block;
  margin-left: 70px;
}

.footer-widget__newletter-text {
  color: #b3c5b5;
  font-size: 16px;
  line-height: 34px;
  margin-top: -4px;
}

/* ====================== [ End accordion ] ====================== */
/* ====================== [ Start contact ] ====================== */
.contact-crv{
  padding: 80px 0;
}
.contact-crv .info-box {
  color: #313030;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.2);
  padding: 20px;
  width: 100%;
}

.contact-crv .info-box i {
  font-size: 32px;
  color: var(--primary-color);
  padding: 8px;
  float: left;
}

.contact-crv .info-box h3 {
  font-size: 20px;
  color: #656262;
  font-weight: 700;
  margin: 10px 0 10px 68px;
}

.contact-crv .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact-crv .box-shadow {
  padding: 20px 50px;
  background: #fff;
  -webkit-box-shadow: 0px 20px 40px rgba(60, 63, 130, 0.07);
  box-shadow: 0px 20px 40px rgba(60, 63, 130, 0.07);
  position: relative;
  /* margin-top: -80px; */
}

.contact-crv form input,
.contact-crv form select,
.contact-crv form option,
.contact-crv form textarea {
  padding: 15px 20px;
  background: rgba(60, 63, 130, 0.04);
  border: 0;
  border-bottom: 1px solid rgba(60, 63, 130, 0.07);
  width: 100%;
}

.contact-crv form textarea {
  height: 100%;
}

.contact-crv form .sam-height {
  height: 100%;
}

.contact-crv form button {
  padding: 15px 40px;
  min-width: 180px;
  text-align: center;
  border-radius: 30px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  -webkit-transition: all .4s;
  -o-transition: all .4s;
  transition: all .4s;
}

.contact-crv form button:hover {
  background: transparent;
  color: #3b3f82;
}

.contact-crv .google-maps {
  height: 450px;
  width: 100%;
  position: relative;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.contact-crv .google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact .form .form-group {
  margin-bottom: 30px;
}

.contact .form .form-group input,
.contact .form .form-group textarea {
  padding: 15px 30px;
  background: #fbfbfb;
  border: 0;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.contact .form .sub-title {
  padding: 15px 40px;
}

.contact-dark {
  color: #fff;
}

.contact-dark form input,
.contact-dark form textarea {
  color: #fff;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-dark form button span {
  color: #23262d;
}

.contact-dark form button:hover {
  background: #23262d;
}

.contact-dark form button:hover span {
  color: #fff;
}


.pq-blog-post {
  background-color: var(--grey-color);
  display: inline-block;
  width: 100%;
  margin-bottom: 45px;
}

.pq-blog-post .pq-post-media {
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
}

.pq-blog-post .pq-post-media img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  width: 100%;
}

.pq-blog-post:hover .pq-post-media img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.pq-blog-post .pq-blog-contain {
  padding: 30px;
  display: inline-block;
  position: relative;
  width: 100%;
}


.blog.pq-white-bg-color .pq-blog-post .pq-blog-contain {
  background: var(--white-color);
}

.pq-blog-post .pq-blog-contain .pq-blog-title {
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 5px;
}

.pq-blog-post .pq-blog-info p {
  margin-top: 10px;
}

.pq-blog-post .pq-post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.pq-blog-post .pq-post-meta .pq-post-date {
  background: var(--primary-color);
  display: inline-block;
  width: 60px;
  height: 60px;
  padding: 10px;
  margin-right: 15px;
}

.pq-blog-post .pq-post-meta .pq-post-date span {
  background: var(--primary-color);
  color: var(--white-color);
  display: inline-block;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.pq-blog-post .pq-post-meta ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
}

.pq-blog-post .pq-post-meta ul li {
  list-style: none;
  display: inline-block;
  margin-right: 15px;
  align-self: center;
  font-family: var(--title-fonts);
  font-size: 16px;
  line-height: 24px;
  text-transform: capitalize;
}

.pq-blog-post .pq-post-meta ul li:last-child {
  margin-right: 0;
  margin-top: 0px;
}

.pq-blog-post .pq-post-meta ul li+li {
  position: relative;
  padding-left: 15px;
}

.pq-blog-post .pq-post-meta ul li+li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  background: rgba(0, 0, 0, .1);
}

.pq-blog-post .pq-post-meta ul li a {
  color: var(--secondary-color);
}

.pq-blog-post .pq-post-meta ul li a:hover {
  color: var(--primary-color);
}

.pq-blog-post .pq-post-meta ul li i {
  margin-right: 10px;
  color: var(--primary-color);
}

.pq-blog-col-1 .pq-blog-post,
.pq-blog-col-2 .pq-blog-post,
.pq-blog-col-3 .pq-blog-post {
  background-color: var(--grey-color);
}

.pq-blog-col-2 .pq-blog-post .pq-blog-contain .pq-blog-title {
  font-size: 28px;
  line-height: 36px;
}

.pq-blog-col-3 .pq-blog-post .pq-blog-contain .pq-blog-title {
  font-size: 22px;
  line-height: 30px;
}

/*================================================
Blog Single Post
================================================*/
.pq-single-post-bottom-holder {
  margin: 0;
  padding: 0 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
}

.pq-single-post-bottom-holder .pq-single-post-tags {
  display: flex;
  align-items: center;
}

.pq-single-post-bottom-holder .pq-single-post-tags-title {
  font-size: 18px;
  line-height: 26px;
  font-family: var(--primary-font);
  color: var(--primary-color);
  text-transform: capitalize;
  font-weight: 600;
  display: inline-block;
}

.pq-single-post-bottom-holder ul.pq-single-post-tags-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
}

.pq-single-post-bottom-holder ul.pq-single-post-tags-list li {
  margin: 0 0 0 8px;
  padding: 0;
  list-style: none;
  display: inline-flex;
}

.pq-single-post-bottom-holder ul.pq-single-post-tags-list li a {
  font-size: 14px;
  text-transform: capitalize;
  margin: 0 0 5px 0;
  display: inline-block;
  float: left;
  cursor: pointer;
  color: var(--white-color);
  padding: 4px 10px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
}

.pq-single-post-bottom-holder ul.pq-single-post-tags-list li a:hover {
  border-color: var(--dark-color);
  background: var(--primary-color);
  color: var(--white-color);
}

.pq-single-post-bottom-holder .pq-single-post-social-title {
  font-size: 18px;
  line-height: 26px;
  font-family: var(--primary-font);
  color: var(--primary-color);
  text-transform: capitalize;
  font-weight: 500;
  display: inline-block;
}

.pq-single-post-bottom-holder ul.pq-single-post-social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
}

.pq-single-post-bottom-holder ul.pq-single-post-social-list li {
  margin: 0 0 0 8px;
  padding: 0;
  list-style: none;
}

.pq-single-post-bottom-holder ul.pq-single-post-social-list li a {
  width: 45px;
  height: 45px;
  background: var(--grey-color);
  color: var(--primary-color);
  display: inline-block;
  text-align: center;
  line-height: 45px;
}

.pq-single-post-bottom-holder ul.pq-single-post-social-list li a:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.pq-single-post-navigation {
  margin: 0;
  padding: 0 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  border-top: 1px solid var(--dark-grey-color);
  border-bottom: 1px solid var(--dark-grey-color);
}

.pq-single-post-navigation .pq-single-post-nav {
  position: relative;
  display: flex;
  align-items: center;
  width: 45%;
}

.pq-single-post-navigation .pq-single-post-nav.pq-next {
  justify-content: flex-end;
}

.pq-single-post-navigation .pq-single-post-nav.pq-prev .pq-single-post-nav-image-holder {
  margin-right: 30px;
}

.pq-single-post-navigation .pq-single-post-nav.pq-next .pq-single-post-nav-image-holder {
  margin-left: 30px;
}

.pq-single-post-navigation .pq-single-post-nav .pq-single-post-nav-image-holder img {
  height: 120px;
  max-width: 120px;
}

.pq-single-post-navigation .pq-single-post-nav.pq-next .pq-single-post-nav-content {
  text-align: right;
}

.pq-single-post-navigation .pq-single-post-nav-content .pq-single-post-nav-title h4 {
  font-size: 18px;
  line-height: 26px;
  word-break: break-all;
}

.pq-single-post-navigation .pq-single-post-nav-content .pq-single-post-nav-label {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pq-single-post-navigation .pq-single-post-nav:hover .pq-single-post-nav-content .pq-single-post-nav-title h4 {
  color: var(--primary-color);
}

/*================================================
Sidebar Menu
================================================*/
.pq-background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-color);
  z-index: 100;
  opacity: 0.8;
  display: none;
  transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.pq-siderbar-open .pq-background-overlay {
  display: block;
  transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.pq-siderbar-open .pq-sidebar {
  right: 0;
  opacity: 1;
}

.pq-sidebar {
  width: 510px;
  background: var(--white-color);
  opacity: 0;
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  z-index: 101;
  transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.pq-sidebar .pq-close-btn .pq-close {
  position: absolute;
  left: -50px;
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: var(--white-color);
  top: 90px;
  font-size: 18px;
}

.pq-sidebar .pq-close-btn .pq-close:hover {
  background: var(--dark-color);
  color: var(--white-color);
}

.pq-sidebar-block {
  padding: 60px 30px 30px 30px;
  height: 100%;
}

.pq-sidebar-header .pq-sidebar-logo {
  margin-bottom: 15px;
  height: 50px;
}

.pq-sidebar h5,
.pq-sidebar h4 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 20px;
}

.pq-sidebar .pq-foote-recent-post .pq-foote-recent-post-info .pq-post-date:hover {
  color: var(--primary-color);
}

.pq-sidebar .pq-sidebar-form span.wpcf7-form-control-wrap {
  margin-bottom: 30px;
  display: block;
}

.pq-sidebar .pq-sidebar-form .wpcf7-form-control {
  float: none;
}

.pq-sidebar ul {
  margin: 0;
  padding: 0;
}

.pq-sidebar ul li {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
}

.pq-sidebar ul li a {
  color: var(--dark-color);
}

.pq-sidebar-contact {
  display: inline-block;
  width: 100%;
}

.pq-sidebar-contact li {
  display: flex;
  align-items: flex-start;
}

.pq-sidebar-contact li i {
  line-height: 2;
  color: var(--primary-color);
}

.pq-sidebar-contact li span {
  margin-left: 15px;
  flex: 1;
}

.pq-sidebar-contact ul li a {
  color: var(--secondary-color);
}

.pq-sidebar-contact ul li a:hover {
  color: var(--primary-color);
}

.pq-sidebar-social ul {
  margin-top: 30px;
  display: inline-block;
  width: 100%;
}

.pq-sidebar-social ul li {
  display: inline-block;
  padding: 0;
  margin: 0;
  margin-right: 5px;
}

.pq-sidebar-social ul li:last-child {
  margin-right: 0;
}

.pq-sidebar-social ul li a {
  background: var(--grey-color);
  color: var(--dark-color);
  width: 40px;
  height: 40px;
  line-height: 43px;
  display: inline-block;
  text-align: center;
  position: relative;
  border-radius: 5px;
}

.pq-sidebar-social ul li a:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.pq-sidebar .sidebar {
  background: transparent;
  padding: 0;
  border: none;
}

.pq-sidebars {
  margin-bottom: 30px;
  display: inline-block;
  width: 100%;
  float: left;
  position: relative;
  padding: 30px;
  background: var(--grey-color);
}

.pq-sidebars ul li a {
  color: var(--primary-color);
  position: relative;
  word-wrap: break-word;
  padding: 0 0 0 15px;
  text-transform: capitalize;
}

.pq-block-group__inner-container h4 {
  color: var(--primary-color);
}

.pq-sidebars ul.pq-block-categories-list li>a:before,
.pq-sidebars ul.pq-block-meta-list li>a:before {
  position: absolute;
  content: '\f054';
  left: 0;
  font-size: 10px;
  top: 5px;
  font-family: "Font Awesome 6 Free";
  line-height: normal;
  font-weight: 600;
  color: var(--primary-color);
}

.pq-block-tag-cloud .tag-cloud-link {
  font-size: 14px;
  background: var(--white-color);
  margin: 0 5px 5px 5px;
  display: inline-block;
  float: left;
  color: var(--white-color);
  background-color: var(--primary-color);
  padding: 5px 10px;
  transition: all 0.5s ease-in-out;
  text-transform: capitalize;
}

.pq-block-tag-cloud .tag-cloud-link:hover {
  color: var(--white-color);
  background: var(--primary-color);
}

.pq-sidebars.pq-side-header {
  background: none;
  padding: 0;
}

.pq-sidebar .sidebar .wp-block-image {
  margin-bottom: 30px;
}

.pq-main-menu.sidebar h4 {
  color: var(--primary-color);
}

.pq-sidebar-contact .pq-contact span {
  color: var(--secondary-color);
}

/*=====================SideBar-Search=====================*/
.pq-menu-search-block.pq-sidebars {
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
}

.pq-sidebar-search-form .search-form {
  display: flex;
  align-items: stretch;
  position: relative;
  border: 1px solid #e0e0e0;
}

.pq-sidebar-search-form .search-form label {
  flex: 1;
  margin: 0;
}

.pq-sidebar-search-form .search-field {
  width: 100%;
  padding: 12px 15px;
  border: none;
  background: #fff;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
  height: 100%;
}

.pq-sidebar-search-form .search-field:focus {
  outline: none;
}

.pq-sidebar-search-form .search-submit {
  position: relative;
  top: 8px;
  width: 60px;
  background: var(--primary-color);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  height: auto;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pq-sidebar-search-form .search-submit i {
  font-size: 16px;
  color: #fff;
}

.pq-sidebar-search-form .search-submit:hover {
  background: #7db32e;
}

.pq-sidebar-search-form .screen-reader-text {
  display: none;
}
.bishop-card {
  background: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  cursor: pointer;
}

.bishop-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bishop-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect Ratio */
}

.bishop-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.bishop-info {
  padding: 15px;
  text-align: center;
  background: var(--white-color);
}

.bishop-info h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
}

.bishop-info p {
  margin: 5px 0 0;
  color: var(--dark-color);
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .bishop-card {
      margin-bottom: 15px;
  }
  
  .bishop-info h4 {
      font-size: 1rem;
  }
  
  .bishop-info p {
      font-size: 0.8rem;
  }
}
/* News Cards */
.news-card {
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-card .card-image {
  overflow: hidden;
  border-radius: 8px;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .card-image img {
  transform: scale(1.05);
}

.news-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
}

/* Card Titles */
.card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: #1a1a1a;
  flex: 1;
}

.large-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.medium-card .card-title {
  font-size: 1.1rem;
}

.news-card .card-title {
  font-size: 1rem;
}

/* Card Excerpts */
.card-excerpt {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.large-card .card-excerpt {
  font-size: 1rem;
}

/* Card Meta */
.card-meta {
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-meta .date {
  color: #999;
  font-size: 0.85rem;
  font-weight: 400;
}

/* Large Featured Card */
.large-card {
  padding: 0;
}

.large-card .card-image {
  margin-bottom: 1.5rem;
  height: 300px;
}

.large-card .card-content {
  padding: 0 1rem 1rem;
}

/* Medium Cards */
.medium-card {
  padding: 1rem;
  border: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}

.medium-card .card-image {
  height: 120px;
  width: 100%; /* Ensure full width on mobile */
}

/* Medium Cards */
.medium-card .card-content {
  width: 100%; /* Ensure full width on mobile */
}

@media (min-width: 768px) {
  .medium-card .card-image {
    width: 33.33%; /* Approx col-4 width */
  }
  .medium-card .card-content {
    width: 66.67%; /* Approx col-8 width */
  }
}

/* Regular Cards */
.news-card:not(.large-card):not(.medium-card) {
  padding: 1rem;
  border: 1px solid #f0f0f0;
}

.news-card:not(.large-card):not(.medium-card) .card-image {
  height: 180px;
}

/* Grid adjustments */
.container-fluid {
  max-width: 1400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .large-card .card-title {
      font-size: 1.25rem;
  }
  
  .medium-card .card-title {
      font-size: 1rem;
  }
  
  .news-card .card-title {
      font-size: 0.95rem;
  }
  
  .large-card .card-image {
      height: 200px;
  }
  
  .medium-card .card-image {
      height: 100px;
  }
  
  .news-card:not(.large-card):not(.medium-card) .card-image {
      height: 150px;
  }
}

@media (max-width: 576px) {
  .container-fluid {
      padding-left: 1rem;
      padding-right: 1rem;
  }
  
  .large-card .card-title {
      font-size: 1.1rem;
  }
  
  .large-card .card-image {
      height: 180px;
  }
}

/* Hover effects */
.news-card {
  cursor: pointer;
}

.news-card .card-title {
  transition: color 0.3s ease;
}

.news-card:hover .card-title {
  color: var(--primary-color);
}

/* Loading states */
.card-image {
  background-color: #f8f9fa;
  position: relative;
}

.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  animation: loading 1.5s infinite;
  z-index: 1;
}

@keyframes loading {
  100% {
      transform: translateX(100%);
  }
}

/* Accessibility improvements */
.news-card:focus {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .news-card {
      break-inside: avoid;
      box-shadow: none;
      border: 1px solid #ddd;
  }
  
  .news-card:hover {
      transform: none;
  }
}