@font-face{
  font-family: 'Monument Extended';
  src: url('fonts/Monument\ Extended\ Regular\ 400.otf')format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
    font-family:'centurygothic';
    src: url('fonts/centurygothic.ttf')format('opentype')
}
@font-face{
  font-family: 'Abys-Regular.otf';
  src: url('fonts/Abys-Regular.otf')format('opentype');
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
* {
    box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
    background-color: #e1fadc; /* or your site background */
}
body {
    margin: 0;
    background-color: #e1fadc;
    font-family: 'centurygothic';
    font-size: 20px;
    padding: 0;
    
}

.header-container {
     background-color: #ffffff;
    color: #e1fadc;
    padding-top: env(safe-area-inset-top); 
    display: flex;
    flex-direction: column; /* stack logo and nav */
    align-items: center;    /* center both horizontally */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100; 
    padding-top: 0;  
    margin-top: 0;
}

.logo-container {
    margin:0;
    margin-bottom: 20px;

}

.logo-container img {
    height: 140px; 
    object-fit: contain;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center; /* links start right after logo */
    gap: 20px; /* space between links */
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #0f7444;
    padding: 5px 15px;
    text-decoration: none;
    font-family: 'Monument Extended';
    font-size: 16px;
}

.nav-links li a:hover {
    background-color: #e1fadc;
    color: black;
}

/* Home Image Sliders */
#home {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0; 
  padding: 0;
  margin-top: 120px;
}

.fullscreen-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  border-radius: 50%;
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* About Us*/
#about h1 {
  font-family: 'Monument Extended';
  color: #0f7444;
  padding: 20px;
}

.agri{
    font-family: 'Abys-Regular.otf';
    color:#0f7444;
}

.milani{
    font-family: 'Monument Extended';
    color: #2e302d;
}
#about p {
  margin-left: 20px;
}

/* Live stock for sale*/
#livestockforsale h1{
 font-family: 'Monument Extended';
  color: #0f7444;
  padding: 20px;
}
.livestock-column h2{
   font-family: 'Monument Extended';
  color: #0f7444;
}


.livestock-grid {
    display: flex; 
    justify-content: space-around;
    gap: 10px; 
    padding: 20px;
    flex-wrap: wrap; 
}

.livestock-column {
    flex: 1; 
    min-width: 300px;
    text-align: center;
}

.livestock-info {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}
#livestockforsale p{
  margin-left: 20px; /* pushes the whole paragraph to the right */
}

/* Image Gallery Styles */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; 
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.image-gallery figure {
    margin: 0;
    width: 100%; 
    max-width: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gallery figure:hover {
    transform: translateY(-5px);
}

.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover; 
}

.menu-toggle {
    display: none;
}
/* Show it on small screens */
@media screen and (max-width: 768px) {

   #about h1 {
  padding: 20px;
  }
    #about p {
    margin-left: 20px; /* keeps the same space on mobile */
  }
    #livestockforsale p{
  margin-left: 20px; 
}
  #livestockforsale h1{
  padding: 20px;
}
    .livestock-grid {
        flex-direction: column; 
        align-items: center;
        width: 100%;
    }

    .livestock-column {
        width: 100%;
    }
 
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        
    }
     .image-gallery figure {
        max-width: 100%;
    }
    .container {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin: 0 auto;
    }
     #contact h1 {
  padding: 20px;
}
    body {
        padding-top: 80px;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .menu-toggle {
        display: block; 
        font-size: 28px;
        cursor: pointer;
        color: #0f7444;
        border: none;
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        background-color: #e1fadc;
        width: 100%;
        position: absolute;
        left: 0;
        z-index: 1000;
        text-align: center;
        top: 100%;
        align-items: center;
        
    }

    .nav-links.active {
        display: flex; 
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 15px;
    }

    
}

 /*Contact us*/
/* --- Contact us Styles --- */
#contact h1 {
  font-family: 'Monument Extended', arial;
  color: #0f7444;
  padding: 20px;
}

.container {
  max-width: 1100px;
  width: 90%;
  background: #ffffff;
  border-radius: 6px;
  padding: 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin: 40px auto; 
}

.container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container .content .left-side {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.content .left-side::before {
  content: "";
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}

.content .left-side .details {
  margin: 14px;
  text-align: center;
}

.content .left-side .details i {
  font-size: 30px;
  color: #0f7444;
  margin-bottom: 10px;
}

.content .left-side .details .topic {
  font-size: 18px;
  font-weight: 500;
}

.content .left-side .details .text-one,
.content .left-side .details .text-two {
  font-size: 14px;
  color: #2e302d;
}

.container .content .right-side {
  width: 75%;
  margin-left: 20px;
}

.content .right-side .topic-text {
  font-family: 'Monument Extended';
  font-size: 23px;
  font-weight: 600;
  color: #0f7444;
}

.right-side .input-box {
  height: 55px;
  width: 100%;
  margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #e1fadc;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}
input::placeholder, 
textarea::placeholder {
  font-family: 'centurygothi'
}
.right-side .message-box {
  min-height: 110px;
}

.right-side .input-box textarea {
  padding-top: 6px;
}

.right-side .button {
  display: inline-block;
  margin-top: 12px;
}

.right-side .button input[type="button"] {
  color: #fff;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: #0f7444;
  cursor: pointer;
  transition: all 0.3s ease;
}
.green-button {
  background-color: #0f7444; /* A shade of green */
  color: #e1fadc;
  font-family: 'centurygothi';
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.green-button:hover {
  background-color: #0f7444; 
}
.email a {
    color: #2e302d;
    text-decoration: none;
    font-size: medium;
}

.email a:hover {
    text-decoration: underline;
}
.phone a {
    color: #2e302d;
    text-decoration: none;
}

.phone a:hover {
    text-decoration: underline;
}


/* --- Mobile Responsiveness (for screens 820px and smaller) --- */
@media (max-width: 820px) {

  #about h1 {
  padding: 20px;
  }
    #about p {
    margin-left: 20px; /* keeps the same space on mobile */
  }
    #livestockforsale p{
  margin-left: 20px; 
}
  #livestockforsale h1{
  padding: 20px;
}
#contact h1 {
  padding: 20px;
}
    
  .container {
    width: 95%; 
    padding: 15px;
    margin: 20px auto; 
  }

  .container .content {
    flex-direction: column-reverse;
  }

  .container .content .left-side {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  .content .left-side::before {
    display: none;
  }
  
  .container .content .right-side {
    width: 100%;
    margin-left: 0;
  }
}