.registration-form-section {
    background-image: url(https://storage.googleapis.com/infiflexnew.appspot.com/6197845178712064);
    text-align: center;
    padding: 9em 2em 5em;
}

.registration-form-section h1 {
    font-weight: 700;
    font-size: 4em;
    line-height: 1.1;
    /* width: 80%; */
    margin: 5px auto 30px;
    color: #1E8999;
}

.registration-form-section h1 span {
    color: #333;
    display: block;
    font-size: 0.8em;
}

.registration-form-section h2 {
    font-weight: 500;
    font-size: 1.9em;
    line-height: 1.1;
    /* width: 80%; */
    margin: auto;
    margin-bottom: 20px;
    color: #555;
}

.registration-form-section h3 {
    font-size: 1.4em;
    color: #333;
    /* width: 70%; */
    margin: 30px auto;
}

.registration-form-section .form-container {
    max-width: 600px;
    margin: 0 auto 20px;
}

.registration-form-section .input-group input {
    height: 50px;
    font-size: 16px;
}

.registration-form-section .btn-generate {
    background: #e6c946;
    color: #333;
    border: none;
    font-weight: 600;
    padding: 12px 25px;
    transition: 0.3s;
}

.registration-form-section .btn-generate:hover {
    background-color: #1E8999;
    transition: .35s ease-in-out;
    cursor: pointer;
    color: #fff;
}

.registration-form-section .tags {
    max-width: 600px;
    margin: 30px auto 0;
}

.extra-tag {
    display: none;
}

.registration-form-section .tags .btn-tag {
    margin: 5px;
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 0.8em;
    background: #f0f0f0;
    border: solid 1px #1E8999;
    color: #737373;
}

.registration-form-section .tags .btn-tag:hover {
    background: #1E8999;
    color: #fff;
    border: none;
}

.error-message {
    margin-top: 20px;
    padding: 6px 10px;
    border: 1px solid #ff4d4f;
    background-color: #fff1f0;
    color: #ff4d4f;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.features-section {
    background-color: #fff;
    padding: 80px 5%;
}

.features-section .features-heading {
    font-size: 40px;
    margin-bottom: 30px;
    color: #0097a7;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    padding-bottom: 0;
    /* opacity: 0; */
    /* animation: fadeInUp 0.8s ease-out forwards; */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* opacity: 0; */
    /* animation: scaleIn 0.6s ease-out forwards; */
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 151, 167, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

/* .feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
} */

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 151, 167, 0.2);
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
    animation: iconPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(0, 151, 167, 0.4));
}

.feature-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-description {
    color: #333;
    line-height: 1.3;
    letter-spacing: 0px;
    font-size: 1.1em;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: #000;
}

/* How It Works Section - Vertical Timeline Design */
.how-it-works-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 5%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 151, 167, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 151, 167, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 40px;
    margin-bottom: 15px;
    color: #0097a7;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 1.4em;
    color: #474747;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Vertical line connecting the dots */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(to bottom, #0097a7, #00bcd4);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(1) {
    transition-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline-dot {
    position: absolute;
    left: 16px;
    top: 8px;
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid #0097a7;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 0 rgba(0, 151, 167, 0.4);
}

.timeline-item.animate-in .timeline-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 151, 167, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 151, 167, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 151, 167, 0);
    }
}

