/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #444;
    transition: color 0.3s ease;
}

a:hover {
    color: #0077cc;
}

header {
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    background-color: #f8f9fa;
}

header>div {
    display: flex;
    text-align: right;
    flex-direction: row;
    display: inline-block;
    vertical-align: middle;
}


header ul {
    display: flex;
    flex-direction: row;
    text-align: right;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    padding-left: 0;
}

header ul li {
    margin: 0 1rem;
    text-align: right;
    font-size: 1rem;
    font-weight: 500;
}

header input[type="text"] {
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 20px;
}

main section:first-of-type {
    position: relative;
    text-align: center;
    background-color: #f0f8ff;
}

main section:first-of-type img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

main section:first-of-type p {
    position: absolute;
    text-align: left;
    color: #fff;
    font-size: 3rem;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background-image: url(/img/bg.pngf);
    padding: 1.5rem;
    border-radius: 10px;
    font-weight: 500;
}

main section:first-of-type button {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
    background-color: #e5ebee;
    color: #693082;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

main section:first-of-type button:hover {
    background-color: #005fa3;
}

main section:nth-of-type(2),
main section:nth-of-type(3) {
    padding: 2rem;
    background-color: #fdfdfd;
}

main section ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-around;
    gap: 1rem;
    padding: 0;
}

main section ul li {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    text-align: center;
    font-size: 0.95rem;
    width: 100px;
}

main section ul li img {
    width: 40px;
    height: auto;
    margin-bottom: 0.5rem;
}

footer {
    margin-top: 3rem;
    padding: 1rem 2rem;
    flex-direction: column;
    background-color: #f0f0f0;
    text-align: center;
    font-weight: 500;
    font-size: 0.85rem;
    color: #666;
}