html {
    scroll-behavior: smooth;
}

html, body {
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #eaf4fc, #f8fbff);
    color: #2C3E50;
}

section {
    scroll-snap-align: start;
    min-height: 90vh; /* Make each section full screen */
    /*display: flex;*/
    /*align-items: center;*/
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.logo-container {
    margin-left: 25px;
    margin-right: 50px;
    text-align: center;
    display: flex;
}

.logo-title {
    padding-top: 10px;
}

.logo-subtitle {
    font-size: small;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9); /* Slight transparency */
    backdrop-filter: blur(10px); /* Adds a nice blur effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    transition: all 0.3s ease-in-out;
    z-index: 1000; /* Ensures it stays above other elements */
    display: flex;
}

.logo-container img {
    max-height: 60px;
    padding-left: 25px;
    padding-right: 25px;
}

.logo {
    line-height: 1.25;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
}

.header-actions {
    margin: auto 50px auto auto;
}

.header-actions a {
    font-weight: bold;
    text-underline: none !important;
    color: #2C3E50;
    text-decoration: none;
    padding-left: 40px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}

.hero img {
    order: -1;
    bottom: 0;
    box-shadow: none;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 75px;
    width: 100%;
}

.cover-image-opacity {
    order: 1;
    background-color: #868176;
    opacity: 0.4;
    right: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.hero-text {
    width: 50%;
    text-align: left;
    position: relative;
    color: black;
    padding-bottom: 100px;
}

.hero-text .emphasize {
    font-style: oblique;
    padding-top: 0;
    padding-bottom: 20px;
    color: #2C3E50;
    font-size: 16px;
    margin-top: -30px;
}

.hero h1, h1 {
    font-size: 36px;
}

.hero p, p {
    font-size: 18px;
}

.cta-button {
    color: black;
    border: 2px solid;
    background-color: rgba(0, 0, 0, 0);
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: black;
    color: white;
    border-color: black;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    height: 150px;
    margin: 15px
}

/* Optional: Add a dark overlay for readability */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Adjust for desired darkness */
    z-index: 1;
}

.feature-card h3 {
    font-size: 20px;
    margin: 10px 0;
}

.feature-card p {
    font-size: 16px;
    color: #555;
}

footer {
    background: white;
    padding: 20px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    header {
        padding: 10px 0 0 0;
    }

    .header-actions {
        margin-right: 10px;
    }

    .header-actions button, a {
        font-size: 12px;
    }

    .header-actions a {
        padding-left: 10px;
    }

    .logo-container img {
        padding-left: 0;
    }

    .logo {
        display: none;
    }

    .hero-text {
        width: 75%;
    }
}