
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f766e;
    --primary-light: #14b8a6;
    --accent: #f97316;
    --dark-bg: #0a0e27;
    --dark-surface: #141829;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --success: #10b981;
    --error: #ef4444;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1628 100%);
    color: var(--text-primary);
    position: relative;
}

    /* Animated gradient background */
    body::before {
        content: '';
        position: fixed;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.12) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(15, 118, 110, 0.12) 0%, transparent 50%), radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
        pointer-events: none;
        animation: gradientShift 20s ease-in-out infinite;
        z-index: 0;
    }

    /* Animated floating shapes background */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(800px circle at 20% 30%, rgba(20, 184, 166, 0.1) 0%, transparent 40%), radial-gradient(500px circle at 80% 70%, rgba(15, 118, 110, 0.1) 0%, transparent 50%), radial-gradient(600px circle at 40% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 40%);
        pointer-events: none;
        animation: blobMove 25s ease-in-out infinite;
        z-index: 0;
    }

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, 30px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 20px) scale(1.02);
    }

    75% {
        transform: translate(30px, -20px) scale(1.05);
    }
}

@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(40px, -50px);
    }

    66% {
        transform: translate(-30px, 40px);
    }
}

/* Animated grid overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(20, 184, 166, 0.02) 25%, rgba(20, 184, 166, 0.02) 26%, transparent 27%, transparent 74%, rgba(20, 184, 166, 0.02) 75%, rgba(20, 184, 166, 0.02) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(20, 184, 166, 0.02) 25%, rgba(20, 184, 166, 0.02) 26%, transparent 27%, transparent 74%, rgba(20, 184, 166, 0.02) 75%, rgba(20, 184, 166, 0.02) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
    animation: gridShift 8s linear infinite;
    z-index: 0;
}

@keyframes gridShift {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

.main-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

/* Left Visual Section - Diagonal */
.visual-section {
    flex: 0 0 45%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding: 60px 40px;
    animation: slideInLeft 0.8s ease-out;
}

    .visual-section::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: pulse 4s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 320px;
}

.visual-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 32px;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.visual-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    line-height: 1.3;
}

.visual-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 32px;
}

.visual-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Right Form Section */
.form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 60px;
    overflow-y: auto;
    animation: slideInRight 0.8s ease-out;
}

.form-container {
    width: 100%;
    max-width: 450px;
}

.page-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 28px;
    animation: slideUp 0.6s ease-out both;
}

    .form-group:nth-child(1) {
        animation-delay: 0.2s;
    }

    .form-group:nth-child(2) {
        animation-delay: 0.3s;
    }

label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: block;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    font-size: 20px;
    color: var(--primary-light);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
    top: 14px;
}

input, select {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(20, 184, 166, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}


    select option {
        background: #0f172a;
        color: #ffffff;
    }

    input::placeholder {
        color: var(--text-secondary);
    }

    input:focus, select:focus {
        background: rgba(20, 184, 166, 0.1);
        border-color: var(--primary-light);
        box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
    }

        input:focus ~ .input-icon {
            color: var(--accent);
            transform: scale(1.1);
        }

.form-group.error input {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.error-message {
    font-size: 12px;
    color: var(--error);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

.help-text {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.help-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .help-link:hover {
        color: var(--accent);
    }

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

button {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(20, 184, 166, 0.4);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: var(--primary-light);
    }

.btn-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 32px;
    left: 32px;
    background: var(--dark-surface);
    border: 1.5px solid rgba(20, 184, 166, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: slideUp 0.4s ease;
}

    .toast.success {
        border-color: var(--success);
        border-left: 4px solid var(--success);
    }

    .toast.error {
        border-color: var(--error);
        border-left: 4px solid var(--error);
    }

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error .toast-icon {
    color: var(--error);
}

/* Floating Contact Button */
.contact-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
}

    .contact-fab:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 32px rgba(20, 184, 166, 0.4);
    }

    .contact-fab:active {
        transform: scale(0.95);
    }

/* Contact Drawer */
.contact-drawer {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--dark-surface);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

    .contact-drawer.active {
        right: 0;
    }

.drawer-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

    .drawer-header h3 {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

.drawer-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .drawer-close:hover {
        transform: rotate(90deg);
    }

.drawer-content {
    flex: 1;
    padding: 32px 24px;
    overflow-y: auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

    .contact-item:last-child {
        margin-bottom: 0;
    }

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-info a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .contact-info a:hover {
        color: var(--accent);
    }

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
    transition: background 0.3s ease;
    pointer-events: none;
}

    .drawer-overlay.active {
        background: rgba(0, 0, 0, 0.5);
        pointer-events: auto;
    }

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .visual-section {
        flex: 0 0 40%;
        padding: 40px 30px;
    }

    .form-section {
        padding: 40px 40px;
    }

    .page-title {
        font-size: 36px;
    }

    .form-container {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }

    .visual-section {
        flex: 0 0 auto;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        min-height: 200px;
        padding: 30px 20px;
    }

    .form-section {
        flex: 1;
        padding: 30px 20px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .contact-drawer {
        width: 100%;
        right: -100%;
    }

    .contact-fab {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .visual-section {
        min-height: 150px;
        padding: 20px;
    }

    .visual-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 16px;
    }

    .visual-content h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .visual-content p {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .form-section {
        padding: 20px;
    }

    .form-container {
        max-width: 100%;
    }

    .page-title {
        font-size: 24px;
    }

    label {
        font-size: 12px;
    }

    input, select {
        padding: 12px 14px 12px 40px;
        font-size: 16px;
    }

    .form-actions {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}

.text-danger {
    color: #c7c31d !important;
}

.text-primary {
    color: #14b8a6 !important;
}

.pt-20{
    padding-top: 20px !important;
}


.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #facc15 !important;
    font-size: 15px;
    font-weight: 600;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.25);
    transition: all 0.3s ease;
}

    .back-home-link:hover {
        color: #ffffff !important;
        background: #facc15;
        border-color: #facc15;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
    }

    .back-home-link i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .back-home-link:hover i {
        transform: translateX(-4px);
    }

@media (max-width: 576px) {
    .back-home-link {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 14px;
    }
}



.cta {
    border: none;
    background: none;
    cursor: pointer;
}

    .cta span {
        padding-bottom: 7px;
        letter-spacing: 4px;
        font-size: 14px;
        padding-right: 15px;
        text-transform: uppercase;
    }

    .cta svg {
        transform: translateX(-8px);
        transition: all 0.3s ease;
    }

    .cta:hover svg {
        transform: translateX(0);
    }

    .cta:active svg {
        transform: scale(0.9);
    }

.hover-underline-animation {
    position: relative;
    color: white;
    padding-bottom: 20px;
}

    .hover-underline-animation:after {
        content: "";
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #ffffff;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

.cta:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.forgot-link{
    margin-bottom: 20px;
}

#arrow-horizontal path {
    fill: #fff;
}

