* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* Fonts */
@font-face {
	font-family: 'Quicksand-Bold';
	src: url('fonts/Quicksand-Bold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-Light';
	src: url('fonts/Quicksand-Light.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-Medium';
	src: url('fonts/Quicksand-Medium.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-Regular';
	src: url('fonts/Quicksand-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-SemiBold';
	src: url('fonts/Quicksand-SemiBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f2f2f2;
}

/* Start of Navbar 1 */
.nav-header {
    z-index: 99;
    width: 100%;
    height: 50px;
    color: white;
    display: flex;
    align-items: center;
    background: #1F232E;
}

.logo-btn {
    position: absolute;
    left: 10%;
    height: 50px;
    display: flex;
    align-items: center;
}

.nav-header img {
    width: 39%;
    height: auto;
}

.navbar-pc {
    display: none;
    position: absolute;
    right: 50px;
    color: white;
    font-family: 'Quicksand-Bold';
}

.navbar-pc ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    gap: 36px;
}

.navbar-pc a {
    color: inherit;
}

.navbar-pc a::after{
    content: '';
    height: 2px;
    width: 0%;
    background-color: white;
    display: block;
    transition: .4s ease-in-out;
    border-radius: 5px;
}

.navbar-pc a:hover::after{
    content: '';
    height: 2px;
    width: 100%;
    background-color: white;
    display: block;
}
/* End of Navbar 1 */

/* Start of Navbar 2 */
.navbar-mobile {
    height: 60px;
    background-color: transparent;
    display: flex;
    align-items: center;
    z-index: 2;
}

.links-container {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 200px;
    background-color: #3a3756;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
    transition: 0.75s ease-out;
}

.links-container ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.navbar-mobile a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    color: #f0f0f0;
    justify-content: flex-start;
}

.navbar-mobile a:hover {
    background-color: #00c896;
}

.close-sidebar-button svg {
    fill: #f0f0f0;
}

#sidebar-active {
    display: none;
}

#sidebar-active:checked  ~ .links-container {
    right: 0;
}

.open-sidebar-button .close-sidebar-button {
    display: block;
    padding: 20px;
}

.open-sidebar-button:hover, .close-sidebar-button:hover {
    cursor: pointer;
}

.open-sidebar-button svg:hover {
    transform: scale(1.1);
}

.close-sidebar-button svg:hover {
    transform: scale(1.1);
}

.open-sidebar-button {
    display: none;
    position: absolute;
    right: 20px;
    top: 12px;
}

#sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}
/* End of Navbar 2 */

/* Solutions Section */
.solutions {
    padding: 50px 20px;
    background-image: url(images/backdrop.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    width: 100%;
}

.solutions h2 {
    text-align: center;
    font-size: 46px;
    margin-bottom: 20px;
    color: #fff;
}

.solutions p {
    text-align: center;
    margin-bottom: 40px;
    color: #e6e6e6;
    font-size: 18px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.solution-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s ease;
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.solution-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.solution-card h3 {
    font-size: 22px;
    color: #333;
    margin: 15px;
    text-align: center;
}

.solution-card p {
    margin: 0 15px 20px;
    color: #777;
}

footer {
    height: 5vh;
    width: 100%;
}

footer p {
    background: #1F232E;
    color: white;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Responsive Navbar based on PC or Mobile screen size */
@media (min-width: 769px) {
    .navbar-pc {
        display: block;
    }

    .open-sidebar-button {
        display: none;
    }

    .solution-card img {
        height: 350px;
    }

    .solutions h2 {
        font-size: 80px;
    }

    .solutions p {
        font-size: 28px;
    }
    
    .solution-card h3 {
        font-size: 33px;
    }
}

@media (max-width: 768px) {
    .navbar-pc {
        display: none;
    }

    .open-sidebar-button {
        display: block;
        position: fixed;
    }
}