@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Days+One&family=Oswald:wght@200..700&family=Quicksand:wght@300..700&display=swap');        
  html {
    scroll-behavior: smooth;
  }

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: Arial, sans-serif;
  }

form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
  }

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0px 25px 0px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
  }

form textarea {
    resize: vertical;
  }

form button {
    background-color: #007BFF;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }

form button:hover {
    background-color: #0056b3;
  }

form div {
    text-align: center;
    font-size: 15px;
  }

  #form-feedback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f0f0f0;
  color: #333;
  border-bottom: 1px solid #ccc;
  padding: 15px 25px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  animation: fadeSlideDown 0.4s ease-out;
}

#form-feedback.success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

#form-feedback.error {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    top: -50px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Montserrat, Arial, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        /* Navigation */
        nav {
            background: transparent;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
        }

        nav.scrolled {
            background: rgba(51, 51, 51, 0.95);
            backdrop-filter: blur(10px);
        }

        .nav-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        /* Language Flags */
        .language-flags {
            display: flex;
            gap: 1rem;
        }

        .flag {
            width: 27px;
            height: 18px;
            cursor: pointer;
            border: 0;
            transition: all 0.3s ease;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        .flag:hover {
 
            transform: scale(1.1);
        }
 

        .flag.active {
            filter: grayscale(30%) brightness(0.8);
            border-color: #007bff;
        }

        .flag-uk {
            background-image: url('../images/uk-flag.png'); background-size: 27px 18px;
        }

        .flag-spain {
            background-image: url('../images/spain-flag.png'); background-size: 27px 18px;
        }

        .logo {
            display: block;
        }

        .logo img {
            display: block;
			 
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 4rem;
			margin: 0 30px;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease; 
			font-size: 0.9rem;
        }

        .nav-links a:hover {
            color: #007bff;
        }

        /* Mobile menu toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Sections */
        section {
         scroll-margin-top: 82px;
          
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        section#home {
          
            padding: 0px 0rem 0rem;
            width: 100%;
 
        }

        .section-content {
            text-align: center;width: 100%;
        }
.content-out {

width: 100%;
            display: flex;
            align-items: center;
            	
	}		
			
.content-image {
  position: relative;
  width: 50%;
  background: url(../images/trays.jpg) center / cover no-repeat;
  min-height: 400px;
  align-self: stretch;
}
			
#hows .content-image {
  position: relative;
  width: 50%;
  background: url(../images/controller.jpg) center / cover no-repeat;
  min-height: 400px;
  align-self: stretch;
}
#about .content-image {
  position: relative;
  width: 50%;
  background: url(../images/irrigation.jpg) center / cover no-repeat;
  min-height: 400px;
  align-self: stretch;
}
#contact .content-image {
  position: relative;
  width: 50%;
  background: url(../images/vertical-garden.jpg) center / cover no-repeat;
  min-height: 400px;
  align-self: stretch;
}

.content-image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent);
}

.content-text {
width: 50%;
padding: 70px 1% 90px 1%; 
}

#hows .content-text {
width: 50%;
padding: 30px 1% 50px 1%; 
}
 .content-text p {
    font-size: 1.0rem;
	 
  
				
    
    margin: 10px 2% 10px 2%;
	  
}
         .content-text b {
    font-size: 1.5rem;
	font-weight: normal;
	line-height: 130%;
 color: #0574BA;
display: block;	 
				
    
    margin: 20px 0px 10px 0px;
	  
}

 
		section#home .section-content {
            text-align: left;
			width: 100%;
			margin-top: 100px;
			
        }

        section h1 {
            font-size: 4.5rem;
            font-weight: bold;
            margin-bottom: 1rem;

        }
        section h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #333;

        }

        section p {
            font-size: 1.2rem;
            color: #666;    
		 

        }

