:root {
    /* Theme Accents */
    --primary-blue: #059669;
    --primary-blue-hover: #047857;
    --forest-green: #064e3b;
    --danger-red: #e11d48;

    /* Text and Background Colors */
    --text-main: #1a2333;
    --text-muted: #777777;
    --text-placeholder: #a5a5a5;
    --bg-default: #ffffff;

    /* Border Colors */
    --border-default: #d4d4d4;
    --border-light: #f2f2f2;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    min-height: 100vh;

    /* Anti-Copy Protection: Disable text selection */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-logo {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--forest-green);
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
}

.header-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
}

.header-link:hover {
    text-decoration: underline;
}

/* Hero Image Styles */
.hero-image-container {
    width: 100%;
    max-width: 950px;
    margin: 40px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 768px) {
    .hero-image-container {
        margin: 25px auto 0;
    }
    .hero-image {
        border-radius: 12px;
    }
}

/* Info Section Styles */
.info-section {
    max-width: 950px;
    margin: 40px auto 0;
    padding: 0 20px;
    color: var(--text-main);
}

.description-text {
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #4a5568;
    /* Slightly softer text for description */
}

.documents-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
}

.documents-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.documents-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #4a5568;
}

.documents-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a5568;
    font-size: 18px;
    line-height: 1;
}

.note-text {
    text-align: center;
    font-size: 15px;
    color: #4a5568;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Form Styles */
.form-container {
    max-width: 950px;
    margin: 60px auto;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    animation: slideUpFade 0.7s ease-out forwards;
}

.form-group {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.form-group label .required {
    color: var(--danger-red);
}

.form-control {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    text-align: center;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: #a7f3d0;
}

.form-control::placeholder {
    color: var(--text-placeholder);
    font-weight: 400;
}

/* Allow selection inside form inputs and textareas so users can type */
input,
textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* Select Dropdown Styles (Native Hidden, Custom Shown) */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--text-main);
    font-size: 15px;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-select:hover {
    border-color: var(--primary-blue);
}

.custom-select::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease-in-out;
}

