:root {
    --primary-color: #5a0f2e;
    --secondary-color: #312E81;
    --accent-color: #7c4dff;
    --text-dark: #212121;
    --text-light: #757575;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
    background: rgba(49, 1, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 126, 0.1);
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(124,77,255,0.1)"/><stop offset="100%" style="stop-color:rgba(26,35,126,0.1)"/></linearGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23grad)"/><circle cx="1000" cy="400" r="120" fill="url(%23grad)"/><circle cx="600" cy="500" r="60" fill="url(%23grad)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content .event-details {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1.2s ease;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-content .event-location {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1.4s ease;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-image-container {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1.5s ease;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.animated-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-section {
    padding: 100px 0 80px;
    min-height: 60vh;
}

.page-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

#welcome {
    background: #f8f9fa;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.package-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.package-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.package-card .card-body {
    padding: 2rem;
}

.package-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package-card .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 1.5rem 0;
}

.btn-book {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-book:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(124,77,255,0.4);
}

#team {
    background: #f8f9fa;
}

.team-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    background: #fff;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card .card-body {
    padding: 1.5rem;
}

.team-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-card .designation {
    color: var(--text-light);
    font-size: 1rem;
}

/* ===== Executive Team Card Styles (Matching Website Theme) ===== */
.executive-card {
    text-align: center;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.executive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Circular Image Wrapper with gradient border outline only */
.executive-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: inline-block;
}

.executive-img-wrapper::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    z-index: 1;
}

.executive-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    border-radius: 50%;
    z-index: 2;
}

.executive-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 3;
}

/* Executive Info Styles */
.executive-info {
    padding: 0 1rem;
}

.executive-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.executive-designation {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Executive Cards */
@media (max-width: 768px) {
    .executive-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .executive-img-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .executive-name {
        font-size: 1rem;
    }
    
    .executive-designation {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .executive-img-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .executive-name {
        font-size: 0.95rem;
    }
    
    .executive-designation {
        font-size: 0.8rem;
    }
}


#support {
    background: #fff;
}

.support-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.support-item {
    margin: 2rem 0;
}

.support-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.support-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.support-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.support-item a:hover {
    color: var(--accent-color);
}

.support-item ul {
    list-style: none;
    padding: 0;
}

.support-item li {
    margin-bottom: 15px;
}

#contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

#contact .section-title {
    color: #fff;
}

#contact .section-title::after {
    background: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-control {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(124,77,255,0.3);
    outline: none;
}

.btn-submit {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #fff;
    color: var(--primary-color);
    transform: scale(1.05);
}

footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.footer-section i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    text-align: center;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #hero {
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .event-details {
        font-size: 1.1rem;
    }
    
    .hero-content .event-location {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .page-section {
        padding: 80px 0 40px;
    }
    
    .nav-link {
        margin: 10px 0;
    }
    
    .package-card .card-body {
        padding: 1.5rem;
    }
    
    .package-card .price {
        font-size: 1.5rem;
    }
    
    .support-box {
        padding: 2rem 1rem;
    }
    
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    #hero {
        min-height: 70vh;
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content .event-details,
    .hero-content .event-location {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
    
    .package-card .card-title {
        font-size: 1.2rem;
    }
    
    .team-card img {
        height: 200px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .support-item i {
        font-size: 2rem;
    }
    
    .support-item h3 {
        font-size: 1.2rem;
    }
    
    .support-item a {
        font-size: 1rem;
    }
}

/* Inner Page Header Styles */
.inner-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 60px;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

.inner-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.inner-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

/* Responsive Inner Header */
@media (max-width: 768px) {
    .inner-header {
        padding: 100px 0 40px;
    }
    
    .inner-header h1 {
        font-size: 1.8rem;
    }
    
    .inner-header p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .inner-header {
        padding: 90px 0 30px;
    }
    
    .inner-header h1 {
        font-size: 1.5rem;
    }
    
    .inner-header p {
        font-size: 0.9rem;
    }
}

/* Active Navigation Link */
.nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Check-in/Check-out Date Field Styles */
.checkindate input,
.checkoutdate input {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
}

.checkindate input:focus,
.checkoutdate input:focus {
    background-color: #e9ecef;
}

/* Form mandatory field indicator */
.mandatory {
    color: #dc3545;
    font-weight: bold;
}

/* Form format helper text */
.format {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 5px;
}

/* Inform text styling */
.inform {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
    font-style: italic;
}

/* Registration Form Input Styles */
.page-section .form-control {
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.page-section .form-control:focus {
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(124, 77, 255, 0.15);
    outline: none;
}

.page-section .form-control::placeholder {
    color: #999;
    font-size: 0.95rem;
}

.page-section .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1rem;
    display: block;
}

/* Select Dropdown Styling */
.page-section select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* Textarea Styling */
.page-section textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Radio and Checkbox Styling */
.page-section .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    cursor: pointer;
    border: 2px solid #d0d0d0;
}

.page-section .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.page-section .form-check-label {
    margin-left: 8px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Date and Time Input Styling */
.page-section input[type="date"],
.page-section input[type="time"] {
    cursor: pointer;
}

/* Disabled/Readonly Input Styling */
.page-section .form-control:disabled,
.page-section .form-control[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Invalid Feedback Styling */
.page-section .invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

/* Form Validation States */
.page-section .form-control.is-invalid {
    border-color: #dc3545;
}

.page-section .form-control.is-valid {
    border-color: #28a745;
}

/* Button Styling for Registration Form */
.page-section .btn-primary,
.page-section .btnsave {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: #fff;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-section .btn-primary:hover,
.page-section .btnsave:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 77, 255, 0.4);
}

.page-section .btn-primary:active,
.page-section .btnsave:active {
    transform: translateY(0);
}

/* Row Spacing */
.page-section .row.g-3 {
    margin-bottom: 1rem;
}

.page-section .col-12 {
    margin-bottom: 1.5rem;
}

/* Headings in Form */
.page-section h3,
.page-section h4,
.page-section h5 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Payment Method Sections */
.paymentmethod {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.paymentmethod .form-control {
    background-color: #fff;
    margin-bottom: 1rem;
}

.paymentmethod p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Mobile Responsive Form Styles */
@media (max-width: 768px) {
    .page-section .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 10px 12px;
    }
    
    .page-section .form-label {
        font-size: 0.95rem;
    }
    
    .page-section .btn-primary,
    .page-section .btnsave {
        width: 100%;
        padding: 14px;
    }
    
    .page-section .col-md-8 {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .page-section .form-control {
        font-size: 16px;
    }
    
    .page-section h2 {
        font-size: 1.5rem;
    }
}

/* Submit Button Specific Styling */
.page-section .btnsave,
.page-section input[type="submit"] {
    display: inline-block !important;
    visibility: visible !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border: none !important;
    color: #fff !important;
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    width: auto !important;
    min-width: 200px !important;
    text-align: center !important;
    margin: 20px auto !important;
}

.page-section .btnsave:hover,
.page-section input[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.5) !important;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
}

.page-section .btnsave:active,
.page-section input[type="submit"]:active {
    transform: translateY(-1px) !important;
}

/* Payment Method Section Visibility */
.page-section .paymentmethod {
    display: block !important;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
}

.page-section .paymentmethod.d-none {
    display: none !important;
}

/* Make sure button container is visible */
.page-section .paymentmethod > div {
    display: block !important;
}

/* Mobile Submit Button */
@media (max-width: 768px) {
    .page-section .btnsave,
    .page-section input[type="submit"] {
        width: 100% !important;
        min-width: auto !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
    }
}/* ===== Registration Page - Reduced Margin/Padding ===== */

/* Reduced page section padding */
.page-section {
    padding: 50px 0 30px !important;
}

/* Form container - minimal padding */
.page-section .container {
    padding: 0 15px;
}

.page-section .col-md-8 {
    padding: 0;
}

/* Page heading - reduced margin */
.page-section h2 {
    margin-bottom: 1.5rem !important;
}

/* Mandatory indicator text - reduced margin */
.page-section .mb-3 {
    margin-bottom: 1rem !important;
}

/* Form rows - minimal gap */
.page-section .row.g-3 {
    row-gap: 0.75rem !important;
    margin-bottom: 0 !important;
}

/* Form columns - minimal margin */
.page-section .col-12 {
    margin-bottom: 0.75rem !important;
}

/* Form labels - minimal margin */
.page-section .form-label {
    margin-bottom: 0.4rem !important;
}

/* Form controls - reduced padding */
.page-section .form-control,
.page-section .form-select {
    padding: 8px 12px !important;
    margin-bottom: 0 !important;
}

/* Form check - reduced margin */
.page-section .form-check {
    margin-bottom: 0.4rem !important;
}

.page-section .form-check-inline {
    margin-right: 0.75rem !important;
}

/* Invalid feedback - minimal margin */
.page-section .invalid-feedback {
    margin-top: 0.25rem !important;
}

/* Headings in form - minimal margin */
.page-section h3,
.page-section h4,
.page-section h5 {
    margin-top: 1rem !important;
    margin-bottom: 0.75rem !important;
}

/* Package radio buttons - reduced padding */
.page-section .form-check.mt-3 {
    margin-top: 0.75rem !important;
    padding: 0.5rem 0 0.5rem 1.5rem !important;  /* left 1.5rem = Bootstrap radio indent */
}

/* Plan details - minimal margin */
.planDetails {
    margin-bottom: 0.5rem !important;
    margin-top: 0.25rem !important;
}

/* Inform text - minimal margin */
.inform {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
    font-size: 0.875rem;
}

/* Format text */
.format {
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

/* Mandatory indicator */
.mandatory {
    margin-left: 0.15rem;
}

/* Payment method sections - reduced padding */
.paymentmethod {
    margin-top: 1rem !important;
    padding: 0.75rem !important;
    border-radius: 8px;
}

.paymentmethod .form-control {
    margin-bottom: 0.5rem !important;
}

.paymentmethod p {
    margin-bottom: 0.4rem !important;
}

/* Submit buttons - minimal margin */
.page-section .btnsave,
.page-section input[type="submit"] {
    margin: 10px 0 !important;
}

/* Registration summary - reduced padding */
.enhanced-registration-summary {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.summary-content-enhanced {
    padding: 1rem !important;
}

.details-section {
    margin-bottom: 1rem !important;
}

/* Quantity controls - reduced spacing */
.col-auto {
    margin-bottom: 0.75rem !important;
}

/* Child options container */
#childOptions,
[id^="childOptions"] {
    margin-top: 0.5rem !important;
}

/* ===== Increment/Decrement Buttons - Equal Size & Aligned ===== */

.quantity-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    border: 2px solid #dee2e6 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    vertical-align: middle !important;
}

.quantity-actions:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    border-color: #c8ccd0 !important;
}

.quantity-actions button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    vertical-align: middle !important;
}

.quantity-actions button.btn-secondary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
    border-color: #ff6b6b !important;
    color: #fff !important;
}

