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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 21px;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
}

.page-wrapper {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.content-container {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
}

.layout-wrapper {
    display: table;
    width: 100%;
    table-layout: auto;
}

.table-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    vertical-align: top;
}

.navbar {
    background: #ffffff;
    border-bottom: 2px solid #B128C3;
    position: relative;
    width: 100%;
    display: table;
    table-layout: fixed;
}

.nav-container {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    table-layout: fixed;
    padding: 16px 0;
}

.nav-row {
    display: table-row;
}

.nav-cell-logo {
    display: table-cell;
    vertical-align: middle;
    width: 30%;
}

.nav-cell-menu {
    display: table-cell;
    vertical-align: middle;
    width: 70%;
    text-align: right;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #B128C3;
    text-decoration: none;
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: #B128C3;
    cursor: pointer;
    position: absolute;
    right: 26px;
    top: 16px;
    z-index: 1000;
}

.main-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

.nav-list {
    display: table;
    table-layout: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    float: right;
}

.nav-item {
    display: table-cell;
    vertical-align: middle;
    padding: 0 16px;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #B128C3;
}

.nav-link.active {
    color: #B128C3;
    font-weight: 600;
}

.masthead {
    width: 100%;
    display: table;
    table-layout: fixed;
    min-height: 500px;
    background: linear-gradient(135deg, #B128C3 0%, #5A2461 100%);
    position: relative;
    overflow: hidden;
}

.masthead-row {
    display: table-row;
}

.masthead-cell-text {
    display: table-cell;
    vertical-align: middle;
    width: 55%;
    padding: 68px 42px;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
    background: #B128C3;
}

.masthead-cell-image {
    display: table-cell;
    vertical-align: middle;
    width: 45%;
    padding: 68px 42px;
    background-size: cover;
    background-position: center;
}

.masthead h1 {
    font-size: 67px;
    color: #ffffff;
    margin-bottom: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.masthead p {
    font-size: 28px;
    color: #E07DED;
    margin-bottom: 42px;
    line-height: 1.4;
}

.contact-button {
    display: inline-block;
    padding: 16px 42px;
    background: #ffffff;
    color: #B128C3;
    text-decoration: none;
    font-size: 21px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}

.contact-button:hover {
    background: #E07DED;
    color: #ffffff;
    transform: translateY(-2px);
}

.article-section {
    width: 100%;
    display: table;
    table-layout: fixed;
    padding: 68px 0;
}

.detail-section {
    width: 100%;
    display: table;
    table-layout: fixed;
    padding: 68px 0;
    background: #f0f0f0;
}

.information-area {
    width: 100%;
    display: table;
    table-layout: fixed;
    padding: 110px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 68px;
}

.section-header h2 {
    font-size: 50px;
    color: #B128C3;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    font-size: 21px;
    color: #5A2461;
    max-width: 700px;
    margin: 0 auto;
}

.content-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 26px;
}

.content-row {
    display: table-row;
}

.content-cell {
    display: table-cell;
    vertical-align: top;
    width: 33.33%;
}

.content-card {
    background: #ffffff;
    padding: 42px;
    border: 2px solid #E07DED;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(177, 40, 195, 0.15);
}

.content-card h3 {
    font-size: 28px;
    color: #B128C3;
    margin-bottom: 16px;
    font-weight: 600;
}

.content-card p {
    font-size: 16px;
    color: #333333;
    line-height: 1.7;
}

.feature-panel {
    background: #ffffff;
    padding: 42px;
    border-left: 4px solid #B128C3;
    margin-bottom: 26px;
    transition: background 0.3s;
}

.feature-panel:hover {
    background: #f0f0f0;
}

.feature-panel h3 {
    font-size: 28px;
    color: #B128C3;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-panel p {
    font-size: 16px;
    color: #333333;
    line-height: 1.7;
}

.information-box {
    background: #5A2461;
    color: #ffffff;
    padding: 42px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 26px;
}

.information-box h3 {
    font-size: 28px;
    color: #E07DED;
    margin-bottom: 16px;
    font-weight: 600;
}

.information-box p {
    font-size: 16px;
    line-height: 1.7;
}

.section-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 26px;
}

.grid-row-featured {
    display: table-row;
}

.grid-cell-large {
    display: table-cell;
    vertical-align: top;
    width: 66.66%;
}

.grid-cell-small-wrapper {
    display: table-cell;
    vertical-align: top;
    width: 33.33%;
}

