* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.header-section {
    position: absolute;
    top: 20px;
    left: 20px;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    height: 20px;
    width: auto;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 40px 60px 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.content-section {
    flex: 1;
    max-width: 600px;
    text-align: left;
    margin-top: 50px;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #003087;
    margin-bottom: 30px;
    line-height: 1.2;
    white-space: nowrap;
}

.message-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

.thank-you {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    margin-top: 20px;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.triangles-svg {
    width: 400px;
    height: 400px;
    display: block;
}

.bottom-line {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.line-svg {
    width: 100vw;
    height: 8px;
    min-width: 100%;
    object-fit: cover;
}


@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 40px 20px;
    }

    .geometric-pattern {
        top: 0;
        right: -50px;
    }

    .title {
        font-size: 20px;
        white-space: normal;
    }

    .triangles-svg {
        width: 300px;
        height: 300px;
    }

    .header-section {
        top: 20px;
        left: 20px;
    }

    .logo img {
        height: 16px;
    }

    .content-section {
        margin-top: 30px;
    }


}

/* Townsgate-specific styles */
.townsgate-layout {
    background-color: white;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.townsgate-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
}

.townsgate-icon {
    margin: 0 auto 40px auto;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.townsgate-layout .header-section {
    position: absolute;
    top: 20px;
    left: 20px;
    margin-bottom: 0;
}

.townsgate-layout .logo {
    margin-bottom: 0;
}

.townsgate-layout .logo img {
    height: 40px;
    width: auto;
}

.townsgate-layout .content-section {
    margin-top: 0;
    max-width: none;
    text-align: center;
}

.townsgate-layout .title {
    font-family: 'Baskerville', serif;
    font-size: 45px;
    font-weight: 400;
    color: #333333;
}

.townsgate-layout .message-text {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}

.townsgate-layout .thank-you {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}

.townsgate-layout .geometric-pattern {
    display: none;
}

.townsgate-layout .triangles-svg {
    display: none;
}

@media (max-width: 768px) {
    .townsgate-card {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .townsgate-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 30px;
    }

    .townsgate-layout .logo img {
        height: 32px;
    }

    .townsgate-layout .title {
        font-size: 32px;
    }
}