/* Base container */
.sc-widget-container {
    background-color: #F8F9FB;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    padding-bottom: 4rem;
    position: relative;
}
.sc-hero-container{
    background: linear-gradient(180deg, #248C81 0%, #12574F 100%);
    width: 100%;
    height: 80%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-bottom-left-radius: 50% 30%;
    border-bottom-right-radius: 50% 30%;
}

/* Curved Hero Section */
.sc-hero-section {
    position: relative;
    width: 100%;
    /* Gradient matching the screenshot */
    padding-top: 2rem;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Header bar */
.sc-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
}

.sc-return-link {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.sc-return-link:hover {
    opacity: 0.8;
}

.sc-logo {

    display: flex;
    flex-direction: column;
    align-items: center;
}

.sc-logo img{
    height: 120px;
}

.sc-lang-selector {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    padding: 0.4rem 1rem;
    color: white;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* Hero Content */
.sc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.sc-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

/* The woman image wrapper */
.sc-hero-image-wrapper {
    display: flex;
    justify-content: center;
}
.sc-hero-image-wrapper img{
    height: 420px;
    width: 100%;
}

.sc-hero-woman {
    max-width: 450px;
    height: auto;
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto;
}

/* Floating Icons (Placeholder styling) */
.sc-floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 3;
    /* Optional animation */
    animation: float 4s ease-in-out infinite;
}

.sc-floating-icon img {
    width: 30px;
    height: 30px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Form Card */
.sc-form-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;

}

.sc-form-card {
    position: absolute;
    top: 70%;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 99;
    overflow-x: hidden;
}

.sc-form-title {
    color: #475569;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

/* Form Layout inside Card */
.sc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.sc-form-group {
    display: flex;
    flex-direction: column;
}

.sc-form-group.full-width {
    grid-column: span 2;
}

.sc-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.sc-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 9999px; /* pill shape for inputs in screenshot */
    padding: 0.8rem 1.2rem;
    background: white;
    transition: all 0.2s ease;
}

.sc-input-container:focus-within {
    border-color: #248C81;
    box-shadow: 0 0 0 3px rgba(36, 140, 129, 0.1);
}

.sc-input-icon {
    width: 22px;
    height: 22px;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-input-icon img,
.sc-input-icon svg {
    max-width: 100%;
    max-height: 100%;
    color: #248C81;
}

.sc-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

.sc-input::placeholder {
    color: #475569;
    font-weight: 400;
}

/* Terms Checkbox */
.sc-terms-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.sc-checkbox {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 4px;
    border: 1px solid #CBD5E1;
    accent-color: #248C81;
}

.sc-terms-text {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.sc-terms-text a {
    color: #1F2937;
    font-weight: 700;
    text-decoration: underline;
}

/* Submit Button */
.sc-submit-btn {
    width: 100%;
    background: #F59E0B; /* Orange from screenshot */
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.sc-submit-btn:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.4);
}

.sc-footer-note {
    text-align: center;
    font-size: 0.75rem;
    color: #94A3B8;
    margin-top: 1.5rem;
}

.yellow-header{
    height: 10px;
    width: 100%;
    background: #F59E0B;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* Responsive */
@media (max-width: 768px) {
    .sc-form-grid {
        grid-template-columns: 1fr;
    }
    .sc-form-group.full-width {
        grid-column: span 1;
    }
    .sc-hero-title {
       display: none;
    }
    .sc-form-card {
        padding: 2rem 1rem;
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }
    .sc-header-bar {
        padding: 0 1rem;
    }
    .sc-hero-image-wrapper img {
        height: 300px;
        width: 80%;
    }
    .sc-form-title {
        font-size: 1rem;
    }
    .sc-submit-btn {
        font-size: 0.9rem;
    }
}