/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f8fb;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Desktop/tablet: Side-by-side */
.main-container {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 60px auto 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 20px rgba(31, 60, 136, 0.10);
    overflow: hidden;
}

/* Info Section */
.info-section {
    flex: 1 1 330px;
    min-width: 290px;
    padding: 48px 38px 48px 34px;
    background: linear-gradient(117deg, #eaeefe 0%, #f9fafc 97%);
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    margin-top: -150px;
}

.info-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(160deg, #6b79e0 20%, #24be73 100%);
    border-radius: 3px;
    margin: 26px 0;
}

.logo {
    width: 280px;
    margin-bottom: 16px;
    margin-top: -12px;
}

.info-section h1 {
    font-size: 2.0rem;
    color: #25335a;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.18;
}

.info-section h2 {
    color: #5046b8;
    font-size: 1.09rem;
    font-weight: 600;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: 0.1px;
}

.brand {
    color: #23c0eb;
    font-weight: bold;
    font-size: larger;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 1.08rem;
    color: #233143;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 1.34;
    font-weight: 500;
}

.tick {
    margin-right: 10px;
    font-size: 1.19em;
    color: #24be73;
    line-height: 1;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.call-btn,
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    text-decoration: none;
    border-radius: 27px;
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.08);
}

.call-btn {
    background: linear-gradient(90deg, #1d76d2 80%, #687bfa 100%);
    color: #fff;
}

.call-btn:hover {
    background: linear-gradient(90deg, #124270 90%, #6b79e0 100%);
    color: #fff;
}

.call-btn i {
    color: #cbe0fc;
}

.whatsapp-btn {
    background: linear-gradient(90deg, #37d570 70%, #24be73 100%);
    color: #fff;
}

.whatsapp-btn:hover {
    background: linear-gradient(90deg, #2ab055 70%, #128043 100%);
    color: #fff;
}

.whatsapp-btn i {
    color: #e0ffe9;
}

.contact-no {
    font-size: 1.08rem;
    color: #233143;
    margin-top: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address{
    font-size: 1.08rem;
        color: #233143;
        font-weight: 500;
        margin-left: 92px;
}

/* Form Section */
.form-section {
    flex: 1 1 320px;
    min-width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #fff;
}

.form-wrapper {
    width: 100%;
    max-width: 400px;
}

.form-heading {
    font-size: 1.7rem;
    font-weight: 700;
    color: #25335a;
    margin-bottom: 1.2rem;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.form-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #5c6bc0, #24be73);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.service-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    max-width: 370px;
}

.service-form label {
    font-weight: 500;
    margin-bottom: 0.10rem;
    color: #26293a;


    font-size: 1rem;
    letter-spacing: 0.04em;
}

.service-form label.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.service-form input,
.service-form select,
.service-form textarea {
    padding: 0.57rem 0.6rem;
    font-size: 1rem;
    border: 1px solid #cdd6e2;
    border-radius: 5px;
    outline: none;
    margin-bottom: 2px;
    transition: border 0.19s;
    background: #f6f9fd;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
    border: 1.6px solid #5c6bc0;
    background: #ffffff;
}

.phone-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.phone-row select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #cdd6e2;
    background: #f6f9fd;
    width: 110px;
    flex-shrink: 0;
}

.phone-row input {
    flex: 1;
    padding: 0.5rem 0.6rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #cdd6e2;
    background: #f6f9fd;
}

.service-form textarea {
    resize: vertical;
}

.service-form button {
    padding: 0.9rem;
    background: linear-gradient(105deg, #5c6bc0 60%, #24be73 100%);
    color: #fff;
    font-size: 1.09rem;
    font-weight: bold;
    border: none;
    border-radius: 27px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 0.2rem;
    box-shadow: 0 3px 10px rgba(92, 107, 192, 0.10);
}

.service-form button:hover {
    background: linear-gradient(105deg, #3f51b5 60%, #1f9762 100%);
    box-shadow: 0 5px 18px rgba(92, 107, 192, 0.17);
}

.service-form button.submitting {
    background-color: #ccc !important;
    cursor: not-allowed;
    color: #fff;
}

#form-status {
    margin-top: 10px;
    font-size: 1rem;
    color: #1a8a3e;
    font-weight: 500;
    min-height: 1.3em;
    text-align: center;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    width: 90%;
    font-size: 1.1rem;
}

#popup-close {
    margin-top: 15px;
    padding: 10px 20px;
    background: #24be73;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

#popup-close:hover {
    background: #1f9762;
}

.hidden {
    display: none;
}

/* Visibility classes for responsive design */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Mobile view (max-width: 450px) */
@media (max-width: 450px) {
    .main-container {
        flex-direction: column;
        max-width: 100vw;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .info-section {
        order: 1;
        /* Content first */
        width: 100%;
        padding: 20px 5vw;
        box-sizing: border-box;
        margin-top: 0;
    }

    .form-section {
        order: 2;
        /* Form second */
        width: 100%;
        padding: 20px 5vw;
        box-sizing: border-box;
    }

    .info-section::before {
        width: 100%;
        height: 5px;
        left: 0;
        top: 0;
        margin: 0;
    }

    .logo {
        width: 180px;
        margin-top: 0;
    }

    .info-section h1 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .info-section h2 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .features-list li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }

    .call-btn,
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 8px 16px;
    }

    .contact-no {
        font-size: 0.9rem;
        margin-top: 10px;
    }

        .address{
            font-size: 0.9rem;
        }

    .form-heading {
        font-size: 1.4rem;
    }

    .service-form {
        width: 100%;
        font-size: 0.95rem;
    }

    .service-form input,
    .service-form select,
    .service-form textarea {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .phone-row {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .phone-row select {
        width: 90px;
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .phone-row input {
        flex: 1;
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .service-form button {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .popup-content {
        padding: 1.5rem;
        font-size: 1rem;
        max-width: 280px;
    }

    .popup-content p {
        font-size: 0.95rem;
    }

    .popup-close {
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .mobile-only.contact-buttons {
        flex-direction: column;
        margin-top: 16px;
    }

    .mobile-only.contact-no {
        display: flex;
        margin-top: 10px;
    }
}

/* Tablet view (451px to 900px) */
@media (min-width: 451px) and (max-width: 900px) {
    .main-container {
        max-width: 800px;
        margin: 40px auto 0 auto;
        flex-direction: column;
        /* Stack vertically for tablets */
    }

    .info-section {
        order: 1;
        /* Content first */
        width: 100%;
        padding: 38px 28px 38px 24px;
        margin-top: 0;
    }

    .form-section {
        order: 2;
        /* Form second */
        width: 100%;
        padding: 30px 18px;
    }

    .info-section::before {
        width: 100%;
        height: 5px;
        left: 0;
        top: 0;
        margin: 0;
    }

    .logo {
        width: 200px;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .info-section h1 {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    .info-section h2 {
        font-size: 1.0rem;
        margin-bottom: 16px;
    }

    .features-list li {
        font-size: 1.0rem;
        margin-bottom: 8px;
    }

    .contact-buttons {
        gap: 12px;
        margin-top: 20px;
    }

    .call-btn,
    .whatsapp-btn {
        font-size: 1.0rem;
        padding: 8px 18px;
    }

    .contact-no {
        font-size: 0.95rem;
    }

        .address {
            font-size: 0.95rem;
        }

    .form-heading {
        font-size: 1.5rem;
    }

    .service-form {
        max-width: 320px;
    }

    .service-form input,
    .service-form select,
    .service-form textarea {
        font-size: 0.95rem;
    }

    .phone-row {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .phone-row select {
        width: 100px;
        font-size: 0.95rem;
    }

    .phone-row input {
        flex: 1;
        font-size: 0.95rem;
    }

    .service-form button {
        font-size: 1.0rem;
        padding: 0.8rem;
    }

    .desktop-only {
        display: flex;
    }

    .mobile-only {
        display: none;
    }
}

/* Desktop view (above 900px) */
@media (min-width: 901px) {
    .main-container {
        max-width: 1000px;
        flex-direction: row;
        /* Side-by-side for desktop */
    }

    .info-section {
        padding: 48px 38px 48px 34px;
        margin-top: -150px;
    }

    .form-section {
        padding: 40px 24px;
    }

    .phone-row select {
        width: 110px;
    }

    .desktop-only {
        display: flex;
    }

    .mobile-only {
        display: none;
    }
}