@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}

:root {
    --primary-color: var(--bs-primary);
    --secondary-color: var(--bs-secondary);
    --accent-color: var(--bs-primary);
    --light-color: #f7f9fb;
    --dark-color: #293241;
    --primary: var(--bs-primary);
    --secondary:var(--bs-secondary);
    --background: #fafafa;
    --text: #333;
    --border: #e2e2e2;
    --shadow: rgba(0, 0, 0, 0.06);
    --success: #48bb78;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.7;
}

/* Custom button styling */
.btn {
    border-radius: 2px;
    padding: 0.6rem 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var( --primary-color);
    border-color: #e05c3e;
    color: white;
    box-shadow: 0 5px 15px rgba(238,108,77,0.3);
}

/* About section */
#about {
    padding: 6rem 0;
    background-color: white;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.about-img {
    box-shadow: -20px 20px 0px var(--secondary-color);
    border-radius: 4px;
}

/* Pricing section */
#pricing {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.price-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.price-header {
    padding: 2rem;
    text-align: center;
}

.price-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
}

.price-period {
    color: #6c757d;
    font-size: 0.9rem;
}

.price-features {
    padding: 2rem;
    background-color: var(--light-color);
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.price-footer {
    padding: 2rem;
    text-align: center;
    background-color: white;
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Contact section */
.contact-section {
    background: linear-gradient(135deg, #2d1978 0%, #5628a7 100%);
    padding: 4rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    color: white;
    max-width: 1200px;
    margin: 2rem auto;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #f7c948 0%, #ff7ba9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.title-underline {
    width: 6rem;
    height: 4px;
    background: linear-gradient(90deg, #f7c948 0%, #ff7ba9 100%);
    margin: 0.5rem auto 1.5rem;
    border-radius: 2px;
}

.subtitle {
    color: #c8b6ff;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-group {
    padding: 0 15px;
    margin-bottom: 1.5rem;
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .form-group.half {
        flex: 0 0 50%;
    }
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #c8b6ff;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 182, 255, 0.3);
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #f7c948;
    box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.3);
}

.form-control::placeholder {
    color: rgba(200, 182, 255, 0.6);
}

select.form-control option {
    background-color: #442a91;
    color: white;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    margin-right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 182, 255, 0.3);
    border-radius: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #c8b6ff;
}

.btn-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(90deg, #f7c948 0%, #ff7ba9 100%);
    border: none;
    border-radius: 0.5rem;
    color: #2d1978;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(247, 201, 72, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(247, 201, 72, 0.4);
    background: linear-gradient(90deg, #f9d268 0%, #ff93b7 100%);
}

/* Custom styling for date input */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
}

/* Modal styling */
.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

#contact {
    padding: 80px 0;
    background: var(--background);
    font-family: 'Inter', sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--shadow);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.05;
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.form-header {
    position: relative;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--text);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.form-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.input-group {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 8px !important;
    font-size: 16px;
    color: var(--text);
    background: transparent;
    transition: all 0.3s;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: rgba(127, 86, 218, 0.03);
}

.form-control::placeholder {
    color: #9ca3af;
    opacity: 0.8;
    font-size: 14px;
    transition: opacity 0.3s;
}

.form-control:focus::placeholder {
    opacity: 0.5;
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.checkbox-wrapper {
    margin-bottom: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 4px !important;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.form-check-input:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.form-check-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.form-check-label a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
}

.form-check-label a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    background-color: #e6f6f0;
    border-left: 4px solid var(--success);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    animation: slideDown 0.3s forwards;
}

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

#confirmationText {
    color: #2d3748;
    font-size: 14px;
}

.btn-close {
    background: transparent;
    border: none;
    color: #718096;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.btn-close:hover {
    opacity: 1;
}

.submitButton {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary), #9f7aea);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submitButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submitButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(127, 86, 218, 0.15);
}

.submitButton:hover::before {
    left: 100%;
}

.submitButton:active {
    transform: translateY(0);
}

.button__text {
    position: relative;
    z-index: 1;
}

.button__loader {
    position: absolute;
}

.spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.15em;
}

@media (max-width: 767px) {
    .form-container {
        padding: 25px;
        border-radius: 12px;
    }

    .form-container::before {
        width: 100px;
        height: 100px;
    }

    .form-control {
        padding: 12px;
        font-size: 15px;
    }

    .submitButton {
        padding: 12px 16px;
        font-size: 15px;
    }
}