body {
    margin: 0;
    font-family: 'Poppins', sans-serif; /* Modern Google font */
    overflow: hidden;
}

.gallery {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto; /* Enables vertical scrolling */
    background-color: #f0f0f0; /* Soft background color */
}

.gallery img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    transition: opacity 0.5s ease;
    opacity: 0;
    display: block; /* Ensure images stack vertically */
    border-top-left-radius: 8px; /* Rounded corners at the top */
    border-top-right-radius: 8px; /* Rounded corners at the top */
    margin-bottom: 8px; /* Space between images */
}

.gallery img.active,
.gallery img.previous {
    opacity: 1;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Softer shadow */
    transition: background-color 0.3s;
}

.floating-btn:hover {
    background-color: #0056b3;
}

.floating-btn i {
    font-size: 24px;
}

#contactBtn {
    right: 20px;
}

#infoBtn {
    left: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 101;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 20px;
    border: none;
    width: 90%;
    max-width: 650px;
    border-radius: 15px; /* Softer corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Modern shadow */
    animation: slideDown 0.4s ease;
    font-size: 18px;
    position: relative;
    text-align: center;
}

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

.modal-content h1, .modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    text-align: center;
}

.modal-content p {
    margin: 15px 0;
    line-height: 1.6;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

form input,
form label.checkbox-label {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

form .checkbox-label {
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
}

form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    padding: 0;
}

.send-btn {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.send-btn:hover {
    background-color: #0056b3;
}

.cta-btn {
    margin-top: 20px;
    width: 100%;
    padding: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    animation: pulse 2s infinite;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.cta-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #007BFF;
    color: white;
}

.modal-content .cta-container {
    padding-bottom: 50px; /* Extra space */
}

.info-table th {
    background-color: #007BFF;
    color: white;
    font-size: 20px;
    padding: 10px;
    text-transform: uppercase; /* Modern touch with uppercase letters */
    text-align: center;
}

.info-table td {
    padding: 10px;
    color: #333;
}

.rotate-prompt {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 101;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Softer shadow */
    animation: fadeOut 4s forwards;
}

.rotate-prompt i {
    font-size: 96px;
    color: #007BFF;
    animation: rotateVerticalToHorizontal 2s linear infinite;
}

.rotate-prompt p {
    margin: 20px 0 0;
    font-size: 32px;
    color: #007BFF;
}

@keyframes fadeOut {
    0%, 90% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

@keyframes rotateVerticalToHorizontal {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
    100% { transform: rotate(90deg); }
}

/* Thank-You Modal Styling */
#thankYouModal .modal-content {
    text-align: center;
    padding: 40px 20px;
}

#thankYouModal .modal-content i {
    font-size: 48px;
    color: #28a745;
}

#thankYouModal .modal-content h2 {
    margin-top: 20px;
    font-size: 28px;
    color: #333;
}

#thankYouModal .modal-content p {
    font-size: 18px;
    color: #555;
}