@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-cyan: #00ced1;
  --dark-bg: #1a1a1a;
  --light-gray: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
.top-bar {
  background-color: var(--primary-cyan);
  padding: 8px 0;
  font-size: 16px;
  color: #222221;
  font-weight: 800;
}

.navbar {
  background-color: white;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  top: 6%;
}

.navbar-brand {
  font-weight: bold;
  font-size: 24px;
  color: #333 !important;
  padding: 0 !important; 
}

.navbar-nav .nav-link {
  color: #222221 !important;
  font-weight: 600;
  margin: 25px 15px;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 3px;
}
.nav-item.active, .nav-item:hover{
  background-color: #e5edf1;
}
.btn-contact {
  background-color: var(--primary-cyan);
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
}

/* Hero Section */
.hero-section {
  background: url("../images/hero-empresa.jpg") no-repeat center center;
  background-size: 1320px 500px;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  top: 60px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 50%;
  bottom: 0;
  padding: 40px;
  transform: translate(-50%);
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-arrow {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  color: var(--primary-cyan);
  animation: bounce 2s infinite;
  font-weight: 800;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Main Content */
.main-content {
  padding-top: 60px;
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: bold;
}

.section-title h2 .highlight {
  color: var(--primary-cyan);
}

.section-description {
  color: #666;
  /*! font-size: 14px; */
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

/* Features Section */
.features-section {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  border: 8px solid #333;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.feature-title .highlight {
  color: var(--primary-cyan);
}

.feature-description {
  color: #666;
  /*! font-size: 14px; */
  line-height: 1.8;
}

/* Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.service-card {
  background: white;
  border: 5px solid #333;
  display: flex;
  align-items: center;
  padding: 25px;
  position: relative;
}

.service-icon {
  background-color: var(--primary-cyan);
  color: white;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 24px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
}

.service-info {
  width: 80%;
  margin-left: auto;
}
.service-info h4 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.service-info p {
  /*! font-size: 16px; */
  color: #666;
  line-height: 1.6;
}

/* Three Column Section */
.three-columns {
  background-image: linear-gradient(#00ced1d4, #00ced1d4), url('../images/bg-layer.png');
  padding: 60px 0;
  height: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
}

.column-item {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.column-item h3 {
  background-color: var(--dark-bg);
  color: white;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0;
  text-transform: uppercase;
}

.column-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Agriculture Section */
.agriculture-section {
  /*! padding: 80px 0; */
  background-color: var(--light-gray);
}

.agriculture-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.agriculture-text {
  flex: 1;
}

.agriculture-text h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.agriculture-text h2 .highlight {
  color: var(--primary-cyan);
}

.agriculture-text p {
  color: #666;
  /*! font-size: 14px; */
  line-height: 1.8;
}

.agriculture-image {
  flex: 1;
}

.agriculture-image img {
  width: 100%;
  border: 8px solid #333;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 5px;
}

.footer-section h5 {
  color: var(--primary-cyan);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 15px;
  color: #fff;
}
.footer-bottom a{
  text-decoration: none;
  color: #fff;
}
.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-bottom-links a {
  color: #999;
  text-decoration: none;
  font-size: 10px;
}

/* lloguer CSS Start */
.page-bg-content {
  background-color: transparent;
}
.page-bg{
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/page-bg.jpg") no-repeat center center;
  height: 40vh;
  background-size: cover;
}
.page-bg::after{
  height: 100%;
  width: 100%;
  background-size: cover;
  top: 0;
  left: 0;
  content: url('../images/bg-layer.png');
}
.border-line {
  display: flex;
  margin: auto;
  text-align: center;
  width: 100%;
} 
.border-line span {
  background-color: #000;
  width: 100px;
  height: 15px;
  display: inline-block;
  margin: auto 3px;
  border-radius: 0px 0px 20px 0px;
}
.border-line span:last-child {
  background-color: #00ced1;
  border-radius: 20px 0px 0px 0px;
}

.category-card {
  height: 400px;
  margin-bottom: 80px;
}
.category-card img {
  height: 100%;
  width: 100%;
}
.bg-layer{
  position: relative;
}
.bg-layer::after{
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
/* VENDA CSS Start */
.cta-contnet h1 {
  color: var(--primary-cyan);
}
.cta-contnet a {
  background-color: var(--primary-cyan);
  text-decoration: none;
  color: #000;
  padding: 15px 20px;
  font-size: 25px;
  font-weight: 800;
}
/* Service CSS Start */

.projects-item {
  height: 200px;
  margin-bottom: 20px;
}
.projects-item img {
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;
}

.search {
  position: absolute;
  top: 10px;
  right: 10px;
}
.product-item-img {
  position: relative;
}
.search img {
  width: 40px;
  height: 40px;
}
.btns img {
  width: 50px;
  margin-right: 20px;
}

.submit-btn, .card-btn {
  display: flex;
  justify-content: space-between;
}
/* Contact CSS Start */
.main-content-contact{
  margin-top: 80px;
}

.contact-contnet-details-icon img {
  width: 50px;
  height: 50px;
}
.contact-content-details-item a {
  text-decoration: none;
  color: #000;
}

.contact-content {
  margin-bottom: 50px;
}
.contact-content-details-item {
  margin-bottom: 45px;
}

/* Product Cards Grid Fix */
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
  background-color: #fff;
}

.product-image {
  height: 250px; /* Fixed height for alignment */
  width: 100%;
  object-fit: contain; /* Ensure entire machine is visible without cropping */
  object-position: center; /* Center image within the box */
  margin-bottom: 15px;
}

.product-info {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure links in grid take full height */
.col-lg-4 a, .col-md-6 a, .col-md-4 a {
  display: block;
  height: 100%;
}