.timeline-content {
    background: white;
    padding: 35px 40px;
    /* border-radius: 12px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #0097a7;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 151, 167, 0.15);
}

.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0097a7 0%, #00bcd4 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.step-title {
    font-size: 2em;
    color: #333;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.step-description {
    font-size: 1.2em;
    color: #666;
    line-height: 1.2;
    margin: 0;
}

.faq-section {
    background-color: #fff;
    padding: 60px 4%;
}

.faq-heading {
    font-weight: 500;
    margin-bottom: 30px;
    color: #000;
    font-size: 40px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.faq-heading span {
    color: #0097a7;
}

.faq-list {
    border-top: 1px solid #ccc;
}

.faq-item {
    border-bottom: 1px solid #ccc;
}

.faq-question {
    position: relative;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 1.4em;
    font-weight: 600;
    padding: 18px 0;
    cursor: pointer;
    outline: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.1;
    color: #0097a7;
}

.faq-icon {
    font-size: 14px;
    transition: transform 0.3s;
    color: #333;
    text-align: right;
}

.faq-icon .down-arrow {
    width: 30%;
}

.faq-item.active .faq-icon .down-arrow {
    transform: rotate(180deg);
}

.faq-answer p {
    display: none;
    padding: 0 0 12px;
    color: #474747;
    font-size: 1.1em;
    line-height: 1.3;
}

.faq-answer p a {
    color: #0097a7;
    text-decoration: none;
}

.faq-answer p a:hover {
    text-decoration: underline;
}

.faq-item.active .faq-answer p {
    display: block;
}

.faq-link {
    display: inline-block;
    margin-top: 25px;
    font-size: 14px;
    color: #0097a7;
    text-decoration: underline;
    cursor: pointer;
}

.faq-link:hover {
    color: #007b8a;
}

@media (max-width: 480px) {
    .registration-form-section {
        padding: 7em 0;
    }

    .registration-form-section h1 {
        font-size: 3em;
    }

    .registration-form-section h2 {
        font-size: 1.6em;
    }

    .how-it-works-section {
        padding: 50px 5%;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 1.2em;
        margin-bottom: 40px;
    }

    .timeline-container::before {
        left: 18px;
    }

    .timeline-item {
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .timeline-dot {
        left: 8px;
        width: 22px;
        height: 22px;
        border-width: 3px;
    }

    .timeline-content {
        padding: 25px 20px;
    }

    .step-badge {
        font-size: 1rem;
        padding: 5px 12px;
    }

    .step-title {
        font-size: 1.4em;
        margin-bottom: 10px;
    }

    .step-description {
        font-size: 0.95em;
        line-height: 1.1;
    }

    .features-section {
        padding: 60px 5%;
    }

    .features-heading {
        font-size: 28px;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 40px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 1.4em;
    }

    .feature-description {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1.4em;
    }

    .faq-answer p {
        font-size: 1em;
    }

    .how-it-works-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 35px;
    }

    .section-subtitle {
        /* font-size: 1.1rem; */
        margin-bottom: 50px;
    }

    .timeline-item {
        padding-left: 60px;
        margin-bottom: 50px;
    }

    .timeline-dot {
        left: 12px;
        width: 26px;
        height: 26px;
    }

    .timeline-container::before {
        left: 24px;
    }

    .timeline-content {
        padding: 30px 30px;
    }

    .step-title {
        font-size: 1.7em;
    }

    .step-description {
        font-size: 1.2em;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1800px) {
    .registration-form-section {
        padding: 10em 2em 7em;
    }

    .registration-form-section h1 {
        font-size: 4.5em;
        margin: 20px auto 35px;
    }

    .registration-form-section h2 {
        font-size: 2.1em;
        margin-bottom: 30px;
    }

    .registration-form-section h3 {
        font-size: 1.6em;
    }

    .registration-form-section .form-container,
    .registration-form-section .tags {
        max-width: 800px;
    }

    .registration-form-section .tags .btn-tag {
        font-size: 1.2em;
    }

    .faq-heading {
        font-size: 55px;
    }

    .faq-question {
        font-size: 2.2em;
    }

    .faq-answer p {
        font-size: 1.8em;
    }

    .faq-icon {
        font-size: 20px;
    }

    .faq-link {
        font-size: 25px;
    }

    .how-it-works-section {
        padding: 100px 5%;
    }

    .section-title {
        font-size: 55px;
        margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 1.8em;
        margin-bottom: 80px;
    }

    .timeline-container {
        max-width: 1200px;
    }

    .timeline-container::before {
        left: 40px;
        width: 4px;
    }

    .timeline-item {
        padding-left: 120px;
        margin-bottom: 80px;
    }

    .timeline-dot {
        left: 22px;
        width: 38px;
        height: 38px;
        border-width: 5px;
    }

    .timeline-content {
        padding: 45px 50px;
    }

    .step-badge {
        font-size: 1.5rem;
        padding: 8px 20px;
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 2.8em;
        margin-bottom: 18px;
    }

    .step-description {
        font-size: 1.8em;
        line-height: 1.3;
    }

    .features-section .features-heading {
        font-size: 55px;
        margin-bottom: 5rem;
    }

    .features-section {
        padding: 80px 5%;
    }

    .features-heading {
        font-size: 55px;
        margin-bottom: 50px;
    }

    .features-grid {
        gap: 3rem;
        margin-top: 4rem;
    }

    .feature-card {
        padding: 60px;
    }

    .feature-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }

    .feature-title {
        font-size: 2.3em;
        margin-bottom: 1.5rem;
    }

    .feature-description {
        font-size: 1.8em;
    }
}