.custom-select.open::after {
    transform: translateY(-10%) rotate(225deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    z-index: 10;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.custom-select.open+.custom-options {
    display: block;
}

.custom-option {
    padding: 12px 15px;
    color: #4a5568;
    cursor: pointer;
    font-size: 15px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
    transition: background-color 0.2s;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover,
.custom-option.selected {
    color: var(--primary-blue);
    background-color: #f0fdf4;
}

/* Hide actual native select */
select.native-select {
    display: none;
}

/* Row & Column Grid System */
.row-container {
    width: 100%;
    margin-bottom: 35px;
}

.row {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
}

.col {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    /* Forces stack on very narrow screens */
}

.row-container .form-group {
    margin-bottom: 0px;
}

/* Specific Input Wrappers */
.mobile-input-wrapper {
    position: relative;
    width: 100%;
}

.mobile-input-wrapper .flag {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    pointer-events: none;
}

/* Button Styles */
.btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    margin-bottom: 50px;
}

.btn-container-step2 {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.btn-next,
.btn-back {
    color: white;
    border: none;
    padding: 14px 46px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
    transition: background-color 0.2s, transform 0.1s;
    line-height: 1.5;
}

.btn-next {
    background-color: var(--primary-blue);
}

.btn-next:hover {
    background-color: var(--primary-blue-hover);
}

.btn-back {
    background-color: var(--primary-blue);
}

.btn-back:hover {
    background-color: var(--primary-blue-hover);
}

.btn-next:active,
.btn-back:active {
    transform: scale(0.98);
}

/* Age counter style */
.age-label-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-end;
    margin-bottom: 10px;
}

.age-label-container label {
    margin-bottom: 0;
    width: 100%;
    text-align: center;
    position: relative;
    left: 15px;
    /* Offset to keep visually centered despite counter */
}

.char-counter {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .header {
        padding: 15px 5%;
        flex-direction: column;
        gap: 10px;
    }

    .form-container {
        margin: 40px auto;
    }

    .row {
        gap: 25px;
        flex-direction: column;
    }

    .col {
        min-width: 100%;
    }

    .row-container .form-group {
        margin-bottom: 0;
    }

    .row-container {
        margin-bottom: 35px;
    }

    .btn-container,
    .btn-container-step2 {
        justify-content: space-between;
        gap: 15px;
    }

    .btn-next,
    .btn-back {
        width: 100%;
        text-align: center;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .age-label-container label {
        left: 0;
        /* Reset offset on mobile */
    }
}

/* SEO Content Section Styles */
.seo-section {
    max-width: 950px;
    margin: 60px auto;
    padding: 50px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    animation: fadeUp 1s ease-out forwards;
}

.seo-heading {
    text-align: center;
    color: var(--primary-blue);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.seo-subheading {
    text-align: center;
    color: var(--primary-blue);
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 20px;
}

.seo-p {
    text-align: center;
    color: #4a5568;
    /* Slate gray styling for readability */
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
    font-weight: 400;
}

.seo-p strong {
    font-weight: 700;
    color: #2d3748;
    /* Darker inline bold */
}

.seo-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seo-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.seo-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

/* Step 3 Summary Section */
.summary-section {
    max-width: 700px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
}

.summary-item {
    display: flex;
    margin-bottom: 8px;
    align-items: flex-start;
}

.summary-item .bullet {
    flex: 0 0 50px;
    text-align: right;
    padding-right: 15px;
    font-size: 20px;
    color: #3e5066;
    line-height: 1;
}

.summary-item .text {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.summary-item .text strong {
    color: #1a2333;
}

.summary-item .dummy {
    flex: 0 0 50px;
}

.summary-item-hindi {
    display: flex;
    margin-top: 15px;
    align-items: flex-start;
}

.summary-item-hindi .bullet {
    flex: 0 0 50px;
    text-align: right;
    padding-right: 15px;
    font-size: 20px;
    color: #3e5066;
    line-height: 1;
}

.summary-item-hindi .text {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #1a2333;
    font-weight: 700;
    line-height: 1.5;
}

.summary-item-hindi .dummy {
    flex: 0 0 50px;
}

/* File Upload Styles */
.upload-group {
    margin-bottom: 30px;
    width: 100%;
}

.upload-group>label {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #1a2333;
    margin-bottom: 15px;
}

.upload-group label .required {
    color: var(--danger-red);
}

.upload-area {
    border: 2px dashed #94a3b8;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.upload-area:hover {
    background-color: #f0fdf4;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.upload-area svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}

.upload-area p {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

.upload-area .choose-text {
    color: var(--primary-blue);
    font-weight: 600;
}

/* File Preview Styles */
.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5px;
    margin-top: 10px;
    background-color: transparent;
}

.file-preview-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-preview-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.file-info {
    display: flex;
    flex-direction: column;
}

.file-name-text {
    font-size: 12px;
    color: #1a2333;
    font-weight: 700;
    word-break: break-all;
    max-width: 400px;
}

.file-size-text {
    font-size: 11px;
    color: #4a5568;
    margin-top: 3px;
}

.btn-remove {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0;
    margin-left: 10px;
}

.btn-remove:hover {
    background-color: #0b5ed7;
}

/* Success Message Styles */
.success-message {
    background-color: #d1fae5;
    /* Light emerald background */
    padding: 20px 25px;
    margin: 30px auto;
    max-width: 950px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1);
}

.success-en,
.success-hi {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.success-en {
    margin-bottom: 8px;
}

/* FAQ Accordion Styles */
.faq-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-radius: 10px;
}

/* Matching the first image EXACTLY where the first two have light grey backgrounds initially */
.faq-item:nth-child(1),
.faq-item:nth-child(2) {
    background-color: #f8fafc;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pure white circle for the first two items */
.faq-icon {
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    display: none;
    /* hidden by default */
}

/* Only show the icon on the first two items as in the screenshot */
.faq-item:nth-child(1) .faq-icon,
.faq-item:nth-child(2) .faq-icon {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #ffffff;
    padding: 0 20px;
}

.faq-item.active {
    background-color: #ffffff;
    /* Turns white when active, as in Image 2 */
}

.faq-item.active .faq-question {
    background-color: #ffffff;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
}

.faq-item.active .faq-icon {
    display: none;
    /* Hide icon when open, matching Image 2 */
}

.faq-answer p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #4a5568;
}

/* Simple Footer Styles */
.footer {
    background-color: #f8fafc;
    border-top: 1px solid var(--border-light);
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 950px;
    margin: 0 auto;
}

.footer p {
    color: #4a5568;
    font-size: 14px;
    margin: 5px 0;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
    color: var(--primary-blue-hover);
}

/* Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}