* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
    overflow-x: hidden;
}
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
a {
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #0056b3;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
header {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}
.logo {
    text-align: center;
    margin-bottom: 20px;
}
.logo img {
    width: 180px; 
    height: auto;
    transition: transform 0.5s ease-in-out;
}
.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 10px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}
.slogan {
    text-align: center;
    font-size: 1.2rem;
    color: #008000;
    margin-bottom: 20px;
    font-weight: 600;
}
.contact-intro {
    text-align: center;
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
    padding: 10px 20px;
    border-left: 4px solid #008000;
    background-color: #f2f2f2;
}
.menu-section {
    background-color: #003366;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.menu-title{
    color: #fff;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: block !important;
}
.menu-list {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}
.menu-list li {
    margin: 0 15px;
}
.menu-list a {
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: block;
}
.menu-list a:hover {
    background-color: #fff;
    color: #003366;
}
.sub-menu {
    display: none;
    position: absolute;
    background-color: #003366;
    border-radius: 5px;
    z-index: 11;
    white-space: nowrap;
    min-width: 200px;
}
.menu-list > li:hover > .sub-menu{
    display: block;
    animation: menuAnimation 0.5s;
}
.sub-menu li {
    margin: 0;
}
.sub-menu a {
    padding: 10px 15px;
    display: block;
    border: none;
}
.section-1,
.section-2,
.section-3,
.section-4 {
    margin-bottom: 50px;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.section-title {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 30px;
    text-align: center;
}
.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.text-content {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}
.text-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.text-content b {
    color: #008000;
}
.image-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 300px;
}
.section-image {
    width: calc(50% - 20px);
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    height: 300px; 
}
.section-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.section-2 .section-image {
    height: 250px;
}
.section-3 .section-image{
    width: 100%;
    height: 350px;
}
.section-4 .section-image{
    width: calc(50% - 20px);
    height: 350px;
}
.contact {
    margin-bottom: 50px;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.contact p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
form {
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: box-shadow 0.3s ease;
}
input[type="email"]:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 5px #008000;
}
textarea {
    resize: vertical;
    min-height: 150px;
}
.contact-link {
    background-color: #003366;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.contact-link:hover {
    background-color: #0056b3;
}
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    clear: both;
}
footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
footer a {
    color: #fff;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #008000;
    text-decoration: underline;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes menuAnimation {
    from{
        opacity: 0;
        transform: translateY(-20px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}
.section-1 .text-content {
    animation: fadeIn 1s ease 0.2s both;
}
.section-1 .image-content {
    animation: slideInRight 1s ease 0.5s both;
}
.section-2 .text-content {
    animation: fadeIn 1s ease 0.2s both;
}
.section-2 .image-content {
    animation: slideInLeft 1s ease 0.5s both;
}
.section-3 .text-content {
    animation: fadeIn 1s ease 0.2s both;
}
.section-3 .image-content {
    animation: slideInRight 1s ease 0.5s both;
}
.section-4 .text-content {
    animation: fadeIn 1s ease 0.2s both;
}
.section-4 .image-content {
    animation: slideInLeft 1s ease 0.5s both;
}
@media (max-width: 768px) {
    .container {
        width: 90%;
    }
    .page-title {
        font-size: 2rem;
    }
    .slogan {
        font-size: 1rem;
    }
    .menu-list {
        flex-direction: column;
        align-items: center;
    }
    .menu-list li {
        margin: 10px 0;
    }
    .sub-menu {
        position: static;
        display: none;
        width: 100%;
    }
    .menu-list > li:hover > .sub-menu{
        display: block;
        animation: none;
    }
    .content {
        flex-direction: column;
    }
    .section-image {
        width: 100%;
        height: auto;
    }
    .section-2 .section-image,
    .section-4 .section-image{
        height: auto;
    }
}
