* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color:  #ffffff;
}

.header {
    position: relative;
    width: 100%;
    height: 120px;
    background-color: #00448c;
    color: white;
    padding: 20px 0;
    text-align: center;
    border-top: 10px;
    margin-top: 0px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
}

.menu {
    display: flex;
    align-items: center;
}

.menu a {
    height: 50px;
    width: 50px;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 120px;
    right: 0;
    background-color: #00448c;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
}

.menu:hover .nav-menu {
    opacity: 1;
    visibility: visible;
    display: block;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 10px 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    transition:  0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.contact-button {
    background: none;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    margin-right: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition:  0.3s ease;
    text-decoration: none;
    height: 30px;
    width: 30px;
}

.contact-button a {
    margin-top: 20px;
}

.contact-button:hover {
    background: white;
    color: #003366;
}

.icons {
    width: 40px;
    height: 40px;
    margin-top: 35px;
    margin-right: 70px;
    cursor: pointer;
    display: flex;
}

.icons img {
    height: 50px;
    margin-top: -20px;
    filter: invert(100%) brightness(200%);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background-color: transparent;
}

.icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.logo-name p {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
    color: #2468a1;
    position: absolute;
    top: -20px;
}

.header h1 {
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    left: 20px;
    top: 40px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: #ffffff;
    box-sizing: border-box;
    width: 100%;
}


.text-section {
    width: 70%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)80%);
    padding: 20px;
    color: #002d77;
    font-size: 2rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    word-break: break-all;
}

.text-section h1 {
    font-size: 50px;
    font-weight: bold;
    margin: 0 0 10px;
    max-width: 100%;
    width: 100%;
}

.image-section {
    max-width: 40%;
    position: relative;
}

.image-section img {
    width: 700px;
    height: 500px;
    border-radius: 8px;
    margin-left: -80px;
    flex: 1;
    object-fit: fill;
}

.image-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80px;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 2;
}

.main-content {
    display: flex;
    justify-content: space-around;
    max-width: 1300px;
    width: 100%;
    height: 700px;
    padding: 40px 20px;
    margin-top: 20px;
    gap: 20px;
    position: relative;
    background: url() no-repeat center center;
    background-size: cover;
    border-radius: 10px;
}

.flex-container {
    background-color: rgba(216,216,216,0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 48%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    box-sizing: border-box;

}

.flex-container h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #002d77;
    font-weight: bold;
    margin-bottom: 60px;
    text-align: center;
    margin-left: -60px;
    margin-top: 30px;
}

.flex-container {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: #00448c;
    font-weight: bold;
    text-align: justify;
    margin-top: 40px;
    margin: 10px 0;
    margin-left: 60px;
}

.flex-container p {
    text-align: left;
}



.content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin: 20px 0;
}

.box {
    flex: 1;
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.image-container {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: visible;
    background-color: transparent;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    position: absolute;
    z-index: 2;
    top: -250px;
}

.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 25%;
}

.image-container img {
    width: 20%;
    height: 20%;
    object-fit: cover;
    border: none;
    background-color: transparent;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.portrait {
    width: 200px;
    height: 400px;
    object-fit: cover;
    border: none;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 25%;
    border: 2px solid #e3e3e3;
    padding: 10px;
    background-color: whitesmoke;
    display: block;
    margin: 0;
    margin-left: 50px;
    margin-top: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-around;
}

.footer {
    width: 100%;
    color: #017bc6;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}

.footer-line-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.tc-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
    margin-bottom: 20px;
}

.tc {
    font-size: 50px;
    font-weight: bold;
    color: #002d77;
    margin-right: 10px;
    position: relative;
}

.tc::after {
    content: "";
    position: absolute;
    top: 33%;
    right: -46px;
    transform: translateY(-70%);
    transform: rotate(-35deg);
    width: 30px;
    height: 3px;
    background-color: red;
}

.blue-line {
    width: 80px;
    height: 4px;
    flex: 3px;
    background-color: #002d77;
}


.contact-info {
    align-items: center;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 120px;
    gap: 20px;
    margin: 0 auto;
    padding: 10px 20px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    margin: 0 10px;
    display: flex;
    gap: 10px;
}

.contact-item.logo {
    font-weight: bold;
    font-size: 40px;
    color: #002d77;
}

.contact-item p {
    margin: 5px 0;
    line-height: 1.5;
    font-weight: bold;
    color: #002d77;
}

.contact-info p {
    color: #3296d2;
    font-weight: bold;
    margin-bottom: 100px;
    margin: 0px;
    text-align: justify;
    justify-content: center;
}

.contact-info span {
    color: #05468c;
    font-size: 40px;
    font-weight: bold;
}

.info {
    display: flex;
    margin-right: 10px;
    margin-left: 20px;
    color: blue;
    gap: 10px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 120px;
}

.footer-contact, .footer-phone, .footer-bank, .footer-tax {
    flex: 1;
    min-width: 200px;
}
.footer-contact p, .footer-phone p, .footer-bank p, .footer-tax p {
    margin: 0;
    line-height: 1.5;
}

.footer-contact strong, .footer-phone strong, .footer-bank strong, .footer-tax strong {
    font-weight: bold;
}


@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .menu {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .contact-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .icons img {
        width: 40px;
        height: 40px;
    }

    .content {
        flex-direction: column;
        padding: 20px;
    }

    .text-section {
        width: 100%;
        font-size: 1.5rem;
        text-align: center;
    }

    .image-section img {
        width: 100%;
        height: auto;
    }

    .main-content {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .flex-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }
}