* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

nav{
	position: sticky;
	top: 0;
	width: 100%;
	background: #030303;
	height: 70px;
	flex: 1;
	text-align: right;
	z-index: 1000;
}

nav:after{ 
	content: '';
	clear: both;
	display: table;
}

nav ul{
	float: right;
	list-style: none;
	margin-right: 40px;
	position: relative;
	display: inline-block;
	list-style-type: 20px;
}

nav ul li{
	float: left;
	display: inline-block;
	background: #030303 /*#bf1d1e*/;
	margin: 0 5px;
	border-radius: 15px;
	position: relative;
}

nav ul li a{
	/*color: red;*/
	text-decoration: none;
	line-height: 70px;
	color: white;
	font-size: 18px;
	padding: 9px 15px;
}

nav ul li a:hover{
	color: #7e9413;
	border-radius: 5px;
	box-shadow: 0 0 10px #7e9413,
	            0 0 10px #7e9413;
}

nav ul ul li a:hover{
	color: #F8F20A;
	box-shadow: none;
}

nav ul ul{
	position: absolute;
	left: 0;
	top: 90px;
	border-top: 3px solid #F8F20A;
	opacity: 0;
	visibility: hidden;
	transition: top 0.8s;
	z-index: 100;
}

nav ul ul ul{
	border-top: none;
}

nav ul li:hover > ul{
	top: 70px;
	opacity: 1;
	visibility: visible;
}

nav ul ul li {
	position: relative;
	margin: 0px;
	width: 150px;
	float: none;
	display: list-item;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	text-align: left;
	z-index: 101;
}

nav ul ul li a{
	line-height: 50px;
}

nav ul ul ul li {
	position: absolute;
	float: left;
	top: -70px;
	left: 150px;
}

span .fa-plus{
	margin-left: 40px;
	font-size: 15px;
}

nav .logo{
	float: left;
	height: 60px;
}

nav .logo img{
	height:65px;
	width:75px;
	margin-top: 2px;
	margin-left: 30px;
}

.link a.active{
	background-color: #7e9413;
	color: #fff;
	border-radius: 10px;
	padding: 10px 20px;
}

.menu-icon{
	width: 50px;
	margin-left: 20px;
	display: none;
}

/* Header container */
.header-container{
	height: 80vh;
	background-image: url("");
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.header-content{
	padding: 50px;
}

.header-content h1{
	margin-top: 60px;
}

.header-content h1, h4, h3 {
	text-align: center;
	color: #fff;
	font-size: 40px;
}

/* featured products */
.container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.section-title {
    grid-column: 1 / -1;
    font-size: 1.5rem;
    color: #333;
    margin: 20px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #ddd;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: #eee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    margin-bottom: 15px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.2rem;
    color: #e44d26;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.buy-btn {
    background-color: #007bf5;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.2s;
}

.buy-btn:hover {
    background-color: #7e9413;
}
   
/* PARTNERS */
.partners{
    margin: 100px auto;
    max-width:  1080px;
    padding-left: 25px;
	padding-right: 25px;
}

.title {
    text-align: center;
    margin: 0 auto;
    position: relative;
    line-height: 60px;
    color: var(--c-blue);
}

.partners-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.col {
    width: 160px;
}

.col img{
    width: 100%;
    cursor: pointer;
}

/* A propos*/
.eng-res-content {
    background-color: transparent;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    /* Change fixed width to responsive maximums */
    width: 100%;
    max-width: 950px; 
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eng-res-content img {
    border-radius: 25px;
    /* Force the image to scale down to fit the container */
    max-width: 100%;
    height: auto;
}



/*--- Contact form ---*/
.contenu{
	display: flex;
	flex-direction: column;
	margin: auto;
	padding: 0 10px;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
}

.wrapper{
	width: 720px;
	background: #fff;
	border-radius: 5px;
	border: 2px solid;
	border-block-color: #008000;
	box-shadow: 5px 10px #008000; 
	border-radius: 5px;
}

.wrapper header{
	font-size: 22px;
	font-weight: 600;
	padding: 20px 30px;
	border-bottom: 1px solid #bfbfbf;
}

.wrapper form{
	margin: 35px 30px;
}

form .dbl-field{
	display: flex;
	align-items: center;
	margin-bottom: 25px;
	justify-content: space-between;
}

.dbl-field .field{
	height: 50px;
	position: relative;
	width: calc(100% / 2 - 13px);
}

form .field input, 
form .message textarea{
	height: 100%;
	width: 100%;
	outline: none;
	padding: 0 18px 0 48px;
	font-size: 16px;
	border-radius: 5px;
	border: 1px solid #bfbfbf;
}

form .field input::placeholder,
form .message textarea::placeholder{
	color: #bfbfbf;
}

form .field input:focus,
form .message textarea:focus{
	border: 2px solid #008000;
}

.wrapper form i{
	position: absolute;
	left: 18px;
	top: 50%;
	color: #bfbfbf;
	font-size: 17px;
	pointer-events: none;
	transform: translateY(-50%);
}

form .field input:focus ~ i{
	color: #008000;
}

form .message{
	position: relative;
}

form .message i{
	top: 30px;
	font-size: 20px;
}

form .message textarea{
	min-width: 100%;
	max-width: 100%;
	min-height: 120px;
	max-height: 300px;
	min-height: 120px;
	padding: 15px 20px 0 48px;
}

form .button-area{
	margin: 25px 0;
	display: flex;
	align-items: center;
}

.button-area button{
	font-size: 18px;
	border: none;
	color: #fff;
	cursor: pointer;
	border-radius: 5px;
	background: #008000;
	padding: 13px 25px;
}

.button-area span{
	color: #008000;
	margin-left: 30px;
}

.wrapper img{
	/* width: 450px;
	align-items: center; */
	display: block;      /* Converts image to a block element */
    margin-left: auto;   /* Splits the remaining space equally */
    margin-right: auto;
    width: 50%; 
}

.wrapper h4{
	text-align: center;
}




/* FOOTER */
.footer-container{
	background-color: #212329;
	padding: 4rem 0 4rem 0;
}

.footer{
	width: 80%;
	height: 40vh;
	background-color: #212329;
	color: #fff;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 auto;
}

.footer-header{
	display: flex;
	flex-direction: column;
	margin-right: 4rem;
}

.footer-header h2{
	margin-bottom: 2rem;
}

.footer-header a{
	color: #fff;
	text-decoration: none;
	margin-bottom: 0.5rem;
}

.footer-header a:hover{
	color: #7e9413;
	transition: 0.3s ease-out;
}

.footer-email-form h2{
	margin-bottom: 2rem;
}

#footer-email{
	width: 250px;
	height: 40px;
	border-radius: 4px;
	outline: none;
	border:none;
	padding-left: 0.5rem;
	font-size: 1rem;
	margin-bottom: 1rem;
}

#footer-email::placeholder {
	color: #b1b1b1;
}

