*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.navbar {
	display: flex;
	align-items: center;
	padding: 20px;
	height: 90px;
	background: radial-gradient(#fff,#008000);;
}

nav{
	flex: 1;
	text-align: right;
}

nav ul{
	display: inline-block;
	list-style-type: none;
}

nav ul li{
	display: inline-block;
	margin-right: 20px;
}

.link a{
	text-decoration: none;
	color: #555;
	font-size: 18px;
}

p{
	color: #555;
}

.link a:hover{
	color: #ff523b;
}

.link a.active{
	background-color: #ff523b;
	color: #fff;
	border-radius: 10px;
	padding: 10px 20px;
}

.menu-icon{
	width: 28px;
	margin-left: 20px;
	display: none;
}

.row{
	display: flex;
	align-items: center;
	flex-wrap: wrap;	
	justify-content: space-around;
}

.c-box{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 800px;
	height: auto;
	border-radius: 5px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
	margin-top: 0;
	margin-bottom: 135px;
}

.container{
	max-width: 1300px;
	margin: auto;
	padding-left: 25px;
	padding-right: 25px;
}

.row{
	display: flex;
	align-items: center;
	flex-wrap: wrap;	
	justify-content: space-around;
	margin-top: 80px;
}

.col-2{
	flex-basis: 50%;
	min-width: 300px;
}

small{
	color: #555;
	font-size: 17px;
	text-align: center;
	justify-content: center;
	margin-top: 40px;
	margin-bottom: 10px;
}

.c-box .small{
	color: #555;
	font-size: 17px;
	text-align: center;
	justify-content: center;
	margin-top: 40px;
	margin-bottom: 10px;
}

.c-box p{
	text-align: center;
	justify-content: center;
	color: #555;
	font-size: 17px;
	margin: auto auto 20px auto;
	font-style: italic;
	font-weight: bold;

}

/* in what is TOASE (logo) */
.boxe{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	width: 800px;
	height: auto;
	border-radius: 5px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
	margin-top: 0;
	margin-bottom: 135px;
}

.boxe h1{
	font-size: 50px;
	line-height: 60px;
	text-align: center;
	display: inline-block;
	margin: auto;
	margin-top: 35px;
	margin-bottom: 15px;
}

.boxe p{
	text-align: center;
	justify-content: space-around;
	color: #555;
	font-size: 17px;
	margin: auto 20px 20px 20px;
	font-style: italic;
	font-weight: bold;

}

.btn{
	display: inline-block;
	background: #ff523b;
	color: #fff;
	padding: 8px 30px;
	margin: 30px 0;
	border-radius: 30px;
	cursor: pointer;
}
.header{
	background: radial-gradient(#fff,#008000);
	
}

.header .row{
	margin-top: 0;
}

.categories{
	margin: 70px 0;
}

.col-3{
	flex-basis: 30%;
	min-width: 250px;
	margin-bottom: 30px;
}

.col-3 img{
	width: 100%;
}

/* in what is TOASE (logo) */
.col-5{
	flex-basis: 50%;
	min-width: 300px;
	align-items: center;
	margin-top: 70px;
}


.col-5 img{
	display: block;
	margin: auto;
	width: 30%;
}

.small-container{
	max-width:  1080px;
	margin: auto;
	padding-left: 25px;
	padding-right: 25px;
}

.title{
	text-align: center;
	margin: 0 auto 80px;
	position: relative;
	line-height: 60px;
	color: #555;
	z-index: -1;
}

.title::after{
	content: '';
	background: #ff523b;
	width: 80px;
	height: 5px;
	border-radius: 5px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

h4{
	color: #555;
	font-weight: normal;
	text-align: center;
	font-size: 20px;
}

/*--- 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;
}

/* ----- pop-up modal on our-services ----- */
button{
	background-image: linear-gradient(to right );
	border-radius: 20px;
	border: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	color: #fff;
	cursor: pointer;
	padding: 10px 25px;
}

button:ative {
	opacity: 0.8;
}

.modal {
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
	position: fixed;
	top: 0;
	left: ;
	right: 0;
	bottom: 0;
	transition: all 0.3s ease-in-out;
	z-index: -1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal.open {
	opacity: 1;
	z-index: 999;
}

.modal-inner {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	padding: 15px 25px;
	text-align: center;
	width: 380px;
}

.modal-inner h4{
	margin: 0;
}

.modal-inner p{
	line-height: 24px;
	margin: 10px 0;
}

.popup{
	width: 1200px;
	background:  #808080;
	background-color: rgba(0, 0, 0, 0.8);
	border-radius: 10px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%,-50%) scale(0.1);
	text-align: center;
	padding: 0 30px 30px;
	color: #333;
	visibility: hidden;
	transition: transform 0.4s, top 0.4s;
}

.open-popup{
	visibility: visible;
	top: 50%;
	transform: translate(-50%,-50%) scale(1);
}
.popup h4{
	color: #fff;
	margin: 30px 0 10px;
	
}

.popup p{
	color: #fff;
	margin: 30px 0 10px;
	
}

.popup button{
	width: 100%;
	margin-top: 50px;
	padding: 10px 0;
	background: #6fd649;
	color: #fff;
	border: 0;
	outline: none;
	font-size: 18px;
	border-radius: 4px;
	cursor: pointer;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}



/*-----footer-------*/

.footer{
	background: #000;
	color: #8a8a8a;
	font-size: 14px;
	padding: 60px 0 20px;
}

/*.footer .row{
	margin: auto 125px auto 125px;
}*/

.footer p{
	color: #8a8a8a;
}

.footer h3{
	color: #fff;
	margin-bottom: 20px;
}

.footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{
	min-width: 250px;
	margin-bottom: 20px;
}

.footer-col-1 {
    flex-basis: auto; /* Fixed invalid value */
    display: flex;
    flex-direction: column;
}

.footer-col-1 .footer-col-1-box {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    position: relative; /* Necessary for absolute positioning inside */
}

.footer-col-1 .final-box {
    position: fixed; /* Fixed to center relative to viewport */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50rem;
    height: 30rem;
    border-radius: 0.3rem;
    box-shadow: 0 1.5rem rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 9999; /* Ensure it stays on top */
    visibility: visible;
    opacity: 1;
}

.footer-col-1 .final-box.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.footer-col-1 .final-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-col-1 .final-box .final-text {
    color: #fff;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    transform: none;
}

.footer-col-1 .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transition: all 0.3s ease;
    visibility: visible;
    opacity: 1;
}

.footer-col-1 .overlay.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.footer-col-2{
	flex: 1;
	text-align: center;
}

.footer-col-2 img{
	width: 180px;
	margin-bottom: 20px;
}

.footer-col-3, .footer-col-4{
	flex-basis: 12%;
	text-align: center;
}

.footer-links a{
	list-style-type: none;
	text-decoration: none;
	color: #555;
	font-size: 18px;
}

ul{
	list-style-type: none;
}
 
.app-logo{
	margin-top: 20px;
}

.app-logo img{
	width: 140px;
}

.footer hr{
	border: none;
	background: #b5b5b5;
	height: 1px;
	margin: 20px 0;
}

.copyright{
	text-align: center;
}

.menu-icon{
	width: 28px;
	margin-left: 20px;
	display: none;
}


/*------- media query for menu ------*/
@media only screen and (max-width: 800px){

	nav ul{
		position: absolute;
		top: 70px;
		left: 0;
		background: #333;
		width: 100%;
		overflow: hidden;
		transition: max-height 0.5s;
	}

	nav ul li{
		display: block;
		margin-right: 50px;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	nav ul li a{
		color: #fff;
	}

	.menu-icon{
		display: block;
		cursor: pointer;
	}
}

/*----- meadia query for less than 600 screen size --*/
@media only screen and (max-width: 600px){
	.row{
		text-align: center;
	}
	.col-2, .col-3, .col-4{
		flex-basis: 100%; 
	}

}

/*----- media max width 600 px ----*/
@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;
	}
	}
}
