* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h2 {
    font-size: 40px;
}

header {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.logo {
    height: 60px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #f2f2f2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-container {
    display: block;
    text-align: left;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section-title img {
    margin-right: 10px;
    height: 50px;
}

.our-product-section .section-title img {
    transform: scaleX(-1);
}

#main-nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 60px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a.active {
    color: #1e4a68;
    border-bottom: 2px solid #1e4a68;
    padding-bottom: 2px;
}

.hero {
    background-image: url('img/page1.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 25vh 20px 0;
    box-sizing: border-box;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: bold;
}

.hero h1 {
    font-size: 58px;
    line-height: 1;
    font-weight: bold;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
}

.history-section,
.who-we-are-section,
.business-section,
.our-grant-section,
.product-section {
    margin-bottom: 60px;
}

.contact-section {
    padding: 0px 0 120px 0;
}

.who-we-are-text {
    margin-left: 20px;
    font-size: 18px;
}

.desktop-timeline img {
    width: 100%;
    height: auto;
}

.mobile-timeline {
    display: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    margin: 0 20px;
}

.column img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-family: inherit;
}

button[type="submit"] {
    width: 100%;
    background-color: #1e4a68;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #3c8dbc;
}

.headline-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.headline-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.headline-item h3 {
    margin: 0;
    font-size: 22px;
}

.headline-paragraph-unit {
    margin-bottom: 15px;
}

.column p {
    margin-left: 34px;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.bordered-column {
    border: 1px solid #ddd;
    border-radius: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.contact-container {
    display: block;
}

.bordered-col {
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 20px;
}

.map-shadow {
    box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.15),
                inset -3px -3px 7px rgba(255, 255, 255, 0.8);
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.column ul {
    list-style: none;
    padding-left: 15px;
    margin: 20px 0 0 0;
}

.column ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

.column ul li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('img/check.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.our-grant-section .column h3 {
    text-align: center;
}

.grant.title {
    margin: 0 10;
    font-size: 30px;
}

.grant-img {
    max-height: 350px;
    margin: 0 auto;
}

.centered-title-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.centered-title-container h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.centered-title-container h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #1282a2;
}

.product-subtitle-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.product-subtitle-container h2 {
    font-size: 2em;
    color: #333;
}

.product-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 35px;
    box-shadow: inset 3px 3px 7px rgba(0,0,0,0.15),
                inset -3px -3px 7px rgba(255,255,255,0.8);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.product-subtitle-container {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
}

.product-subtitle-container h2 {
    font-size: 1.5em;
    color: #333;
    margin-top: 5px;
    margin-bottom: 10px;
}

.product-columns-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.product-column {
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-grow: 0;
    flex-shrink: 0;
}

.product-row:last-of-type .product-columns-wrapper .product-column {
    flex-basis: calc(33.33% - 13.33px);
}

.std-columns-wrapper .product-column:nth-child(1),
.std-columns-wrapper .product-column:nth-child(2) {
    flex-basis: calc(50% - 10px);
}

.std-columns-wrapper .product-column:nth-child(3),
.std-columns-wrapper .product-column:nth-child(4),
.std-columns-wrapper .product-column:nth-child(5) {
    flex-basis: calc(33.33% - 13.33px);
}

.product-column img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-column p {
    font-size: 1.1em;
    font-weight: normal;
    font-style: italic;
    color: #555;
    margin-top: 0;
}

.product-column ul {
    list-style: none;
    padding-left: 30px;
    text-align: left;
    width: 100%;
}

.product-column ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

.product-column ul li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('img/check.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.honeypot-field {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .desktop-timeline {
        display: none;
    }

    .mobile-timeline {
        display: block;
    }

    .mobile-timeline img {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .row {
        flex-direction: column;
    }

    .col {
        margin: 0 0 20px 0;
    }

    .column {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .row .column:first-child {
        padding-left: 0;
        padding-right: 0;
    }

    .row .column:first-child img {
        margin: 0 auto;
    }

    .bordered-column {
        margin: 0 10px 20px 10px;
        padding: 15px;
        padding-top: 45px;
    }

    header {
        padding: 10px 0;
    }

    .logo {
        height: 40px;
    }

    .hero h3 {
        font-size: 16px;
    }

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

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

    .contact-section {
        padding-bottom: 40px;
    }

    .product-row {
        flex-direction: column;
        align-items: center;
        margin: 10px;
    }

    .product-column {
        max-width: 90%;
        margin-bottom: 20px;
        flex-basis: auto;
    }

    .product-columns-wrapper {
        flex-direction: column;
    }

    .product-column ul {
        padding-left: 5px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .row {
        flex-direction: column;
    }

    .column {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .row .column:first-child {
        padding-left: 0;
        padding-right: 0;
    }

    .row .column:first-child img {
        margin: 0 auto;
    }

    .bordered-column {
        margin: 0 10px 20px 10px;
        padding: 15px;
    }

    .column ul {
        padding-left: 0;
        text-align: center;
    }

    .column ul li {
        padding-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .column ul li::before {
        position: relative;
        margin-right: 10px;
        transform: none;
        top: auto;
        left: auto;
    }

    .product-column ul {
        padding-left: 0;
        text-align: center;
    }

    .product-column ul li {
        padding-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-column ul li::before {
        position: relative;
        margin-right: 10px;
        transform: none;
        top: auto;
        left: auto;
    }

    .headline-paragraph-unit {
        margin-top: 30px;
    }
}

@media (min-width: 769px) {
    .contact-section .about-container p {
        font-size: 18px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 18px;
        font-weight: 500;
    }

    button[type="submit"] {
        font-size: 18px;
        font-weight: 500;
    }
}

@media (min-width: 1025px) {
    .row {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }

    .column {
        flex: 1;
        max-width: 50%;
        padding: 0 15px;
        margin-bottom: 0;
    }

    .row .column:first-child {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row .column:first-child img {
        margin: 0;
    }

    .bordered-column {
        margin: 0;
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    #main-nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    #main-nav ul.active {
        display: flex;
    }

    #main-nav li {
        margin: 20px 0;
    }

    #main-nav a {
        font-size: 24px;
        color: #333;
    }

    .hamburger-menu {
        display: block;
        margin-left: auto;
    }
}

.bordered-col a {
    color: inherit;
    text-decoration: none;
}
