.views-news-page {
  margin-top: 4rem;
}

.views-news-page .views-row {
  margin-bottom: 2rem;
}

.views-news-page .view-col-inner {
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.views-news-page .news-title {
  padding-left: 0.5rem;
  margin: 1rem;
  font-size: 1.25rem;
  position: relative;
  line-height: 1;
}

.views-news-page .news-title::before {
  content: "";
  width: 3px;
  height: 100%;
  position: absolute;
  left: 0;
  top: -1px;
  background-color: #1f8c35;
}

.views-news-page .news-title a:hover {
  color: #1f8c35;
}

.views-news-page .news-date {
  margin-left: 1rem;
  margin-right: 1rem;
  color: #a4a4a4;
}

.views-news-page .news-trim {
  margin-left: 1rem;
  margin-right: 1rem;
}
.views-news-page .news-image {
  margin: 1rem;
}

.views-news-page .news-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ========================================
   Header-2 Custom Styles - Logo & Search Optimization
   ======================================== */

/* Logo Optimization */
header.header-2 .custom-branding .branding-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

/**
header.header-2 .custom-branding .site-branding-logo {
  padding: 10px 0;
}
*/

header.header-2 .custom-branding .site-branding-logo img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Responsive logo sizing */
@media (max-width: 991.98px) {
  header.header-2 .custom-branding .site-branding-logo img {
    max-height: 50px;
  }
}

@media (max-width: 767.98px) {
  header.header-2 .custom-branding .site-branding-logo img {
    max-height: 45px;
  }
}

@media (max-width: 575.98px) {
  header.header-2 .custom-branding .site-branding-logo img {
    max-height: 40px;
  }
}

/* Search Form Optimization */
header.header-2 .custom-search-region {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

header.header-2 .custom-search-region .search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #3b7eff;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 126, 255, 0.3);
}

header.header-2 .custom-search-region .search-toggle:hover {
  background: #2c5aa0;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(59, 126, 255, 0.4);
}

header.header-2 .custom-search-region .search-toggle i {
  font-size: 16px;
}

/* Enhanced Search Content */
header.header-2 .custom-search-region .custom-search-content {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  width: 350px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e1e5e9;
  overflow: hidden;
  animation: searchSlideDown 0.3s ease;
}

@keyframes searchSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header.header-2 .custom-search-region.show .custom-search-content {
  display: block;
}

/* Search Form Styling */
header.header-2 .custom-search-region .search-form-wrapper {
  padding: 20px;
}

header.header-2 .custom-search-region .search-form-wrapper .search-block-form {
  position: relative;
  margin: 0;
}

header.header-2 .custom-search-region .search-form-wrapper .form-item-keys {
  margin-bottom: 0;
}

header.header-2 .custom-search-region .search-form-wrapper input#edit-keys {
  width: 100%;
  height: 45px;
  padding: 12px 50px 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 25px;
  font-size: 14px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  outline: none;
}

header.header-2
  .custom-search-region
  .search-form-wrapper
  input#edit-keys:focus {
  border-color: #3b7eff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 126, 255, 0.1);
}

header.header-2
  .custom-search-region
  .search-form-wrapper
  input#edit-keys::placeholder {
  color: #6c757d;
  font-style: italic;
}

