body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #ffffff;
}

.hero {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
    display: block;
    overflow: hidden;
}

.hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.container {
    padding: 0;
    box-sizing: border-box;
    width: 650px;
    max-width: 90%;
    margin: 0 auto;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

h1 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 22px;
    margin-bottom: 5px;
    color: #0b0050;
}

.sub {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 600;
    color: #111;
}

.colour {
    color: rgb(217, 48, 37);
}

.field {
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    height: 54px;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    outline: none;
    transition: border-color 0.2s ease;
}

.field:focus {
    border-color: #3b148d;
}

.field-wrap {
    margin-bottom: 12px;
}

.field-wrap .field {
    margin-bottom: 0;
}

.field-invalid {
    border-color: #d93025 !important;
}

.field-error {
    display: block;
    font-size: 12px;
    color: #d93025;
    font-weight: 600;
    margin-top: 4px;
    min-height: 0;
}

.row {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 12px;
}

/* ── Custom Country Picker ── */
.country-picker {
    position: relative;
}

.country-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: #fff;
    text-align: left;
    font-family: inherit;
}

.country-selected .cs-flag {
    font-size: 20px;
    line-height: 1;
}

.country-selected .cs-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-selected .cs-dial {
    color: #666;
    font-weight: 600;
    font-size: 12px;
}

.country-selected .cs-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #666;
    transition: transform 0.2s ease;
}

.country-selected:focus {
    border-color: #3b148d;
}

.country-dropdown.open ~ .country-selected .cs-arrow,
.country-picker .country-dropdown.open + .country-selected .cs-arrow {
    transform: rotate(180deg);
}

.country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    width: 320px;
    max-height: 300px;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 100;
    overflow: hidden;
    animation: cdSlideIn 0.15s ease-out;
}

.country-dropdown.open {
    display: flex;
    flex-direction: column;
}

@keyframes cdSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cd-search-wrap {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.cd-search {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.cd-search:focus {
    border-color: #3b148d;
}

.cd-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    flex: 1;
}

.cd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.12s;
    font-size: 14px;
    color: #333;
}

.cd-item:hover {
    background: #f0ecf7;
}

.cd-flag {
    font-size: 20px;
    line-height: 1;
    width: 26px;
    text-align: center;
}

.cd-name {
    flex: 1;
    font-weight: 500;
}

.cd-dial {
    color: #888;
    font-size: 13px;
    font-weight: 500;
}

.cd-separator {
    height: 1px;
    background: #e0e0e0;
    margin: 4px 14px;
    list-style: none;
}

.locate {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: inline-block;
    margin-top: 6px;
    color: #35107d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.locate:hover {
    text-decoration: underline;
}

.space {
    height: 120px;
}

.divider {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-top: 1px solid #d9d9d9;
    margin-bottom: 35px;
}

h2 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 22px;
    margin-bottom: 30px;
    color: #10005a;
}

.content p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #222;
    font-weight: 600;
}

.check {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-top: 40px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    color: #222;
    cursor: pointer;
}

.check input {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.submit-area {
    text-align: right;
    margin-top: 50px;
    margin-bottom: 50px;
}

.submit {
    margin: 0;
    box-sizing: border-box;
    border: none;
    background: #3b148d;
    color: #fff;
    padding: 13px 32px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.submit:hover {
    background: #2b0e6e;
}

@media (max-width: 650px) {
    .row {
        grid-template-columns: 1fr;
    }
}
