/*
Template Name: Gal Art
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/
/*********************hero-section (farmers.gov style)****************/
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-section .carousel {
  height: 350px;
  /* Reduced from 500px to match farmers.gov */
}

.hero-section .carousel-inner {
  height: 100%;
}

.hero-section .item {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 350px;
  /* Reduced from 500px to match farmers.gov */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-1 {
  background-image: url(../img/banner1.webp);
}

.hero-slide-2 {
  background-image: url(../img/banner3.webp);
}

.hero-slide-3 {
  background-image: url(../img/banner2.webp);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 77, 53, 0.5), rgba(0, 101, 70, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-title {
  font-size: 36px;
  /* Reduced from 48px */
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  /* Reduced from 22px */
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
}

.hero-button {
  display: inline-block;
  background-color: #006546;
  color: #fff;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-shadow: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
  background-color: #004d35;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls - Fixed and properly aligned */
.hero-section .carousel-control {
  width: 45px;
  height: 45px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  opacity: 0.9;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}

.hero-section .carousel-control:hover {
  opacity: 1;
  background-color: rgba(70, 70, 70, 0.212);
  transform: translateY(-50%) scale(1.1);
}

.hero-section .carousel-control.left {
  left: 20px;
}

.hero-section .carousel-control.right {
  right: 20px;
}

.hero-section .carousel-control .glyphicon {
  font-size: 18px;
  color: #fff;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  display: block;
  width: auto;
  height: auto;
}

.hero-section .carousel-control.left .glyphicon {
  transform: translate(-50%, -50%);
}

.hero-section .carousel-control.right .glyphicon {
  transform: translate(-50%, -50%);
}

/* Carousel Indicators */
.hero-section .carousel-indicators {
  bottom: 20px;
  z-index: 3;
}

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

.hero-section .carousel-indicators li.active {
  background-color: #006546;
  border-color: #006546;
  width: 14px;
  height: 14px;
}

/* Responsive Design */
@media (max-width: 991px) {

  .hero-section .carousel,
  .hero-slide {
    height: 300px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 767px) {

  .hero-section .carousel,
  .hero-slide {
    height: 250px;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .hero-button {
    padding: 10px 25px;
    font-size: 14px;
  }

  .hero-content {
    padding: 15px 10px;
  }

  .hero-section .carousel-control {
    width: 35px;
    height: 35px;
  }

  .hero-section .carousel-control .glyphicon {
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero-section .carousel-control.left {
    left: 10px;
  }

  .hero-section .carousel-control.right {
    right: 10px;
  }
}

@media (max-width: 480px) {

  .hero-section .carousel,
  .hero-slide {
    height: 220px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .hero-button {
    padding: 8px 20px;
    font-size: 12px;
  }
}

/*********************center_home_end****************/

/*********************offer****************/
#offer {
  padding-top: 40px;
  padding-bottom: 40px;
}

.offer_1l {
  background-image: url(../img/viewmore.jpg);
  background-position: center;
  min-height: 435px;
}

.offer_1li {
  background: rgba(0, 77, 53, 0.48);
  padding: 120px 60px;
  min-height: 435px;
}

.offer_1ri {
  background: rgba(0, 77, 53, 0.48);
  min-height: 435px;
  border: 5px solid #004d35;
  padding-top: 20px;
}

.offer_1r {
  background-image: url(../img/viewside.jpg);
  background-position: center;
  min-height: 435px;
}

.offer_2i span {
  background: #006546;
  color: #fff;
  width: 80px;
  height: 80px;
  line-height: 72px;
  display: inline-block;
  font-size: 30px;
  text-align: center;
  border-radius: 50%;
  border: 3px solid #006546;
}

.offer_2i span:hover {
  background: none;
  color: #006546;
}

.offer_2 {
  margin-top: 40px;
}

.offer_2i {
  background: #f7f7f7;
  padding: 40px 20px;
}

/*********************offer_end****************/

/*********************list****************/
#list {
  background: #f7f7f7;
  padding-top: 40px;
  padding-bottom: 40px;
}

.list_1 h2:before {
  display: inline-block;
  width: 10%;
  height: 2px;
  background-color: #006546;
  vertical-align: middle;
  margin-right: 1%;
  content: "";
}

.list_1 h2:after {
  display: inline-block;
  width: 10%;
  height: 2px;
  background-color: #006546;
  vertical-align: middle;
  margin-left: 1%;
  content: "";
}

.list_3 {
  margin-top: 30px;
}

.list_3 .btn-success {
  background: #006546;
  border-radius: 0;
  padding: 0;
  border: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #006546;
  margin-left: 3px;
  margin-right: 3px;
  text-align: center;
}

.list_3 .btn-success:hover {
  background: none;
  border-color: #006546;
  color: #006546;
}

.list_2imi1 h5 {
  background: #006546;
  color: #fff;
  padding: 5px 10px 7px 10px;
  display: inline-block;
}

.list_2imi2 span a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background: #004d35;
  text-align: center;
}

.list_2imi2 span a:hover {
  background: #006546;
}

.list_2im {
  position: relative;
}

.list_2im:hover .list_2imi1 {
  display: block;
}

.list_2im:hover .list_2imi2 {
  display: block;
}

.list_2imi1 {
  position: absolute;
  top: 10px;
  left: 10px;
  display: none;
  width: 100%;
}

.list_2imi2 {
  position: absolute;
  top: 45%;
  left: 41%;
  display: none;
  width: 100%;
}

.list_2im1 h5 span {
  color: #999;
  text-decoration: line-through;
  margin-right: 10px;
}

.list_2im1 {
  background: #f7f7f7;
  padding: 15px;
}

.list_2im1 h4 {
  margin-top: 0;
}

.list_1 {
  margin-bottom: 30px;
}

.list_4i {
  position: relative;
}

.list_4i2 {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #004d35;
  padding: 30px;
  display: none;
}

.list_4i:hover .list_4i2 {
  display: block;
}

.list_4 {
  margin-top: 30px;
}

.list_4i2 ul li a {
  background-color: #006546;
}

#list_o {
  padding-top: 40px;
  padding-bottom: 40px;
}

#list_o .list_2im1 {
  background: #f7f7f7;
  padding: 15px;
}

/*********************list_end****************/

/*********************blog****************/
#blog {
  background: #fff !important;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: right;
}

.blog_h_1i h6 a {
  margin-right: 10px;
  color: #b1dbbc !important;
}

.blog_h_1i h6 a i {
  margin-right: 5px;
}

.blog_h_1i {
  background: #f7f7f7;
  padding: 20px;
}

/*********************blog_end****************/
/*********************testim****************/
#testim {
  padding-top: 40px;
  padding-bottom: 50px;
}

