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

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    position: relative;
    background-color: #8351ff; /* Purple background color from logo */
    background-image: url('House of Experience - Company Profile - Purple  (1) copy.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    overflow-x: hidden;
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    align-items: center;
}

/* Left Column: Logo */
.left-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-container {
    animation: fadeInDown 1s ease-out;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    background: transparent;
}

/* Right Column: Text, Form, Social Media */
.right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    height: 100%;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.text-content {
    color: #fff;
    position: relative;
    z-index: 2;
}

.text-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.text-content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.content {
    max-width: 600px;
    height: 100%;
    color: #fff;
    animation: fadeInUp 1s ease-out;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.main-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.sub-heading {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    letter-spacing: 0.3px;
    animation: slideInRight 1s ease-out;
}

/* Form Box */
.form-box {
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.form-box:hover::before {
    left: 100%;
}

.form-box:hover {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.form-header {
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.form-subtitle {
    font-size: 1rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact-form {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 25px;
    position: relative;
    min-height: 200px;
    z-index: 2;
}

.form-steps-container {
    position: relative;
    min-height: 50px;
    overflow: visible;
}

.form-step {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    left: 0;
    top: 0;
    will-change: transform, opacity;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    z-index: 2;
    position: relative;
}

.form-step.prev {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
    z-index: 0;
    pointer-events: none;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.85rem;
    animation: fadeInDown 0.4s ease-out;
}

.form-step input,
.form-step textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    letter-spacing: 0.3px;
    animation: slideInUp 0.5s ease-out;
    box-sizing: border-box;
}

.form-step input.error,
.form-step textarea.error {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
}

.error-message {
    display: block;
    color: #faacac;
    font-size: 0.85rem;
    margin-top: 8px;
    min-height: 20px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    font-weight: 500;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-step input::placeholder,
.form-step textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.form-step input:focus,
.form-step textarea:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1),
                0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    outline: none;
}

.form-step input:focus-visible,
.form-step textarea:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.form-step input:hover:not(:focus),
.form-step textarea:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-step textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.prev-btn,
.next-btn,
.submit-btn {
    padding: 16px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.prev-btn {
    display: none;
}

.next-btn {
    margin-left: auto;
}

.submit-btn {
    display: none;
    width: 100%;
}

.prev-btn::before,
.next-btn::before,
.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.prev-btn:hover::before,
.next-btn:hover::before,
.submit-btn:hover::before {
    left: 100%;
}

.prev-btn:hover,
.next-btn:hover,
.submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: #fff;
    transform: translateY(-2px);
}

.prev-btn:active,
.next-btn:active,
.submit-btn:active {
    transform: translateY(0);
}

.prev-btn i,
.next-btn i,
.submit-btn i {
    transition: transform 0.3s ease;
}

.prev-btn:hover i {
    transform: translateX(-3px);
}

.next-btn:hover i,
.submit-btn:hover i {
    transform: translateX(3px);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: #fff;
    transform: translateY(-2px);
}

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

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Social Media Section */
.social-media-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    animation: fadeInUp 1.4s ease-out;
    position: relative;
    z-index: 2;
}

.social-icons {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #fff;
    padding: 8px;
    background-color: transparent;
    width: 100%;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 2px solid #fff; */
    color: #fff;
    font-size: 2.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0;
}

.social-icon:not(:last-child) {
    border-right: none;
}

.social-icon:hover {
    transform: translateY(-2px);
}


/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .grid-layout {
        gap: 60px;
    }
    
    .main-heading {
        font-size: 4rem;
    }
    
    .logo {
        max-width: 400px;
    }
}

@media (max-width: 1200px) {
    .grid-layout {
        gap: 50px;
    }
    
    .main-heading {
        font-size: 3.5rem;
    }
    
    .logo {
        max-width: 350px;
    }
    
    .form-box {
        padding: 30px;
    }
    
    .form-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 992px) {
    .main-container {
        height: auto;
        min-height: 100vh;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }
    
    .left-column {
        order: 1;
    }
    
    .right-column {
        order: 2;
        align-items: center;
        text-align: center;
        gap: 35px;
    }
    
    .text-content {
        text-align: center;
        width: 100%;
    }
    
    .main-heading {
        font-size: 3rem;
    }
    
    .form-box {
        width: 100%;
        max-width: 600px;
    }
    
    .social-media-section {
        justify-content: center;
        width: 100%;
    }
    
    .logo {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 30px 20px;
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
    }
    
    .grid-layout {
        gap: 40px;
        grid-template-columns: 1fr;
    }
    
    .left-column {
        order: 1;
    }
    
    .right-column {
        order: 2;
        gap: 35px;
    }
    
    .main-heading {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .sub-heading {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 280px;
    }
    
    .form-box {
        padding: 25px 20px;
        width: 100%;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .form-subtitle {
        font-size: 0.85rem;
    }
    
    .form-steps-container {
        min-height: 160px;
    }
    
    .form-step input,
    .form-step textarea {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    
    .prev-btn,
    .next-btn,
    .submit-btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .social-icons {
        padding: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.8rem;
    }
    
    .social-media-section {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 20px 12px;
        height: auto;
        min-height: 100vh;
    }
    
    .grid-layout {
        gap: 70px;
        grid-template-columns: 1fr;
        height: 100%;
        margin: auto;
    }
    
    .left-column {
        order: 1;
    }
    
    .right-column {
        order: 2;
        gap: 30px;
    }
    
    .text-content {
        text-align: center;
    }
    
    .main-heading {
        font-size: 1.8rem;
        line-height: 1.15;
        margin-bottom: 12px;
    }
    
    .sub-heading {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .logo {
        max-width: 300px;
    }
    
    .logo-container {
        margin-bottom: 50px;
    }
    
    .form-box {
        padding: 20px 16px;
        width: 100%;
    }
    
    .form-header {
        margin-bottom: 18px;
        text-align: center;
    }
    
    .form-title {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .form-subtitle {
        font-size: 0.8rem;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .form-steps-container {
        min-height: 140px;
    }
    
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .form-step input,
    .form-step textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .form-step textarea {
        min-height: 110px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }
    
    .prev-btn,
    .next-btn,
    .submit-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .social-icons {
        padding: 4px;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1.6rem;
    }
    
    .social-media-section {
        justify-content: center;
        width: 100%;
    }
    
    body {
        background-attachment: scroll;
    }
}

/* Success Popup */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-popup.show {
    display: flex;
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.popup-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-popup.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #8351ff 0%, #6b3fd8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(131, 81, 255, 0.4);
    animation: iconBounce 0.6s ease 0.2s;
}

.popup-icon i {
    font-size: 3.5rem;
    color: #fff;
    animation: iconCheck 0.5s ease 0.3s;
}

.popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8351ff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.popup-message {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
    animation: fadeInUp 0.5s ease 0.3s both;
}

.popup-close-btn {
    padding: 14px 35px;
    background: linear-gradient(135deg, #8351ff 0%, #6b3fd8 100%);
    border: 2px solid #8351ff;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(131, 81, 255, 0.3);
    animation: fadeInUp 0.5s ease 0.4s both;
}

.popup-close-btn:hover {
    background: linear-gradient(135deg, #6b3fd8 0%, #5a2fc7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 81, 255, 0.4);
}

.popup-close-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(131, 81, 255, 0.3);
}

.popup-close-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.popup-close-btn:hover i {
    transform: rotate(90deg);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes iconCheck {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Popup */
@media (max-width: 768px) {
    .popup-content {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .popup-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .popup-icon i {
        font-size: 2.8rem;
    }
    
    .popup-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .popup-message {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .popup-close-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 35px 25px;
        border-radius: 15px;
    }
    
    .popup-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }
    
    .popup-icon i {
        font-size: 2.5rem;
    }
    
    .popup-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .popup-message {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .popup-close-btn {
        padding: 11px 25px;
        font-size: 0.85rem;
        width: 100%;
    }
}