#footer-email-btn {
	width: 120px;
	height: 40px;
	border-radius: 4px;
	background-color: #7e9413/*#F9423D*/;
	outline: none;
	border: none;
	color: #fff;
	font-size: 1rem;
}

#footer-email-btn:hover{
	cursor: pointer;
	background-color: #030303;
	color: #7e9413;
	transition: all 0.4s ease-out;
}

.footer-container hr{
	border: none;
	background: #fff;
	height: 1px;
	margin: 20px 0;
}

.copyright{
	text-align: center;
	color: #fff;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE STYLES)
   ========================================================================== */

/* Tablets & Small Laptops (Max width 1024px) */
@media screen and (max-width: 1024px) {
	.gpe-activities {
		grid-template-columns: repeat(3, 1fr); 
		padding: 30px;
	}
}

/* Mobile Phones & Small Tablets (Max width 768px) */
@media screen and (max-width: 768px) {
	.menu-icon {
		display: block; 
	}
	
	/*#MenuItems {
        width: 100%;
        position: absolute;
        top: 70px; 
        left: 0;
        background: #000000; 
        overflow: hidden; 
        transition: max-height 0.5s ease; 
        z-index: 100; 
    }

    #MenuItems li {
        margin: 15px 20px;
    }

    #MenuItems li a {
        color: #fff;
    }*/
    
    #MenuItems {
    position: absolute;
    width: 100%;
    background: #000000;
    top: 70px;
    left: 0;
    text-align: center;
    overflow: hidden; 
    max-height: 0px;  
    transition: max-height 0.5s ease; 
    float: none;
    margin-right: 0;
}


    #MenuItems li {
        list-style: none;
        margin: 0; 
    }

    #MenuItems li a {
        display: block;
    }


	/*nav ul {
		position: absolute;
		width: 100%;
		height: calc(100vh - 70px);
		background: #000000;
		top: 70px;
		left: -100%; 
		text-align: center;
		transition: all 0.5s ease;
		float: none;
		margin-right: 0;
	}*/

	
	nav ul.active {
		left: 0;
	}

	nav ul li {
	    width: 100%;
		display: block;
		float: none;
		margin: 15px 0;
	}

	nav ul li a {
		line-height: 40px;
		font-size: 20px;
		display: block;
		text-align: center;
	}

	nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		background: #111;
		width: 100%;
	}

	nav ul ul li {
		width: 100%;
		text-align: center;
	}

	nav ul ul ul li {
		position: static;
	}

	/* Video Section Adjustments */
	.video-content h1 {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.video-content a {
		font-size: 18px;
		padding: 10px 20px;
	}

	.video-container .background-clip {
		object-fit: cover; 
	}

	/* Layout Grids & Typography */
	.gpe-activities {
		grid-template-columns: repeat(2, 1fr); 
		padding: 20px;
	}

	.elevage-content {
		width: 95%;
	}

	.elevage-content h1 {
		font-size: 24px;
	}

	.elevage-content p {
		font-size: 16px;
	}

	.elevage-content .btn-elevage {
		font-size: 18px;
		padding: 10px 20px;
	}
}