.testim_1i1 span {
  background: #006546;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  display: inline-block;
  color: #fff;
  font-size: 20px;
}

.testim_1i2i img {
  float: left;
  margin-right: 10px;
}

.testim_1i2i {
  margin-top: 20px;
}

.testim_1i {
  border: 1px solid #ddd;
  padding: 20px 15px;
}

.testim_1i {
  position: relative;
  margin-top: 20px;
}

.testim_1i1 {
  position: absolute;
  top: -20px;
  width: 100%;
}

/*********************testim_end****************/


@media screen and (max-width : 767px) {
  .hero {
    width: 100%;
    left: 50%;
    text-align: center;
    top: 50%;
  }

  .hero h1 {
    font-size: 45px;
  }

  .testim_1i2i h4 {
    text-align: left;
  }

  .testim_1i {
    margin-top: 30px;
  }

  #offer {
    text-align: center;
  }

  .offer_1li {
    padding: 60px 40px;
  }

  .offer_1r {
    margin-top: 10px;
  }

  .offer_2i {
    margin-top: 10px;
  }

  .list_2im1 {
    text-align: center;
  }

  .list_2im {
    margin-top: 10px;
  }

  .list_4i {
    margin-top: 10px;
  }

  #blog {
    text-align: center;
  }

  .blog_h_1i h6 a {
    margin-right: 5px;
  }

  .blog_h_1i {
    margin-top: 10px;
  }
}

@media (min-width:768px) and (max-width:991px) {
  .hero h1 {
    font-size: 40px;
  }

  .testim_1i2i img {
    width: 40px;
    height: 40px;
  }

  .testim_1i2i h4 {
    font-size: 20px;
  }

  .list_2im1 h4 {
    font-size: 20px;
  }

  .list_4i2 ul li {
    margin-bottom: 5px;
  }

  .blog_h_1i h6 a {
    margin-right: 5px;
    line-height: 1.4em;
  }
}

@media (min-width:992px) and (max-width:1200px) {
  .hero h1 {
    font-size: 48px;
  }
}

@media (min-width:1201px) and (max-width:1350px) {}


@media screen and (max-width : 767px) {
  .hero h1 {
    font-size: 26px !important;
  }
}