* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    justify-content: center;
    line-height: 1.6;
    align-items: center;
    font-family: "montserrat", sans-serif;
}

/* Hero section */

/*
header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    font-family: "montserrat", sans-serif;
    transition: background-color 0.5s ease;
    height: 71.19px;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 71.19px;
}

.sticky.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

header .container {
    display: flex;
    align-items: center;
    width: 100%;
}

header .logo {
    display: flex;
    align-items: center;
    margin-right: 70px;
}

header .logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 60px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.container {
    flex: 1;
} */

/* body {
    font-family: "roboto", sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
} */

/* .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
} */

.containerBOX {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.card {
    background-color: #fefef9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 320px;
    height: auto; /* Make height flexible */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3,
.card h4 {
    margin-top: 0;
    font-size: 24px;
    color: #000000;
    text-align: left;
    min-height: 50px; /* Ensure consistent height for all headings */
}

.card h4 {
    font-size: 20px;
}

.card h5 {
    margin-top: 0;
    font-size: 16px;
    color: #000000;
    text-align: left;
    min-height: 50px;
}

.card p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
    height: auto; /* Allow paragraph height to be flexible */
    line-height: 1.5em;
}

.line {
    border-bottom: 1px solid #333;
    margin: 10px 0;
}

.btn {
    background-color: #d4a259;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-decoration: none;
    align-self: center;
}

.btn:hover {
    background-color: #9d763c;
}

/* Adjust grid for medium screens (tablets) */
@media (max-width: 1024px) {
    .containerBOX {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

/* Adjust card size and font size for mobile */
@media (max-width: 1024px) {
    .card {
        width: 300px; /* Full width on mobile */
        padding: 15px; /* Smaller padding for mobile */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        height: auto; /* Make height flexible */
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card h3,
    .card h4 {
        font-size: 16px; /* Smaller font size for headings */
    }

    .card p {
        font-size: 14px; /* Smaller font size for paragraphs */
    }
}

/* Adjust grid for small screens (mobile) */
@media (max-width: 860px) {
    .containerBOX {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        padding: 10px; /* Reduce padding on small screens */
    }
}

/* Adjust card size and font size for mobile */
@media (max-width: 860px) {
    .card {
        width: 300px; /* Full width on mobile */
        padding: 15px; /* Smaller padding for mobile */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        height: auto; /* Make height flexible */
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card h3,
    .card h4 {
        font-size: 16px; /* Smaller font size for headings */
    }

    .card p {
        font-size: 14px; /* Smaller font size for paragraphs */
    }
}

/* Adjust grid for small screens (mobile) */
@media (max-width: 768px) {
    .containerBOX {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        padding: 10px; /* Reduce padding on small screens */
    }
}

/* Adjust card size and font size for mobile */
@media (max-width: 768px) {
    .card {
        width: 300px; /* Full width on mobile */
        padding: 15px; /* Smaller padding for mobile */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        height: auto; /* Make height flexible */
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card h3,
    .card h4 {
        font-size: 16px; /* Smaller font size for headings */
    }

    .card p {
        font-size: 14px; /* Smaller font size for paragraphs */
    }
}

@media (max-width: 450px) {
    .containerBOX {
        grid-template-columns: 1fr; /* Single column on mobile */
        padding: 10px; /* Reduce padding on small screens */
    }
}

@media (max-width: 450px) {
    .card {
        width: 300px; /* Full width on mobile */
        padding: 15px; /* Smaller padding for mobile */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

        height: auto; /* Make height flexible */
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card h3,
    .card h4 {
        font-size: 16px; /* Smaller font size for headings */
    }

    .card p {
        font-size: 14px; /* Smaller font size for paragraphs */
    }
}