#home {
    position: relative;
    height: 100vh;
    color: white;
    background: url('../images/viewy.jpg') center/cover no-repeat;
    overflow: hidden;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 20%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0));
    z-index: 1;
    pointer-events: none;  
}

 
 
 
 #home .section-content .layer {
 
	width: 60%;
	background-color: rgba(0, 0, 0, 0.7);
	margin: 0px 0px 0px 40px;
	padding: 40px;
}

               #home .section-content h1 {
    font-size: 2.0rem;
    font-weight: normal;

    color: #A5EE07;
 	line-height: 120%;
			
    font-size: calc(20px + 1.2vw);
    margin: 0px 0px 0px 0px;
	 
	   
}

         #home .section-content h2 {
    font-size: 4.0rem;
	font-weight: normal;
  
    color: #fff;
	line-height: 120%;
				
    font-size: calc(32px + 2.5vw);
    margin: 0px 0px 0px 0px;
	 
	    
}
         .content-text h2 {
    font-size: 2.0rem;
	font-weight: normal;
color: #0574BA;
	line-height: 120%;
				
    
    margin: 0px 0px 0px 0px;
	  
}
        
         #home .section-content b {
	display: block;	 
    font-size: 1.0rem;
	font-weight: normal;
    color: #fff;
	line-height: 140%;			
    font-size: calc(10px + 0.5vw);
    margin: 0px 0px 0px 0px;

	  
}
.layer-footer       
 {
 position: absolute;
 width: 100%;
 bottom: 0;
 left: 0;
 background-color: #0574BA;
    margin: 0px 0px 0px 0px;
	
	
	
}
.layers-outer
 {
 width: 60%;
 display: flex;
 margin: 0px auto;

}
.layers
 {
 width: 33.33%;
 display: flex; 
   justify-content: center; 
  align-items: center;     
  text-align: center;
  margin: 10px 0px 10px 0px;
}
.layers img
 {
 
  margin: 0px 10px 0px 10px;
}

.layers p
 {
     color: #fff;
	 line-height: 140%;
	 font-weight: 700;
	 font-size: 0.9rem;
}


 

        /* Content language switching */
        .content-en {
            display: block;
        }

        .content-es {
            display: none;
        }

        body.lang-es .content-en {
            display: none;
        }

        body.lang-es .content-es {
            display: block;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Mobile responsiveness */
        @media (max-width: 868px) {
		
		
 #home .section-content .layer {
 
    background-color: rgba(0, 0, 0, 0.7);
 
    padding: 20px 20px 20px 20px;
	margin: 0px 0px 0px 0px;
	    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}
         .layer-footer {
display: none !important;
}
#home .section-content h2 {

    font-size: calc(28px + 2.0vw);

}
            .menu-toggle {
                display: flex;
            }

            .nav-right {
                gap: 2rem;
            }

          

         
            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background: #333;
                flex-direction: column;
                justify-content: start;
                align-items: center;
                padding-top: 2rem;
                transition: left 0.3s ease;    margin: 0;
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links li {
                margin: 1rem 0;
            }

            .nav-links a {
                font-size: 1.2rem;
            }

         
            #home {
                height: 100vh;
                min-height: auto;
            }

            section h2 {
                font-size: 2rem;
            }

            section p {
                font-size: 1rem;
            }
        }

        /* Footer */
        footer {
            background: #333;
            color: white;
            text-align: center;
            padding: 2rem;
        }

        footer p {
            margin-bottom: 0.5rem;
        }
	 @media (max-width: 1750px) {
        .nav-container {
            max-width: 1200px;
 
        }         
}


@media (max-width: 1180px) {
.content-out {

 
flex-direction: column;
}
.content-text {
    width: 100%;
    padding: 40px 0% 40px 0%;
}
#hows .content-text {
    width: 100%;
    padding: 0px 0% 20px 0%;
}
.content-image {
    width: 100%;
}
#hows .content-image {
 display: none;
}
.nav-links {

    gap: 3rem;
    
}
.nav-container {
   
    padding: 0 1rem;
  
}

#about .content-image, #contact .content-image {

    width: 100%;
margin: 0px 0px 0px 0px;
}

#contact .content-image {

order: 1;
}

#contact .content-text {

order: 2;
}




}
 

@media (max-width:650px) {
.spinner {
    width: 100%;
    margin: 10px auto;
} 
.section-1, .section-2 {

width: 90%;
} 
} 
        @media (max-width: 480px) {
            .nav-container {
                padding: 0 1rem;
            }
        .logo img {
            width: 150px;
			 
        }
		section {
         scroll-margin-top: 74px;

        }
            .logo {
                font-size: 1.2rem;
            }

            section h2 {
                font-size: 1.8rem;
            }

            footer {
                padding: 1.5rem 1rem;
            }
        }