@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* 👈 Important */
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/webfonts/fa-brands-400.woff2") format("woff2"),
       url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/webfonts/fa-brands-400.woff") format("woff");
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/webfonts/fa-solid-900.woff2") format("woff2"),
       url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/webfonts/fa-solid-900.woff") format("woff");
}

:root {
  /* Base */
  --white: #ffffff;
  --black: #000000;
  --light-white: #f5f5f5;
  --primary-color: #1d3da1;  /* Blue (Hands) */
  --accent-red: #e41b23;    /* Red (Heart) */
  --secondary-color: #237e3d;     /* Green (Heart curve) */
  --accent-yellow: #f4c20d;    /* Yellow highlight */
  --section-bg-off-white: #f7f8f8;     /* Light gray */
  --section-bg-primary: #09108a;       /* Deep brand blue support */
  --section-bg-secondary: rgba(228, 27, 35, 0.05); /* Soft red tint */
  --text-color: #333333;
  --hover-color: #e41b23;  /* Red hover (brand) */
}
/* Body */
.main-wrap h1, .main-wrap h2, .main-wrap h3, .main-wrap h4, .main-wrap h5, .main-wrap h6 {
    position: relative;
    text-transform: capitalize;
    font-weight: bold;
    line-height: 100%;
    margin-bottom: 10px;
}
body {
    font-family: Montserrat;
}
button, .main-wrap a {
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.main-wrap a, .main-wrap a:hover, .main-wrap a:focus {
    text-decoration: none;
}
.main-wrap a {
    color: var(--black);
	font-weight:500;
}
.main-wrap p {
    margin-bottom: 4px;
}
.main-wrap img {
    width: 100%;
    height: auto;
}
.main-wrap .clear {
    float: left;
    width: 100%;
    position: relative;
}
.main-wrap button:focus:not(:focus-visible), 
.main-wrap .btn-check:focus+.btn, 
.main-wrap .btn:focus,
.main-wrap .accordion-button:focus {
    outline: 0;
    box-shadow: none;
}
.main-wrap ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
/*Scroll To Up*/
.main-wrap .scroll-to-up {
	display: none; 
    position: fixed;
    bottom: 25px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    right: 20px;
    background-color: var(--primary-color);
    text-align: center;
    font-size: 20px;
    z-index: 999;
    border-radius: 0px;
    color: var(--white);
    border: 1px solid var(--black);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Added shadow */
    transition: all 0.3s ease; /* Smooth hover */
}
.main-wrap .scroll-to-up:hover {
    background-color: var(--black);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4); /* Stronger shadow on hover */
}
.main-wrap .scroll-to-up:hover i {
    color: var(--white);
}
/*Navbar*/
.main-wrap header {
    background-color: var(--white);
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    z-index: 99;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.main-wrap header .logo {
    position: relative;
	padding: 10px 0;
}
.main-wrap header .navbar-brand img {
    width: 300px;
}
.main-wrap .navbar-collapse .nav-link {
    padding: 6px 20px;
    border-radius: 6px;
    margin-left: 30px;
    font-size: 18px;
    font-weight: 800;
    color: var(--black);
}
.main-wrap .navbar-collapse ul.dropdown-menu .nav-link {
    margin: 0px;
} 
.main-wrap .navbar-collapse ul.dropdown-menu .dropdown-item {
    background-color: var(--white);
}
.main-wrap .navbar-collapse ul.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid var(--black);
}
.main-wrap .navbar-collapse ul .active a,
.main-wrap .navbar-collapse ul li a:hover {
    color: var(--primary-color);
}
.main-wrap header .navbar.affix-top {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    top: 0;
    z-index: 99;
}
.main-wrap header .navbar.affix-top .logo {
    position: relative;
    top: 0px;
    padding: 10px 0;
}
.main-wrap header .navbar.affix-top .navbar-brand img {
    width: 50%;
}
/*Search*/
.main-wrap .search-container {
  display: flex;
  align-items: center;
  margin-left: auto;  /* push it to the right end */
  gap: 8px;
  z-index: 999;
  flex: 0 0 auto;
}
.main-wrap .search-container .search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 6px;
  color: var(--text-color);
  cursor: pointer;
  font-size: 18px;
}
.main-wrap .search-container .search-bar {
  display: flex;
  align-items: center;
  max-width: 0;            /* collapsed width */
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.36s cubic-bezier(.2,.9,.2,1), opacity 0.28s ease;
  background: var(--white);
  border-radius: 0px;
  padding: 4px;            /* will be hidden when collapsed */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.main-wrap .search-container.active .search-bar {
  max-width: 340px; /* desired expanded width */
  opacity: 1;
}
.main-wrap .search-container  .search-bar .search-form {
  display: flex;
  align-items: center;
  width: 100%;
}
.main-wrap .search-container .search-bar .search-field {
  flex: 1;
  border: 1px solid #e6e6e6;
  border-radius: 0px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  background: transparent;
  min-width: 0; /* important for flex shrink */
}
.main-wrap .search-container .search-bar .search-submit,
.main-wrap .search-container .search-bar .fa-search {
  margin-left: 8px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--primary-color);
  cursor: pointer;
}
.main-wrap .search-container .search-bar .search-field:focus {
  border-color: var(--primary-color);
}
.main-wrap .search-container .search-toggle,
.main-wrap .search-container .search-bar {
  align-self: center;
}
/*Section Title*/
.main-wrap .section-title {
  font-size: 22px;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 24px;
  color: var(--text-color); /* Neutral dark text */
}
.main-wrap .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color); /* Brand red underline */
  border-radius: 3px;
  transition: width 0.3s ease, background 0.3s ease;
}
/*Featured Post Card*/
.main-wrap .featured-post-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}
.main-wrap .featured-post-card .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}
.main-wrap .featured-post-card:hover .bg-image {
    transform: scale(1.1);
}
.main-wrap .featured-post-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.main-wrap .featured-post-card .post-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
}
.main-wrap .featured-post-card .post-category {
    display: inline-block;
    background: var(--primary-color, #ff5722);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.main-wrap .featured-post-card .post-title {
    font-size: 24px;
    margin: 10px 0;
    font-weight: bold;
}
.main-wrap .featured-post-card .post-title a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: break-word; 
    word-wrap: break-word;    
    word-break: break-word; 
}
.main-wrap .featured-post-card .post-meta {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 10px;
}
.main-wrap .featured-post-card .excerpt {
    font-size: 15px;
    line-height: 1.6;
}
/*Post*/
/* News Card Wrap */
.main-wrap .masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}
.main-wrap .news-wrap {
  border: none;
  border-radius: 0px;
  overflow: hidden;
  background: var(--light-white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}
.main-wrap .news-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.main-wrap .news-wrap .news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.main-wrap .news-wrap:hover .news-image {
  transform: scale(1.01);
}
.main-wrap .news-wrap .card-body {
  padding: 18px 20px;
}
.main-wrap .news-wrap .card-body .news-date {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 8px;
  display: block;
}
.main-wrap .news-wrap .card-body .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.main-wrap .news-wrap .card-body .card-title a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s ease;
}
.main-wrap .news-wrap:hover .card-body .card-title a {
  color: var(--primary-color);
}
.main-wrap .news-wrap .card-body .card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
.main-wrap .news-wrap .card-body .read-more {
  display: inline-block;
  margin-left: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.main-wrap .news-wrap:hover .card-body  .read-more {
  color: var(--primary-color);
  text-decoration: underline;
}
.main-wrap .news-wrap .news-nav {
  margin-bottom: 10px;
}
.main-wrap .news-wrap .news-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-wrap .news-wrap .news-nav li {
  display: inline-block;
  margin: 0 6px 6px 0;
}
.main-wrap .news-wrap .news-nav a {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-color);
  background: rgba(0, 123, 255, 0.08);
  border-radius: 0px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.main-wrap .news-wrap .news-nav a:hover {
  background: var(--primary-color);
  color: #fff;
}

/*Pagination*/
.main-wrap .pagination {
  text-align: center;
  margin: 30px 0 0;
}
.main-wrap .pagination-list {
  display: inline-flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-wrap .pagination-list li {
  display: inline-block;
}
.main-wrap .pagination-list li a,
.main-wrap .pagination-list li span {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  background: var(--light-white);
  border: 1px solid var(--light-white);
  border-radius: 0px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.main-wrap .pagination-list li a:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}
.main-wrap .pagination-list li.active span {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  font-weight: 600;
  cursor: default;
}
.main-wrap .pagination-list li a[aria-label="Next"],
.main-wrap .pagination-list li a[aria-label="Previous"] {
  font-weight: bold;
  font-size: 1rem;
}
/*Popular Post*/
.main-wrap .custom-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main-wrap .custom-card {
  cursor: pointer;
  display: flex;
  align-items: center;
  background: var(--light-white); 
  border-radius: 0px;
  overflow: hidden;
  padding: 12px;
  transition: transform 0.3s ease;
}
.main-wrap .custom-card:hover {
  transform: translateY(-3px);
}
.main-wrap .custom-card img {
  width: 90px;
  height: 90px;
  border-radius: 0px;
  object-fit: cover;
  margin-right: 20px;
}
.main-wrap .custom-card-content {
  display: flex;
  flex-direction: column;
}
.main-wrap .custom-card-category {
  font-size: 12px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 6px;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
}
.main-wrap .custom-card-title {
  	font-size: 14px;
  	margin: 0;
  	font-weight: bold;
  	color: var(--black);
	line-height: 1.4;
}
.main-wrap .custom-card-content .custom-card-meta {
	margin-top: 4px;
	font-size: 12px;
}
/* Category */
.main-wrap .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-wrap  .category-list li {
  margin: 0;
}
.main-wrap .category-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 0px;
  background: var(--light-white);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: all 0.3s ease;
}
.main-wrap .category-list li a:hover {
  background: var(--primary-color);
  color: var(--white);
}
.main-wrap .category-list .badge {
  background: var(--secondary-color);
  color: var(--white);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 0px;
  font-weight: 600;
}
/* Tags */
.main-wrap .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.main-wrap .tag-badge {
  background: var(--light-white);
  padding: 6px 12px;
  border-radius: 0px;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--black);
  transition: all 0.3s ease;
}
.main-wrap .tag-badge:hover {
  background: var(--primary-color);
  color: var(--white);
}
/*Footer*/
.main-wrap .main-footer {
  background: var(--primary-color); /* dark background */
  color: var(--white);
  padding: 40px 0;
  text-align: center;
  margin-top: 30px;
}
.main-wrap .main-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.main-wrap .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.main-wrap .footer-menu li a {
  color: var(--white);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.main-wrap .footer-menu li a:hover {
  color: var(--secondary-color);  
}
.main-wrap .footer-copy {
  font-size: 16px;
  color: var(--white);
}
.main-wrap .social-menu li:not(:last-child) {
    margin-right: 12px;
}
.main-wrap .social-menu i {
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}
.main-wrap .social-menu a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.main-wrap .social-menu a:hover {
    background: var(--secondary-color);
    color: var(--white);
}
/*Page*/
.main-wrap .inside-header-wrap {
	margin: 20px 0 0;
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb {
  font-size: 14px;
  margin: 15px 0;
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb a,
.main-wrap .inside-header-wrap .rank-math-breadcrumb .last {
	border-radius: 0px;
  position: relative;
  display: inline-block;
  padding: 6px 18px 6px 20px;
  margin-right: 15px;
  background: var(--light-white);
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 6px;
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb a:hover {
  background: var(--primary-color);
  color: var(--white);
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb a::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9px;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid var(--light-white);
  transition: border-left-color 0.3s ease;
  z-index: 2;
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb a:hover::after {
  border-left-color: var(--primary-color);
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb .last {
  background: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}
.main-wrap .inside-header-wrap .rank-math-breadcrumb .separator {
  display: none; 
}
/*Single Page*/
.main-wrap .page-wrap .single-news .title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #222;
}
.main-wrap .page-wrap .single-news-author-time {
  margin: 15px 0 25px;
}
.main-wrap .page-wrap .single-news-author-time p {
  margin: 0;
  padding: 10px 16px;
  background: var(--light-white);
  border-radius: 0px;
  font-size: 14px;
  color: var(--black);
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  word-spacing: 2px;
}
.main-wrap .page-wrap .single-news-author-time i {
  margin-right: 6px;
  color: var(--primary-color);
}
.main-wrap .page-wrap .single-news .single-news-content {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--black);
}
.main-wrap .page-wrap .single-news .single-news-content .news-image {
    margin: 0 15px 15px 0;
    float: left;
    width: 50%;
    border-radius: 0px;
    object-fit: cover;
}
/* Share Section */
.main-wrap .page-wrap .share-news {
    padding: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-radius: 10px;
}
.main-wrap .page-wrap .social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.main-wrap .page-wrap .social-share .share-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--black);
    margin-right: 5px;
}
.main-wrap .page-wrap .social-share a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
	background: var(--light-white);
    width: 38px;
    height: 38px;
    color: var(--black);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.main-wrap .page-wrap .social-share a:hover .fa-facebook-f { color: #1877F2; } 
.main-wrap .page-wrap .social-share a:hover .fa-twitter { color: #1DA1F2; } 
.main-wrap .page-wrap .social-share a:hover .fa-linkedin { color: #0A66C2; } 
.main-wrap .page-wrap .social-share a:hover .fa-whatsapp { color: #25D366; } 
.main-wrap .page-wrap .social-share a:hover .fa-telegram { color: #0088CC; } 
.main-wrap .page-wrap .social-share a:hover .fa-instagram { color: #E4405F; } 
.main-wrap .page-wrap .social-share a:hover .fa-link { color: #555; }
.main-wrap .page-wrap .social-share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.main-wrap .page-wrap .post-navigation {
    display: flex;
    justify-content: center; 
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.main-wrap .page-wrap .post-navigation a {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 0px;
    transition: all 0.3s ease;
}
.main-wrap .page-wrap .post-navigation a:hover {
    background: var(--primary-color); 
    color: var(--white);
}
.main-wrap .page-wrap .post-navigation i {
    margin: 0 8px;
}
/* Related Post */
.main-wrap .page-wrap .related-post-card {
  display: block;
  text-decoration: none;
  color: #fff;
}
.main-wrap .page-wrap .related-post-image {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.main-wrap .page-wrap .related-post-card:hover .related-post-image {
  transform: scale(1.05); /* zoom effect */
}
.main-wrap .page-wrap .related-post-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* dark shade */
  transition: background 0.3s ease;
}
.main-wrap .page-wrap  .related-post-card:hover .related-post-image::after {
  background: rgba(0,0,0,0.6);
}
.main-wrap .page-wrap .related-post-title {
  position: absolute;
  bottom: 12px;
  left: 15px;
  right: 15px;
  font-size: 1rem;
  font-weight: 600;
  z-index: 2;
}
/*Contact-Page*/
.main-wrap .page-wrap .form-control:focus {
    box-shadow: none;
}
.main-wrap .page-wrap .contact-form .more-btn {
	border-radius: 0px;
	margin-top: 10px;
	color: var(--white);
	background: var(--primary-color);
}
.main-wrap .page-wrap .contact-form .more-btn:hover {
	background: var(--secondary-color);
}
.main-wrap .page-wrap .form-control {
    border: 2px solid var(--primary-color);
	border-radius: 0px;
}
.main-wrap .page-wrap form textarea {
    resize: none;
}
.main-wrap .page-wrap .contact-details {
  padding: 25px;
}
.main-wrap .page-wrap .contact-details h4.section-title {
  font-size: 20px;
  font-weight: 600;
}
.main-wrap .page-wrap .contact-details p a {
  	color: var(--black);
  	text-decoration: none;
  	font-size: 16px;
  	display: block;
  	margin-bottom: 15px;
	word-wrap: break-word;   
  	overflow-wrap: break-word;
  	white-space: normal;    
}
.main-wrap .page-wrap .contact-details p a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
.main-wrap .page-wrap .contact-details .social-icon {
  margin-top: 10px;
  padding: 0;
}
.main-wrap .page-wrap .contact-details .social-icon li {
  margin: 0 6px;
}
.main-wrap .page-wrap .contact-details .social-icon a {
  width: 36px;
  height: 36px;
  border-radius: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-white);
  color: var(--black);
  font-size: 16px;
}
.main-wrap .page-wrap .contact-details .social-icon a:hover {
  background: var(--primary-color);
  color: var(--white);
}
/* 404 Page */
.main-wrap #error-page .header {
  font-size: 6rem;
  color: var(--primary-color);
  text-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}
.main-wrap #error-page h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--black);
}
.main-wrap #error-page p {
  font-size: 1rem;
  color: var(--black);
}
.main-wrap #error-page .btns .btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.main-wrap #error-page .btns .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.main-wrap .mobile-view {
	display: none;
}
.main-wrap .wp-block-image :where(figcaption) {
	display:none;
}
@media (max-width:991px) {
	.main-wrap .desktop-view {
		display:none;
	}
	.main-wrap .mobile-view {
		display: block;
	}
    .main-wrap header .navbar.affix-top .logo {
        padding: 2px 0;
    }
    .main-wrap .navbar {
        padding: 0;
    }
    .main-wrap .navbar .container {
		padding: 0px !important;
		margin: 0px;
		max-width: 100%;
		float: left;
	}
	.main-wrap .navbar .navbar-brand {
		padding-left: 20px;
	}
	.main-wrap .navbar-expand-lg .navbar-nav .nav-link {
		padding: 8px 2px;
	}
	.main-wrap .navbar-nav li {
		background: var(--primary-color);
	}
    .main-wrap .navbar-collapse ul li a:after {
        content: none;
    }
	.main-wrap .navbar-nav li a.nav-link {
		font-size: 16px;
		color: var(--white);
	}
	.main-wrap .navbar-nav a.nav-link:hover span, 
	.main-wrap .navbar-nav li.active a.nav-link span {
		color: var(--black);
	}
	.main-wrap .navbar .navbar-toggler {
		padding-right: 30px;
        border: none;
	}
	.main-wrap .navbar .navbar-brand {
		width: 60%;
	}
    .main-wrap .navbar .navbar-toggler-icon {
        width: 24px;
        height: 20px;
        background-image: none;
        position: relative;
        border-bottom: 3px solid var(--black);
        transition: all 300ms linear;
    }
    .main-wrap .navbar .navbar-toggler-icon:after, 
    .main-wrap .navbar .navbar-toggler-icon:before {
        width: 24px;
        position: absolute;
        height: 3px;
        background-color: var(--black);
        top: 0;
        left: 0;
        content: '';
        z-index: 2;
        transition: all 300ms linear;
    }
    .main-wrap .navbar .navbar-toggler-icon:after {
        top: 8px;
    }
    .main-wrap .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        border-color: transparent;
    }
    .main-wrap .navbar-toggle {
        border: none;
        background: transparent !important;
    }
    .main-wrap .navbar-toggler:focus {
        box-shadow: none;
    }
    .main-wrap .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
        transform: rotate(45deg);
    }
    .main-wrap .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
        transform: translateY(8px) rotate(-45deg);
    }
    .main-wrap .navbar-nav a.nav-link span {
        margin: 0;
    }
    .main-wrap .navbar-nav .nav-item:last-child .nav-link span {
        margin: 0;
    }
    .main-wrap .navbar-collapse ul.dropdown-menu li:not(:last-child) {
        border: none;
    }
    .main-wrap .navbar-nav li:not(:last-child) {
        border-bottom: 1px solid var(--section-bg-off-white);
    }
    .main-wrap .navbar-collapse ul li a:hover {
        color: var(--black);
    }
    .main-wrap .navbar-collapse ul .active a,
    .main-wrap .navbar .menu-item.active, .main-wrap .navbar .menu-item:hover {
        background-color: var(--light-white);
        color: var(--black);
    }
    .main-wrap .navbar-collapse ul.dropdown-menu .nav-link.dropdown-toggle.show:hover {
        color: var(--black);   
    }
    .main-wrap .navbar-collapse ul.dropdown-menu .nav-link,
    .main-wrap .navbar-collapse ul.dropdown-menu .dropdown-item {
        background-color: var(--white);
        color: var(--black);
        padding-left: 14px;
    }
    .main-wrap .navbar-collapse .nav-link{
        margin-left: 22px;
        font-size: 16px;
    }
    .main-wrap .navbar .dropdown-toggle::after {
        border-top: none;
        content: '\25BC'; 
        position: absolute;
        right: 20px;
    }
	.navbar .navbar-collapse {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.navbar-nav {
		flex-wrap: wrap;
		width: 100%;
	}
	.main-wrap .search-container .search-container {
		margin-left: 0;
		width: 100%;
		justify-content: flex-end;
	}
	.main-wrap .search-container .search-container.active .search-bar {
		max-width: 100%;
		width: 100%;
	}
	.main-wrap .search-container .search-bar .search-field { width: 100%; }
	.main-wrap .section-title {
		font-size: 20px;
	}
	.pagination-wrap {
		margin-bottom: 20px;
	}
	.main-wrap .news-wrap .card-body .card-title {
    	font-size: 18px;
	}
	.main-wrap .news-wrap .card-body .card-text {
    	font-size: 16px;
	}
	.main-wrap .footer-menu li a {
		font-size: 16px;
	}
	.main-wrap .page-wrap .contact-details {
		padding-left:0;
	}
}
@media (min-width:220px) and (max-width:767px) {
	.main-wrap h1 { font-size: 22px; }
  	.main-wrap h2 { font-size: 20px; }
  	.main-wrap h3 { font-size: 18px; }
  	.main-wrap h4, .main-wrap h5, .main-wrap h6 { font-size: 16px; }
	.main-wrap p { font-size: 16px; }
	.main-wrap header .logo {
        top: 0;
		width: 62%;
    }
	.main-wrap header .navbar-brand img {
        width: 40%;
        padding: 6px 0;
    }
	.main-wrap header .navbar.affix-top .navbar-brand img {
        width: 40%;
    }
	.main-wrap .news-wrap .card-body .card-title a,
	.main-wrap .featured-post-card .post-title a {
		font-size: 16px;
	}
	.main-wrap .news-wrap .card-body .card-text {
        font-size: 14px;
    }
	.main-wrap .featured-post-card .excerpt {
		display: none;
	}
	.main-wrap .news-wrap .news-image {
    	height: 160px; 
  	}
  	.main-wrap .news-wrap .card-body {
    	padding: 14px 16px; 
  	}
	.main-wrap .custom-card {
		display: block;
	}
	.main-wrap .custom-card img {
		width: 100%;
		padding-bottom: 10px;
	}
	.main-wrap .custom-card-content {
    	display: block;
	}
	.main-wrap .custom-card-title {
		word-wrap: break-word;   
		overflow-wrap: break-word;
		white-space: normal;
	}
	.main-wrap .footer-menu {
		display: block;
	}
	.main-wrap .footer-copy {
    	font-size: 14px
	}
}
@media (max-width: 480px) {
	.main-wrap .masonry {
  		display: grid;
  		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  		gap: 15px;
	}
	.main-wrap header .navbar-brand img {
        width: 80%;
    }
	.main-wrap header .navbar.affix-top .navbar-brand img {
        width: 80%;
    }
}