.grid-cell-small-inner {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.grid-row-small {
    display: table-row;
}

.grid-cell-small {
    display: table-cell;
    vertical-align: top;
    padding-bottom: 26px;
}

.detail-card {
    background: #ffffff;
    padding: 42px;
    border: 2px solid #B128C3;
    border-radius: 6px;
    height: 100%;
}

.detail-card h3 {
    font-size: 28px;
    color: #B128C3;
    margin-bottom: 16px;
    font-weight: 600;
}

.detail-card p {
    font-size: 16px;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 16px;
}

.action-link {
    display: inline-block;
    padding: 10px 26px;
    background: #B128C3;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s;
}

.action-link:hover {
    background: #5A2461;
}

.accordion-section {
    width: 100%;
    display: table;
    table-layout: fixed;
    padding: 68px 0;
}

.accordion-item {
    background: #ffffff;
    border: 2px solid #E07DED;
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    padding: 26px 42px;
    cursor: pointer;
    display: table;
    width: 100%;
    table-layout: fixed;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f0f0f0;
}

.accordion-title {
    display: table-cell;
    vertical-align: middle;
    width: 90%;
    font-size: 28px;
    color: #B128C3;
    font-weight: 600;
}

.accordion-icon {
    display: table-cell;
    vertical-align: middle;
    width: 10%;
    text-align: right;
    font-size: 28px;
    color: #B128C3;
}

.accordion-content {
    padding: 0 42px 26px 42px;
    display: none;
}

.accordion-content.active {
    display: block;
}

.accordion-content p {
    font-size: 16px;
    color: #333333;
    line-height: 1.7;
}

.contact-form-wrapper {
    width: 100%;
    display: table;
    table-layout: fixed;
    padding: 68px 0;
}

.form-container {
    display: table;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    table-layout: fixed;
}

.submit-form {
    background: #ffffff;
    padding: 42px;
    border: 2px solid #E07DED;
    border-radius: 6px;
}

.form-row {
    margin-bottom: 26px;
}

.form-label {
    display: block;
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 2px solid #E07DED;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #B128C3;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    padding: 16px 42px;
    background: #B128C3;
    color: #ffffff;
    border: none;
    font-size: 21px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.form-submit:hover {
    background: #5A2461;
    transform: translateY(-2px);
}

.footer {
    width: 100%;
    display: table;
    table-layout: fixed;
    background: #5A2461;
    color: #ffffff;
    padding: 68px 0 42px 0;
}

.footer-content {
    display: table;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    table-layout: fixed;
}

.footer-row {
    display: table-row;
}

.footer-cell {
    display: table-cell;
    vertical-align: top;
    width: 33.33%;
    padding: 0 26px;
}

.footer h3 {
    font-size: 28px;
    color: #E07DED;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer p,
.footer a {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.7;
    text-decoration: none;
}

.footer a:hover {
    color: #E07DED;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    width: 100%;
    display: table;
    table-layout: fixed;
    background: #B128C3;
    color: #ffffff;
    padding: 26px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 16px;
    margin: 0;
}

.image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 26px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 26px;
    overflow: hidden;
    border-radius: 6px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1050px) {
    .masthead-cell-text {
        width: 60%;
        padding: 42px 26px;
    }

    .masthead-cell-image {
        width: 40%;
        padding: 42px 26px;
    }

    .masthead h1 {
        font-size: 50px;
    }

    .masthead p {
        font-size: 21px;
    }

    .content-cell {
        width: 50%;
    }
}

@media screen and (max-width: 850px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.visible {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        display: block;
        float: none;
    }

    .nav-item {
        display: block;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        display: block;
        padding: 16px 26px;
    }

    .masthead {
        display: block;
        min-height: 400px;
    }

    .masthead-cell-text,
    .masthead-cell-image {
        display: block;
        width: 100%;
        padding: 42px 26px;
        clip-path: none;
    }

    .masthead h1 {
        font-size: 37px;
    }

    .masthead p {
        font-size: 21px;
    }

    .content-table {
        display: block;
        border-spacing: 0;
    }

    .content-row {
        display: block;
    }

    .content-cell {
        display: block;
        width: 100%;
        margin-bottom: 26px;
    }

    .section-grid {
        display: block;
        border-spacing: 0;
    }

    .grid-cell-large,
    .grid-cell-small-wrapper {
        display: block;
        width: 100%;
        margin-bottom: 26px;
    }

    .footer-row {
        display: block;
    }

    .footer-cell {
        display: block;
        width: 100%;
        margin-bottom: 42px;
        padding: 0;
    }
}

@media screen and (max-width: 575px) {
    body {
        font-size: 16px;
    }

    .masthead h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .masthead p {
        font-size: 16px;
        margin-bottom: 26px;
    }

    .section-header h2 {
        font-size: 37px;
    }

    .content-card,
    .feature-panel,
    .information-box,
    .detail-card {
        padding: 26px;
    }

    .content-card h3,
    .feature-panel h3,
    .information-box h3,
    .detail-card h3 {
        font-size: 21px;
    }

    .accordion-header {
        padding: 16px 26px;
    }

    .accordion-title {
        font-size: 21px;
    }

    .accordion-content {
        padding: 0 26px 16px 26px;
    }

    .submit-form {
        padding: 26px;
    }

    .contact-button,
    .form-submit {
        width: 100%;
        text-align: center;
    }
}