.quantity-actions button.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff5252 0%, #e03e5a 100%) !important;
    border-color: #ff5252 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
}

.quantity-actions button.btn-secondary:active:not(:disabled) {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3) !important;
}

.quantity-actions button.btn-primary {
    background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%) !important;
    border-color: #51cf66 !important;
    color: #fff !important;
}

.quantity-actions button.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #40c057 0%, #2f9e44 100%) !important;
    border-color: #40c057 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(81, 207, 102, 0.4) !important;
}

.quantity-actions button.btn-primary:active:not(:disabled) {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 6px rgba(81, 207, 102, 0.3) !important;
}

.quantity-actions button:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}

.quantity-input {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #212529 !important;
    background: #fff !important;
    border: 2px solid #ced4da !important;
    border-radius: 10px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    vertical-align: middle !important;
    line-height: 40px !important;
}

.quantity-input:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.1), inset 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* ===== Form Validation Styling (No errors on page load) ===== */

.invalid-feedback {
    display: none !important;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
    font-weight: 500;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-feedback {
    display: block !important;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid,
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid:focus,
.was-validated .form-select:invalid:focus,
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.was-validated .form-check-input:invalid,
.form-check-input.is-invalid {
    border-color: #dc3545 !important;
}

.was-validated .form-check-input:invalid:checked,
.form-check-input.is-invalid:checked {
    background-color: #dc3545 !important;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid,
.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.validation-error {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #f5c2c7;
    border-radius: 0.375rem;
    background-color: #f8d7da;
    color: #842029;
    font-weight: 500;
}

/* ===== Hide Submit/Continue Buttons by Default ===== */

/* Hide all payment method sections and buttons initially */
.paymentmethod {
    display: none !important;
}

/* Show payment section when it has the active class */
.paymentmethod.show-payment {
    display: block !important;
}

/* ===== Conditional Addon Section Display ===== */

#addonSection {
    display: none;
}

#addonSection.show-addons {
    display: block;
}

#addonSection.no-addons h2,
#addonSection.no-addons h3,
#addonSection.no-addons h4 {
    display: none !important;
}

/* ===== Responsive Design ===== */

@media (max-width: 768px) {
    .page-section {
        padding: 40px 0 20px !important;
    }
    
    .page-section .row.g-3 {
        row-gap: 0.5rem !important;
    }
    
    .page-section .col-12 {
        margin-bottom: 0.5rem !important;
    }
    
    .quantity-actions {
        gap: 6px !important;
        padding: 6px 10px !important;
    }
    
    .quantity-actions button {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        font-size: 18px !important;
    }
    
    .quantity-input {
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        font-size: 16px !important;
        line-height: 36px !important;
    }
}

@media (max-width: 576px) {
    .page-section {
        padding: 30px 0 15px !important;
    }
    
    .page-section .form-control,
    .page-section .form-select {
        padding: 6px 10px !important;
    }
    
    .quantity-actions button {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        font-size: 16px !important;
    }
    
    .quantity-input {
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        font-size: 14px !important;
        line-height: 32px !important;
    }
}

/* ===== Book Now Button Link Styling ===== */

/* Ensure anchor tags styled as buttons work properly */
a.btn-book {
    display: block;
    text-decoration: none;
    text-align: center;
}

a.btn-book:hover {
    text-decoration: none;
}

/* Fix button styling for anchor tags */
.package-card a.btn-book {
    background: var(--accent-color);
    color: #fff !important;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
}

.package-card a.btn-book:hover {
    background: var(--primary-color);
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(124,77,255,0.4);
    text-decoration: none;
}