/* Nutromeo Styles - Cutting-Edge & Professional */
@font-face {
	font-family: "AbadiMT";
	src: url("fonts/Roboto-Regular.ttf");
}
@font-face {
	font-family: "AbadiMT-ExtraLight";
	src: url("fonts/Roboto-Light.ttf");
}
@keyframes fadeInAnimation_up {
	0% {
    transform: translateY(10%);
    opacity: 0;
	}
	100% {
    transform: translateY(0%);
    opacity: 1;
  }
}
body {
    font-family: "AbadiMT-ExtraLight";
    margin: 0;
    padding: 0;
    background-color: #FAFAFA;
    color: #202C3A;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
	position: fixed; top: 0; left: 0; right: 0;
	background-color: #FAFAFA; background-image: url('img/insilicare.png'); background-repeat: no-repeat; background-size: 150px auto; background-position: 20px 20px;
	padding: 10px; text-align: right;
	z-index:10;
	box-shadow: 0 4px 10px rgba(32, 44, 58, 0.3);
}
header > div { display: inline-block; vertical-align: top; padding-right: 16px;}

header > nav { display: inline-block; position:relative;}

header nav a:hover { color: #007EA7; border-bottom: 1px solid #007EA7;}


/* Hide the menu items by default on small screens */
header > nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header > nav ul li {
  display: inline-block;
}

header > nav ul li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  background-color: #FAFAFA;
  color: #202C3A;
  line-height: 36px; 
  border-bottom: 1px solid #FAFAFA;
}

/* Add a hamburger button for mobile screens */
.menu-toggle {
  display: none;
  background-color: #FAFAFA;
  color: #202C3A;
  width:100px;
  padding:10px;
  cursor: pointer;
  text-align:center;
  line-height: 36px;
}
.menu-toggle:hover {color: #007EA7;}

main {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
	padding-top: 68px;
	align-items: center;
}

h1, h2, h3 {
    color: #202C3A;
    text-align: center;
	border-bottom: 1px solid #007EA7;	
	padding-bottom: 1rem;
}

#logo {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #FAFAFA;
    padding: 2rem;
    border-radius: 8px;
}

#logo img {
	max-width: 400px;
}

#intro {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #FAFAFA;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 126, 167, 0.3);
	font-size: 1.2rem;
	animation: fadeInAnimation_up ease 1s; animation-iteration-count: 1; animation-fill-mode: forwards;
}

#sides {
	width:100%;
    display: inline-block;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #FAFAFA;
    padding: 2rem;
    border-radius: 8px;
	background-image: url('img/world3.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.text-content {
    flex: 1;
    font-size: 1.2rem;
}

.image-content img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(32, 44, 58, 0.3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.feature-item {
    background: #FAFAFA;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 126, 167, 0.3);
    transition: transform 0.3s ease-in-out;
}

.feature-item:hover {
    transform: scale(1.05);
}

#articles {
	width:100%;
	max-width: 1200px;
    padding:5rem 2rem 2rem 2rem;
	text-align: justify;
	margin-bottom:85px;
}

.article { display: flex; justify-content: center;
  align-items: center;}
.article h3 { color:#007EA7; }
.article li {
list-style-type: square;}

.article li::marker {
  color: #007EA7;
}

.circle { transition: transform 0.5s; 
	display: inline-block; overflow: hidden; 
	font-size:16px;
	margin:-16px 16px 32px 16px; padding:16px; 
	background-color:#FAFAFA; 
	box-shadow: 0px 4px 10px #202C3A40; border: 100% solid #202C3A; border-radius:32px; 
	width:40%; max-width:250px; min-width:160px; 
	text-align:center;
}
.circle:hover {transform: scale(1.1); }

a.none {color:#202C3A; outline: none; text-decoration: none;}
a.none:visited {color:#202C3A;}
a.none:hover {border-bottom: 0px solid;}

p.center {text-align:center;}
p.small {font-size:16px; text-align:center;}
p.medium {width:75%;}

#testimonials {
	width:100%;
	max-width: 1200px;
    padding:2rem;
}

#features {
	width:100%;
    padding:2rem;
}

#benefits {
	width:100%;
    padding:2rem;
}

li {
	list-style: none;	
}

li::marker {
  color: #007EA7;
}

blockquote {
    font-style: italic;
    background-color: #007EA710;
    color: #202C3A;
    padding: 1.5rem;
    border-left: 5px solid #007EA7;
	border-right: 5px solid #007EA7;
    margin: 1rem 0;
    border-radius: 5px;
	box-shadow: 0 4px 10px rgba(32, 44, 58, 0.3);
}

#calltoaction {
	width: 100%;
    max-width: 1200px;
    background-color: #FAFAFA;
    color: #202C3A;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
	background-image:url('img/Picture4.png');
	border-radius: 16px 16px 16px 16px;
	margin-bottom:85px;
}

footer { 
	position: fixed; bottom: 0; left: 0; right: 0; 
	background-color: #202C3A; overflow: auto;
	color: #FAFAFA; text-align: right; font-family: "AbadiMT-ExtraLight", serif; padding: 10px 32px 10px 0px;
	border-top: 0px solid #FAFAFA;
	box-shadow: 0 -4px 10px rgba(32, 44, 58, 0.3);
	}
	
footer > div { display: inline-block; font-size: 12px; width:60%; min-width:456px;}

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    background-color: #C83E4D;
    color: #FAFAFA;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1rem;
    font-weight: bold;
}

.btn:hover {
    background-color: #E59500;
    color: #202C3A;
    transform: scale(1.05);
}

.slider-container {
	position: relative;
	overflow: hidden;
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(32, 44, 58, 0.3);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
	min-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 600px;
	transition: transform 0.5s ease;
}

.slide img {
	max-width: 100%;
	max-height:100%;
	object-fit: contain;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 126, 167, 0.3);
  box-shadow: 0 2px 6px rgba(32, 44, 58, 0.3);
  color: white;
  border-radius: 8px;
  border-width: 0px;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
}

.arrow:hover {
	background: rgba(0, 126, 167, 0.7);
} 
.arrow.right {
  right: 10px;
}

.arrow.left {
  left: 10px;
}

@media (max-width: 768px) {
    #intro {
        flex-direction: column;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
	
	header > nav ul {
		display: none; /* Hide the menu by default on small screens */
		position: absolute;
		top: 66px;
		left: 0%;
		width: 100%;
		flex-wrap: wrap;
		box-shadow: 1px 4px 10px rgba(32, 44, 58, 0.3);
	}

	header > nav ul li {
		display: block; /* Stack the menu items vertically */
	}

	header > nav ul li a {
		padding: 10px;
		text-align: center;
	}

	.menu-toggle {
		display: block; /* Show hamburger button on small screens */
	}

	/* Show the menu when the hamburger button is clicked */
	header > nav.active ul {
		display: block;
	}
	
	header > nav > ul:hover {
		display: block;
	}
}

@media (min-width: 768px) {
  header > nav ul {
    display: block; /* Make it inline again when the screen is large */
  }

  header > nav ul li {
    display: inline-block; /* Horizontally aligned items */
  }

  .menu-toggle {
    display: none; /* Hide hamburger button on large screens */
  }
}
