/* html {
  scroll-behavior: smooth;
} */

#mother{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    background-color: white;
   
.head{
    position: absolute;
    width: 100%;
    margin-left: 0%;
    height: 12%;
    background-color: #FFFFFF;
}
.logo{
    position: absolute;
    margin-top: 1%;
    margin-left: 5%;
}
.poli{
    position: absolute;
    margin-left: 10%;
    color: #5d7b28;
}
.home{
    position: absolute;
    margin-left: 60%;
    margin-top: 2%;
    color: #5d7b28;
    text-decoration: none;
}

.about{
    position: absolute;
    margin-top: 2%;
    margin-left: 67%;
    color: #5d7b28;
    text-decoration: none;
}
.service{
    position: absolute;
    margin-top: 2%;
    margin-left: 75%;
     color: #5d7b28;
     text-decoration: none;
}
.whatwe{
    position: absolute;
    margin-top: 2%;
    margin-left: 83%;
    color: #5d7b28;
    text-decoration: none;
}
.contact{
    position: absolute;
    margin-top: 2%;
    right: 2%;
    color: #5d7b28;
    text-decoration: none;
}
.hm1{
    position: absolute;
    width: 45%;
    height: 85%;
    background-color: white;
    margin-top: 5.6%;
}
.polipa{
    position: absolute;
    left: 1.9%;
    margin-top: 10%;
    font-size: 54px;
    color: #5d7b28;
}
.hr{
    position: absolute;
    margin-top: 26%;
    margin-left: 30%;
    width: 18%;
    height: 1px;
    background-color: #5d7b28;
}
.hr1{
    position: absolute;
    margin-top: 26%;
    margin-left: 54%;
    width: 18%;
    height: 1px;
    background-color: #5d7b28;
}
.lf{
    position: absolute;
    margin-top: 22%;
    margin-left: 46%;
}
.min{
    position: absolute;
    margin-top: 34%;
    margin-left: 22%;
    font-size: 25px;
    color: #5d7b28;
}
.min2{
    position: absolute;
    margin-top: 34%;
    margin-left: 48%;
    font-size: 25px;
    color: #5d7b28;
}
.num{
    position: absolute;
    margin-top: 43%;
    margin-left: 33%;
    font-size: 48px;
    color: #5d7b28;
}
.contact2{
    position: absolute;
    display: inline-block;
    margin-top: 58%;
    margin-left: 40%;
    padding: 12px 24px;
    background-color: #5d7b28;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 15px;
}
.contact2:hover {
    background-color: #3E6B55;
}
.hm2{
    position: absolute;
    width: 60%;
    height: 85%;
    margin-top: 5.6%;
    margin-left: 40%;
    background-color: white;
    background-image: url(image/farm2.PNG);
    background-size: cover;
}
.mother2{
    position: absolute;
    background-color: #f4f8f2;
    width: 100%;
    height: 80%;
    top: 96%;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
.us{
    position: absolute;
    font-size: 30px;
    margin-left: 3%;
}
.hr2{
    position: absolute;
    width: 11%;
    top: 11%;
    height: 3px;
    margin-left: 3%;
    background-color: black;
    border: none;
}
.hr3{
    position: absolute;
    width: 7%;
    top: 13%;
    height: 3px;
    margin-left: 3%;
    background-color: black;
    border: none;
}
.us1{
    position: absolute;
    margin-top: 8%;
    font-size: 20px;
}
.us2{
    position: absolute;
    margin-top: 13%;
    font-size: 20px;
}
.us3{
    position: absolute;
    margin-top: 16%;
    font-size: 20px;
}
.us4{
    position: absolute;
    margin-top: 21%;
    font-size: 20px;
}
.us5{
    position: absolute;
    margin-top: 25%;
    font-size: 20px;
}
.us6{
    position: absolute;
    margin-top: 29%;
    font-size: 20px;
}
.serv{
    position: absolute;
    background-color: #e6efe0;
    width: 100%;
    height: 100%;
    top: 175%;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
.service-grid {
    margin-top: 9%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.service-card {
    background-color: #f4f8f2;
    padding: 20px;
    border-radius: 15px;
}
.service-card h3 {
    color: #5d7b28;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #333
}
.whatwd{
    position: absolute;
    background-color: #eef5ea;
    width: 100%;
    top: 275%;
    padding: 80px 5%;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
.usw{
    position: absolute;
    margin-top: -4%;
    margin-left: 2.8%;
}

.wd-wrapper{
    display: flex;
    width: 100%;
    gap: 20px;
    margin-top: 40px;
}
.wd-box{
    flex: 1;
    display: flex;
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
}
.wd-box:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.wd-img{
    width: 40%;
    padding: 10px;
}
.wd-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.wd-text{
    width: 60%;
    padding: 20px;
    color: white;
}
.wd-text h3{
    color: #22c55e;
    margin-bottom: 10px;
}
.wd-text p{
    font-size: 14px;
    line-height: 1.6;
}
.li{
    color: #22c55e;
}
.consec{
    position: absolute;
    background-color:  #f2fdf5;
    width: 100%;
    top: 350%;
    padding: 80px 5%;
    box-sizing: border-box;
    height: 70%;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
.hr6{
    position: absolute;
    width: 11%;
    top: 12%;
    height: 3px;
    margin-left: 3%;
    background-color: black;
    border: none;
}
.hr7{
    position: absolute;
    width: 7%;
    top: 14%;
    height: 3px;
    margin-left: 3%;
    background-color: black;
    border: none;
}
.usc{
    position: absolute;
    margin-top: -4%;
    margin-left: 2.8%;
}
.con-wrapper{
    margin-top: 70px;
}
.con-cards{
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}
.con-card{
    flex: 1;
    border: 1px solid #d1d5db;
    text-align: center;
    padding: 40px 20px;
    background: transparent;
}
.con-icon{
    font-size: 28px;
    margin-bottom: 15px;
    color: black;
}
.con-card h4{
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: black;
}
.con-icon i{
    color: black;
    font-size: 26px;
}
.con-card p{
    font-size: 14px;
    color: #555;
}
.tel{
    text-decoration: none;
    color: black;
}
.mai{
    text-decoration: none;
    color: black;
}
.add{
    text-decoration: none;
    color: black;
}

/* ============================================
MEDIA QUERIES
============================================ */

@media (min-width: 1200px) {
.polipa {
font-size: 60px;
}
.service-grid {
grid-template-columns: repeat(4, 1fr);
}
}

@media (max-width: 1199px) {
.polipa {
font-size: 44px;
}
.home   { margin-left: 55%; }
.about  { margin-left: 63%; }
.service{ margin-left: 71%; }
.whatwe { margin-left: 80%; }
.service-grid {
grid-template-columns: repeat(2, 1fr);
}
.con-cards {
flex-wrap: wrap;
}
.con-card {
flex: 1 1 calc(50% - 10px);
}
}

@media (max-width: 1023px) {
.head {
position: relative;
height: auto;
padding: 16px 5%;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
}
.logo, .poli {
position: relative;
margin: 0;
}
.home, .about, .service, .whatwe, .contact {
position: relative;
margin: 0;
display: inline-block;
}
.head > a {
font-size: 14px;
}
#mother {
position: relative;
height: auto;
display: flex;
flex-direction: column;
}
.hm1 {
position: relative;
width: 100%;
height: auto;
margin: 0;
padding: 40px 5%;
box-sizing: border-box;
}
.hm2 {
position: relative;
width: 100%;
height: 300px;
margin: 0;
}
.polipa {
position: relative;
margin: 0 0 20px;
font-size: 38px;
}
.hr, .hr1, .lf {
position: relative;
margin: 10px 0;
}
.hr  { margin-left: 0; width: 40%; }
.hr1 { margin-left: 0; width: 28%; }
.lf  { margin-left: 38%; margin-top: 0; }
.min  { position: relative; margin: 20px 0 0; font-size: 20px; }
.min2 { position: relative; margin: 8px 0 0; font-size: 20px; }
.num  { position: relative; margin: 12px 0; font-size: 40px; }
.contact2 {
position: relative;
margin: 20px 0 0;
display: inline-block;
}
.mother2 {
position: relative;
top: 0;
height: auto;
padding: 40px 5%;
box-sizing: border-box;
}
.us, .hr2, .hr3,
.us1, .us2, .us3, .us4, .us5, .us6 {
position: relative;
margin-left: 0;
top: auto;
display: block;
}
.us1, .us2, .us3, .us4, .us5, .us6 {
margin-top: 10px;
font-size: 16px;
}
.hr2 { width: 100px; margin: 8px 0; }
.hr3 { width: 60px;  margin: 0 0 20px; }
.serv {
position: relative;
top: 0;
height: auto;
padding: 40px 5%;
box-sizing: border-box;
}
.service-grid {
margin-top: 20px;
grid-template-columns: repeat(2, 1fr);
}
.whatwd {
position: relative;
top: 0;
padding: 40px 5%;
box-sizing: border-box;
}
.usw {
position: relative;
margin: 0 0 20px;
}
.wd-wrapper {
flex-direction: column;
margin-top: 20px;
}
.wd-box {
width: 100%;
}
.consec {
position: relative;
top: 0;
height: auto;
padding: 40px 5%;
box-sizing: border-box;
}
.usc {
position: relative;
margin: 0 0 20px;
}
.hr6, .hr7 {
position: relative;
top: auto;
margin-left: 0;
}
.con-wrapper {
margin-top: 20px;
}
.con-cards {
flex-wrap: wrap;
}
.con-card {
flex: 1 1 calc(50% - 10px);
}
}

@media (max-width: 767px) {
.head {
position: relative;
height: auto;
padding: 16px 5%;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.logo, .poli {
position: relative;
margin: 0;
}
.home, .about, .service, .whatwe, .contact {
position: relative;
margin: 0;
display: block;
font-size: 15px;
padding: 6px 0;
}
#mother {
position: relative;
height: auto;
display: flex;
flex-direction: column;
}
.hm1 {
position: relative;
width: 100%;
height: auto;
margin: 0;
padding: 30px 5%;
box-sizing: border-box;
}
.hm2 {
position: relative;
width: 100%;
height: 220px;
margin: 0;
}
.polipa {
position: relative;
font-size: 28px;
margin: 0 0 16px;
}
.hr  { position: relative; width: 38%; margin: 8px 0; }
.hr1 { position: relative; width: 24%; margin: 0; }
.lf  { position: relative; margin: 8px 0 0 36%; }
.min  { position: relative; font-size: 16px; margin: 16px 0 0; }
.min2 { position: relative; font-size: 16px; margin: 8px 0 0; }
.num  { position: relative; font-size: 32px; margin: 10px 0; }
.contact2 {
position: relative;
margin: 20px 0;
display: inline-block;
padding: 10px 20px;
}
.mother2 {
position: relative;
top: 0;
height: auto;
padding: 30px 5%;
box-sizing: border-box;
}
.us {
position: relative;
font-size: 24px;
margin: 0 0 6px;
}
.hr2 { position: relative; width: 80px; top: auto; margin: 6px 0; }
.hr3 { position: relative; width: 50px; top: auto; margin: 0 0 16px; }
.us1, .us2, .us3, .us4, .us5, .us6 {
position: relative;
margin: 8px 0 0;
font-size: 15px;
top: auto;
}
.serv {
position: relative;
top: 0;
height: auto;
padding: 30px 5%;
box-sizing: border-box;
}
.service-grid {
grid-template-columns: 1fr;
margin-top: 16px;
gap: 16px;
}
.whatwd {
position: relative;
top: 0;
padding: 30px 5%;
box-sizing: border-box;
}
.usw {
position: relative;
margin: 0 0 16px;
}
.wd-wrapper {
flex-direction: column;
margin-top: 16px;
gap: 16px;
}
.wd-box {
width: 100%;
flex-direction: column;
}
.wd-img {
width: 100%;
padding: 0;
height: 180px;
}
.wd-img img {
    border-radius: 12px 12px 0 0;
    height: 100%;
    width: 100%; /* FIX: Ensures full container width */
    object-fit: cover; /* FIX: Prevents flower distortion */
}
.wd-text {
width: 100%;
text-align: left;
padding: 16px;
}
.consec {
position: relative;
top: 0;
height: auto;
padding: 30px 5%;
box-sizing: border-box;
}
.usc {
position: relative;
margin: 0 0 16px;
}
.hr6, .hr7 {
position: relative;
top: auto;
margin-left: 0;
}
.hr6 { width: 80px; margin: 6px 0; }
.hr7 { width: 50px; margin: 0 0 16px; }
.con-wrapper {
margin-top: 16px;
}
.con-cards {
flex-direction: column;
gap: 12px;
}
.con-card {
flex: 1 1 100%;
padding: 24px 16px;
}
}

@media (max-width: 480px) {
.polipa {
font-size: 24px;
}
.num {
font-size: 28px;
}
.hm2 {
height: 180px;
}
.service-card h3 {
font-size: 15px;
}
.service-card p {
font-size: 13px;
}
.wd-text h3 {
font-size: 15px;
}
.wd-text p {
font-size: 13px;
}
.con-card h4 {
font-size: 11px;
}
.contact2 {
padding: 10px 16px;
font-size: 14px;
}
}