html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Popup container */
.popup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}
/* Image on the left */
.popup-image {
    padding: 15px;
}

    .popup-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Form on the right */
.popup-form {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .popup-form h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        color: #333;
    }

    .popup-form h2 {
        font-size: 0.9rem;
        margin-bottom: 20px;
        color: #555;
        line-height: 1.5;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        font-size: 0.8rem;
        color: #333;
        margin-bottom: 5px;
        display: block;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 0.8rem;
    }

.submit-btn {
    background-color: #7b189f;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.submit-btn .sending {
    background-color: #d6d6d6 !important; /* Gray background for sending state */
    color: #999; /* Lighter text color */
    cursor: not-allowed;
}

.submit-btn:hover {
    background-color: #9d37c2;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}

/* Disclaimer text */
.popup-disclaimer {
    font-size: 0.85rem;
    color: #666;
    margin-top: 20px;
    line-height: 1.4;
}

.popup-disclaimer a {
color: #007bff;
text-decoration: none;
}

.popup-disclaimer a:hover {
    text-decoration: underline;
}

.popup-content {
    max-width: 40%;
    margin: 0 auto;
}

.popup-image {
    padding: 0;
}
.homepage-img {
    max-width:1024px;
    width:60%;
}
.container {
    /*max-width: 70%;*/ /* Default for all screen sizes */
}

button.disabled {
    background-color: #d6d6d6 !important; /* Gray background */
    color: #999; /* Light text color */
    cursor: not-allowed; /* Disable cursor */
}

@media (max-width: 576px) {
    .popup-content {
        width: 95%;
        max-width: 95%;
        grid-template-columns: 1fr; /* Single column layout */
    }
    .popup-image {
        display:none;
        order: 2; /* Move image to the bottom */
        padding: 15px 0; /* Add some spacing */
    }

    .popup-form {
        order: 1; /* Move form to the top */
    }

    .homepage-img {
        width: 90%;
    }
    .popup{
        width:100%;
        max-width:100%;
    }
}

@media (max-width: 1700px) {
    .container {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 10px;
        padding-right: 10px;
        max-width: calc(100% - 20px); /* Ensure the container stays centered */
    }
}