/* Search Submit Button */
header.header-2
  .custom-search-region
  .search-form-wrapper
  input[id*="edit-submit"] {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: #3b7eff;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

header.header-2
  .custom-search-region
  .search-form-wrapper
  input[id*="edit-submit"]:hover {
  background: #2c5aa0;
  transform: translateY(-50%) scale(1.1);
}

header.header-2 .custom-search-region .search-form-wrapper #edit-actions {
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive Search Styles */
@media (max-width: 991.98px) {
  header.header-2 .custom-search-region {
    right: 50px;
  }

  header.header-2 .custom-search-region .custom-search-content {
    width: 300px;
  }
}

@media (max-width: 767.98px) {
  header.header-2 .custom-search-region {
    right: 15px;
  }

  header.header-2 .custom-search-region .custom-search-content {
    width: 280px;
    right: -50px;
  }

  header.header-2 .custom-search-region .search-toggle {
    width: 35px;
    height: 35px;
  }

  header.header-2 .custom-search-region .search-toggle i {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  header.header-2 .custom-search-region .custom-search-content {
    width: 250px;
    right: -80px;
  }

  header.header-2 .custom-search-region .search-form-wrapper {
    padding: 15px;
  }
}

header.header-2 .header-main {
  padding: 4px 0;
  background: #fff;
}

@media (min-width: 992px) {
  header.header-2 .main-menu .navigation .gva_menu > li > a {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/**
header.header-2 .custom-branding .site-branding-logo {
  width: 120px !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}
*/

.header-right-wrapper {
  margin-top: 0.5rem;
}

/* ========================================
   Banner Zone
   ======================================== */
.gavias_sliderlayer.rev_slider_wrapper.fullwidthbanner-container {
  width: 1170px;
  margin: 0 auto;
  overflow: hidden;
}

.frontpage .slideshow_content {
  position: relative;
}
.frontpage .quick-products-links {
  position: absolute;
  left: calc((100% - 1170px) / 2 - 210px);
  top: 1px;
  background-color: #ff711f;
  color: white;
}

.frontpage .quick-products-links .view-list-item {
  margin: 0;
  padding: 15px 10px;
}

.frontpage .quick-products-links .view-list-item:hover {
  background-color: #ff8844;
}

.frontpage .quick-products-links a {
  color: inherit;
}

/* ========================================
  Home page title
   ======================================== */

.frontpage .header-title {
  display: none;
}
/* ========================================
   Flipcard Styles
   ======================================== */

.flipcard-container {
  width: 100%;
  margin-bottom: 2rem;
}

.flipcard {
  background-color: transparent;
  width: 100%;
  height: 360px;
  perspective: 1000px;
}

.flipcard-inner {
  border: 1px solid #2ba854;
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flipcard:hover .flipcard-inner,
.flipcard-inner.flipped {
  transform: rotateY(180deg);
}

.flipcard:focus {
  outline: 2px solid #2ba854;
  outline-offset: 2px;
}

.flipcard-front,
.flipcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

.flipcard-back {
  background-color: #2ba854;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.flipcard-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.flipcard-image {
  flex: 1;
  overflow: hidden;
}

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

.flipcard-title {
  background-color: #2ba854;
  padding: 15px;
  border-top: 1px solid #f0f0f0;
}

.flipcard-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: white;
  text-align: center;
}

.flipcard-front {
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.flipcard-content {
  text-align: center;
  width: 100%;
}

.flipcard-body {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.flipcard-action {
  margin-top: 20px;
}

.btn-apply {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #2ba854;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.btn-apply:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.btn-apply.clicked {
  transform: translateY(-2px) scale(0.95);
  transition: transform 0.1s ease;
}

.btn-apply:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  .flipcard {
    height: 250px;
  }

  .flipcard-back {
    padding: 15px;
  }

  .flipcard-body {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .btn-apply {
    padding: 10px 20px;
    font-size: 13px;
  }

  .flipcard-title {
    padding: 12px;
  }

  .flipcard-title h3 {
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .flipcard {
    height: 220px;
  }

  .flipcard-back {
    padding: 12px;
  }

  .flipcard-body {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .btn-apply {
    padding: 8px 16px;
    font-size: 12px;
  }

  .flipcard-title {
    padding: 12px 10px;
  }

  .flipcard-title h3 {
    font-size: 14px;
  }
}

#company-profile-image .gsc-our-gallery .item .box-content {
  width: 100%;
  max-width: 100%;
  padding: 1rem 1rem;
}

#company-profile-image .gsc-our-gallery .item .box-content .title {
  font-size: 0.85rem;
  line-height: 0.85rem;
  padding-bottom: 0;
  margin-bottom: 0;
}

#company-profile-image .gsc-our-gallery .item .box-content .title::after {
  display: none;
}

.gsc-column .gsc-icon-box-new.style-2{
  padding: 1rem 0.85rem;
  margin-bottom: 0;
}


.gsc-icon-box-new.style-2 .content-inner .title {
  line-height: 75px !important;
}


