@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    color: #333333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

header {
    width: 100%;
    padding: 18px 0px 15px 18px;
    background-color: #f0f0f0;
}

.logo-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo, .logo-powered {
    max-width: 120px;
}

.logo img, .logo-powered img {
    max-width: 100%;
    height: auto;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.cta-button {
    display: block;
    background-color: #0095ff;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s;
    text-align: center;
    width: 100%;
    max-width: 240px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto;
}

.cta-button:hover {
    background-color: #0077cc;
}

.content-box {
    border: 8px solid #e8f3e8;
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    max-width: 100%;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.content-box h2 {
    color: #00a19a;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.content-box p {
    color: #999999;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.content-box .cta-button {
    background-color: #ff6600;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    text-transform: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.content-box .cta-button:hover {
    background-color: #e65c00;
}

@media (min-width: 768px) {
    .content-box {
        max-width: 600px;
    }

    .content-box h2 {
        font-size: 32px;
    }

    .content-box p {
        font-size: 16px;
    }

    .content-box .cta-button {
        font-size: 18px;
        padding: 15px 40px;
    }
}

.ad-container {
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ad-label {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-bottom: 5px;
}

.adsbygoogle {
    display: block;
    margin-bottom: 20px;
}

.ad-wrapper {
    width: 100%;
    overflow: hidden;
}

.content {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    font-size: 1.2em;
    margin-top: 0;
    font-weight: 600;
}

p {
    line-height: 1.6;
}

.ad {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 10px;
    font-size: 0.9em;
    color: #666;
    width: 100%;
    height: 100%;
}

.ad-300x250 {
    min-height: 250px;
}

.ad-320x50 {
    min-height: 50px;
}

.assistance-box {
    border: 8px solid #e8f3e8;
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    max-width: 100%; /* Changed from fixed width to 100% */
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-sizing: border-box; /* Ensure padding is included in width */
}

.assistance-box h2 {
    color: #00a19a;
    font-size: 24px; /* Smaller font size for mobile */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.assistance-box p {
    color: #999999;
    font-size: 14px; /* Slightly smaller for mobile */
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-align: center;
}

.assistance-box .cta-button {
    background-color: #ff6600;
    color: #ffffff;
    padding: 15px 30px; /* Slightly reduced padding */
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px; /* Slightly smaller for mobile */
    font-weight: bold;
    display: inline-block;
    text-transform: none;
    white-space: nowrap; /* Prevent button text from wrapping */
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .assistance-box {
        max-width: 600px; /* Set max-width for larger screens */
    }

    .assistance-box h2 {
        font-size: 32px; /* Larger font size for desktop */
    }

    .assistance-box p {
        font-size: 16px;
    }

    .assistance-box .cta-button {
        font-size: 24px;
        padding: 15px 40px;
    }
}

.congratulations {
    text-align: center;
    color: #0a2c2a; /* Same teal color as the headings */
    font-size: 36px;
    font-weight: bolder;
    margin: 20px auto; /* Changed from margin-bottom to margin */
    text-transform: uppercase;
    max-width: 100%; /* Ensure it doesn't exceed the width of its container */
    padding: 0 15px; /* Add some padding on the sides for mobile */
    box-sizing: border-box; /* Include padding in the width calculation */
}

@media (max-width: 768px) {
    .congratulations {
        font-size: 28px; /* Slightly smaller on mobile */
    }
}

.curvy-arrow-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.curvy-arrow {
    position: absolute;
    top: 60px; /* Adjust based on your layout */
    right: 20px;
    width: 150px;
    height: 300px;
    opacity: 0;
    animation: fadeInOut 3s infinite;
}

.curvy-arrow path {
    stroke-dashoffset: 500;
    animation: drawArrow 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

@keyframes drawArrow {
    0% {
        stroke-dashoffset: 500;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.highlight-container {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
}

.main-headline {
    text-align: center;
    color: #045753;
    font-size: 36px;
    font-weight: 900;
}

.dynamic-cta-button {
    background-color: #ff6600;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    text-transform: none;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.dynamic-cta-button:hover {
    background-color: #e65c00;
}

@media (min-width: 768px) {
    .dynamic-cta-button {
        font-size: 24px;
        padding: 15px 40px;
    }
}

img {
    max-width: 100%;
    height: auto;
}