/* Extra Small Mobile Screens (Max width 480px) */
@media screen and (max-width: 480px) {
	.gpe-activities {
		grid-template-columns: 1fr; 
	}
	
	nav .logo img {
		margin-left: 15px; 
	}
	
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* TABLETS (Max width 992px) */
@media screen and (max-width: 992px) {
	.slider {
		width: 90%;
		min-height: 350px;
	}

	.slider .slide .info {
		width: 80%;
		margin-top: 30px;
		margin-left: 30px;
	}

	.insight {
		width: 90%;
	}

	.footer {
		width: 90%;
		height: auto;
		gap: 2rem;
	}

	.footer-header {
		margin-right: 0;
	}
}

/* SMARTPHONES (Max width 768px) */
@media screen and (max-width: 768px) {
	.groupement-news, .box {
		grid-template-columns: 1fr;
	}

	.news, .side-box {
		grid-column: 1;
	}

	.side-box {
		margin-top: 20px;
	}

	/* Slider responsiveness */
	.slider {
		width: 95%;
		min-height: 400px;
	}

	.slider .slide img {
		width: 100%;
		height: 100%;
	}

	.slider .slide .info {
		width: 85%;
		margin: 20px auto;
		left: 0;
		right: 0;
		padding: 15px;
	}

	.slider .slide .info h2 {
		font-size: 1.5em;
	}

	.slider .slide .info p {
		font-size: 0.9em;
	}

	.navigation {
		height: 100%;
		opacity: 1; 
	}

	.prev-btn, .next-btn {
		font-size: 1.5em;
		padding: 8px;
	}

	/*.navigation-visibility .slide-icon {
		transform: translateY(-20px);
	}*/
	
	.navigation-visibility  { 
  position: absolute;
  bottom: 10px; 
  left: 25%;
  transform: translateY(-25%); 
}

	/* Buttons & Forms */
	.insight-connect .insight-button {
		font-size: 18px;
		padding: 12px 20px;
		width: 80%;
		text-align: center;
	}

	#footer-email {
		width: 100%;
		max-width: 250px;
	}

	/* Partners Layout */
	.partners {
		margin: 50px auto;
	}

	.col {
		width: 40%;
		margin-bottom: 20px;
	}
}

 @media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    	.eng-res-content{
    		width: 90%;
    	}
    }
    

/* contact form */

@media(max-width: 600px){
	.wrapper{
		width: 100%;
	}
	.wrapper header{
		text-align: center;
	}
	form .dbl-field{
		flex-direction: column;
		margin-bottom: 0px;
	}
	.dbl-field .field{
		margin-bottom: 20px;
	    width: 80vw;
    }

    form .message {
		width: 80vw;
	}
	form .button-area{
		flex-direction: column;
	}
	.button-area button{
		width: 80vw;
	}
	.button-area span{
		text-align: center;
		margin: 50px 0;
	}
}

.footer-container {
    background-color: #212329;
    padding: 4rem 0 4rem 0;
}

.footer {
    width: 80%;
    min-height: 40vh;
    height: auto;
    background-color: #212329;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.footer-header {
    display: flex;
    flex-direction: column;
    margin-right: 4rem;
    margin-bottom: 2rem;
}

.footer-header h2 {
    margin-bottom: 2rem;
}

.footer-header a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-header a:hover {
    color: #7e9413;
    transition: 0.3s ease-out;
}

.footer-email-form h2 {
    margin-bottom: 2rem;
}

#footer-email {
    width: 250px;
    height: 40px;
    border-radius: 4px;
    outline: none;
    border: none;
    padding-left: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#footer-email::placeholder {
    color: #b1b1b1;
}

#footer-email-btn {
    width: 120px;
    height: 40px;
    border-radius: 4px;
    background-color: #7e9413;
    outline: none;
    border: none;
    color: #fff;
    font-size: 1rem;
}

#footer-email-btn:hover {
    cursor: pointer;
    background-color: #030303;
    color: #7e9413;
    transition: all 0.4s ease-out;
}

.footer-container hr {
    border: none;
    background: #fff;
    height: 1px;
    margin: 20px 0;
}

.copyright {
    text-align: center;
    color: #fff;
}

/* Tablet and Mobile Responsive Styles */
@media screen and (max-width: 960px) {
    .footer {
        width: 90%;
        text-align: center;
        align-items: center;
    }

    .footer-header {
        margin-right: 0;
        margin-bottom: 3rem;
        align-items: center;
    }
}

@media screen and (max-width: 600px) {
    .footer {
        width: 100%;
    }

    #footer-email {
        width: 80%;
    }

    #footer-email-btn {
        width: 80%;
    }
}
