
.popup-container {
    display: flex;
    max-width: 1000px;
    margin: 1rem auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    
}

.form-section {
    flex: 1;
    padding: 1.5rem;
    background: #60ACF7;
}

.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.input-group2 {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

input {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.phone-group {
    display: flex;
    gap: 0.5rem;
}

.country-dropdown-container {
    position: relative;
    flex: 0 0 150px;
}

.country-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    background: white;
    height: 100%;
    overflow: hidden;
}

.country-dropdown.active {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.selected-flag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    overflow: hidden;
}

.flag-icon {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.arrow {
    transition: transform 0.2s;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.country-dropdown.active .arrow {
    transform: rotate(180deg);
}

.country-list {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.country-list.show {
    display: block;
}

.country-search {
    padding: 0.6rem;
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #eee;
    z-index: 1;
}

.country-search input {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.85rem;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    gap: 0.6rem;
    font-size: 0.85rem;
    position: relative;
}

.country-item:hover,
.country-item:focus {
    background-color: #e8f0fe;
}

.country-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-code {
    color: #777;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.phone-number {
    flex: 1;
}

.submit-btn {
    background-color: #000;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 0.3rem;
}

.submit-btn:hover {
    background-color: #fff;
    color: #000;
}

.content-section {
    flex: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, #57A6F1 0%, #57A6F1 20%, #60ACF7 20%, #60ACF7 40%, #549CE4 40%, #549CE4 70%, #0E5DAC 70%, #0E5DAC 100%);
}

.content-section h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.subtitle {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    background: #bbddff;
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 100;
    display: none;
}

.mobile-overlay.show {
    display: block;
    /* overflow: hidden; */
}

@media (max-width: 768px) {
    .popup-container {
        flex-direction: column;
        margin: 0.5rem;
    }

    .form-section,
    .content-section {
        padding: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .phone-group {
        flex-direction: column;
    }

    .country-dropdown-container {
        flex: 0 0 auto;
    }
}

#popformlanding {
    display: none;
    /* position: absolute; */
    position: fixed; 
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

}

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

    .content-section {
        display: none !important;
    }

    .form-section {
        width: 100%;
        padding: 20px;
    }

    #contact-phone-landing {
        width: 350px !important; /* Make it responsive */
    }
}
