/* Popup container - hidden by default */
.popup {
    display: none;
    /* hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* semi-transparent dark overlay */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup content box */
.popup-content {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
    overflow-y: overlay;
    max-height: 500px;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #e74c3c;
}

/* Heading */
.popup-content h2 {
    margin-bottom: 15px;
    font-size: 2em;
    color: #2C2C2C;
    text-align: center;
    font-weight: 800;
}

/* Form labels */
.popup-content label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 300;
    font-size: 18px;
    color: #2C2C2C;
}

/* Inputs & textarea */
.popup-content input, .popup-content textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    transition: border 0.2s;
    resize: unset;
    /* width: -webkit-fill-available; */
    color: #2C2C2C;
}

.popup-content input:focus,
.popup-content textarea:focus {
    border-color: #2C2C2C;
    outline: none;
}

/* Submit button */
.popup-content button {
    width: 100%;
    padding: 12px;
    background: #2C2C2C;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.popup-content button:hover {
    background: #344b3e;
    color: #fff;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container for the row */
.form-row {
    display: flex;
    gap: 15px; /* Adds space between the two input fields */
    width: 100%;
    flex-direction: column;
}

/* Each input group within the row */
.form-group {
    flex: 1; /* Allows each group to take up equal space */
    display: flex;
    flex-direction: column; /* Stacks the label on top of the input */
}

input[readonly] {
    background-color: #f0f0f0; /* Light grey background */
    cursor: not-allowed;      /* 'Not-allowed' cursor on hover */
    color: #555;               /* Muted text color */
    border: 1px solid #ddd;
}
/* Load Optima Nova */
@font-face {
    font-family: 'OptimaNova';
    src: url('/fonts/OptimaNova-Regular.woff2') format('woff2'),
        url('/fonts/OptimaNova-Regular.woff') format('woff'),
        url('/fonts/OptimaNova-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'OptimaNova';
    src: url('/fonts/OptimaNova-Bold.woff2') format('woff2'),
        url('/fonts/OptimaNova-Bold.woff') format('woff'),
        url('/fonts/OptimaNova-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

textarea#message{
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'OptimaNova', 'Optima', 'Segoe UI', sans-serif;
    line-height: 1.6;
}