/* General Styles */
.container {
	width: 80%;
	margin: auto;
	overflow: hidden;
	margin-top: 20px;
}

.logo {
    padding: 10px;
	font-size: 14px;
    font-weight: bold;
    color: #043737; /* Color for the logo text */
}


a:hover {
    color: #F0F1F3;
}

.main-header, .main-footer {
	text-align: center;
	padding: 20px 0;
}
.main-header h1, .main-footer h1 {
	margin: 0;
}
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 20px;
}
.card {
	background: #f4f4f4;
	padding: 20px;
	text-align: center;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s;
}
.card:hover {
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

section#pcb-simulation-link img {
    width: 19%;
    height: auto; /* This ensures the aspect ratio is maintained */
}


#advanced-analytics, #testimonials, #tutorial, #subscribe {
    padding: 20px;
    text-align: center;
}

section#advanced-analytics img {
    width: 40%;
    height: auto; /* This ensures the aspect ratio is maintained */
}

#pcb-simulation-link {
    text-align: center;
    padding: 20px;
}

#pcb-simulation-link img {
    max-width: 100%;
    height: auto;
    border: none;
}

#pcb-simulation-link a {
    text-decoration: none;
}

/* Overlay text on the image */
#pcb-simulation-link a:before {
    content: 'Click Here to Run PCB Simulation';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2em;
}



#subscribe form {
    margin-top: 20px;
}

#subscribe input[type="text"], #subscribe input[type="email"] {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#subscribe button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer a {
    color: #007bff;
    text-decoration: none;
    padding: 0 10px;
}

