body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: #1b2936;
    color: #2C3E50;
    margin: 0;
    padding: 0;
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

/* Default topnav style */
.topnav {
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

.topnav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 8px 12px;
    font-weight: bold;
}

.topnav a:hover {
    font-size: large;
}

.topnav .logo {
    height: 60px;
    margin-right: 20px;
}

.topnav .logo-link {
    margin-right: auto;
}

.topnav .icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    padding: 20px;
}

.topnav .icon:hover {
    font-size: 28px;
}

/* Front Header Styling */
.front {
    height: 80vh;
    background: url('images/portbackground.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.front-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin-bottom: 200px;
}

.front-content h1 {
    font-weight: 900;
    margin-bottom: 20px;
}

/* Cards Styling */
.card-container {
    position: relative;
    margin-top: -220px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

.card {
    width: 300px;
    text-align: left;
    margin: 20px;
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: 0;
}

.card-content {
    padding: 20px;
}

.card h3,
.card p {
    margin: 0 0 10px;
}

.card-title {
    font-size: 1.5em;
    color: #333;
    margin-top: 15px;
}

.card-description {
    color: #777;
    margin-top: 10px;
}

/* buttons */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.button {
    background-color: #F59E0B;
    color: white;
    border: none;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background-color: #FBBF24;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* bottom texts */
.bottom {
    display: flex;
    justify-content: center;
    padding: 20px 20px;
    background-color: #1b2936;
    /* Assuming a dark background */
}

.values {
    max-width: 800px;
    color: white;
    text-align: left;
}

.values h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #F59E0B;
    /* Accent color */
    padding-bottom: 10px;
}

.values ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.values li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #F59E0B;
    font-size: 1.2rem;
    line-height: 1;
}

/* Contact */
.contact {
    background-color: #1b2936;
    /* Matches the body background */
    color: white;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #F59E0B;
    /* Accent color */
    padding-bottom: 10px;
}

.contact p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact p:hover {
    color: #FBBF24;
    transition: color 0.3s ease;
}

.contact strong {
    color: #F59E0B;
    /* Accent color for labels */
}



/* Responsive layout */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        flex-direction: column;
        align-items: flex-start;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
    }
}

@media screen and (max-width: 600px) {
    .front-content h1 {
        font-size: 32px;
    }

    .front-content p {
        font-size: 16px;
    }
}

@media screen and (min-width: 600px) {
    .front-content h1 {
        font-size: 42px;
    }

    .front-content p {
        font-size: 18px;
    }
}