/* Container and Layout Styles */
.contact-section {
    background-color: #f4f4f4;
    padding: 40px 0;
}

.contact-section .container {
    width: min(1400px, 92vw);
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.contact-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 768px) {
    .contact-section .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

.contact-section .col-md-5,
.contact-section .col-md-6,
.contact-section .col-md-offset-1 {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Apply grid widths at medium screens and above */
@media (min-width: 768px) {
    .contact-section .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .contact-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .contact-section .col-md-offset-1 {
        margin-left: 8.333333%;
    }
}

/* Content Styles */
.content h2.title, .form-block h2.title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.content p.title-sub.mini {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.info-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-box .img .fa {
    font-size: 24px;
    color: #007bff;
}

.info-box .info h3.hd {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.info-box .info p.sub-txt {
    font-size: 16px;
    color: #777;
    margin-bottom: 5px;
}

.info-box .info p.sub-txt a {
    color: #007bff;
    text-decoration: none;
}

.info-box .info p.sub-txt a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-block {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--color-gold, #C8A84B);
    outline: none;
}

.btn.btn-primary {
    background-color: var(--color-navy, #0B1F3A);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
}

.btn.btn-primary:hover {
    background-color: #1a3a6b;
}

.contact-section .dropdown {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgb(0 0 0 / 20%);
    z-index: 1;
}

.contact-section .dropdown li {
    float: none;
    display: block;
}

.contact-section .dropdown li a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.contact-section .dropdown li a:hover {
    background-color: #ddd;
}

/* Mobile padding adjustments */
@media (max-width: 767px) {
    .contact-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .form-block {
        padding: 20px 16px;
    }

    .contact-section {
        padding: 24px 0;
    }
}

/* Large-screen layout — prevent content feeling cramped */
@media (min-width: 1280px) {
    .contact-section .container {
        max-width: 1440px;
    }

    /* Remove offset column to use full width */
    .contact-section .col-md-offset-1 {
        margin-left: 0;
    }

    /* Rebalance columns: form gets slightly more space */
    .contact-section .col-md-6 {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .contact-section .col-md-5 {
        flex: 0 0 43%;
        max-width: 43%;
    }

    .contact-section {
        padding: 60px 0;
    }
}

@media (min-width: 1920px) {
    .contact-section .container {
        max-width: 1700px;
    }
}

@media (min-width: 2560px) {
    .contact-section .container {
        max-width: 2100px;
    }
}

/* Contact page layout refinement */
.contact-section-2 .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr);
    gap: 48px;
    align-items: start;
}

.contact-section-2 .contact-layout > .l,
.contact-section-2 .contact-layout > .r {
    float: none;
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.contact-section-2 .contact-layout > .l {
    grid-column: 1;
    grid-row: 1;
}

.contact-section-2 .contact-layout > .r {
    grid-column: 2;
    grid-row: 1;
}

.contact-section-2 .contact-layout > .r .content {
    max-width: 520px;
    padding-top: 8px;
}

.contact-section-2 .contact-heading {
    font-size: clamp(36px, 3.1vw, 56px);
    line-height: 1.05;
    margin: 0 0 24px;
    text-wrap: balance;
}

.contact-section-2 .contact-heading::after {
    margin-left: 0;
    margin-right: 0;
}

.contact-section-2 .r p {
    max-width: 48ch;
}

.contact-section-2 .r .info-box {
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-section-2 .r .info-box .img {
    margin-top: 2px;
}

.contact-section-2 .r .info-box .info {
    margin-left: 16px;
}

.contact-section-2 .r .sub-txt {
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    .contact-section-2 .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
        gap: 28px;
    }

    .contact-section-2 .contact-heading {
        font-size: clamp(32px, 3.5vw, 46px);
    }
}

@media (max-width: 991px) {
    .contact-section-2 .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-section-2 .contact-layout > .l,
    .contact-section-2 .contact-layout > .r {
        grid-column: auto;
        grid-row: auto;
    }

    .contact-section-2 .contact-layout > .r .content {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .contact-section-2 .contact-heading {
        font-size: clamp(30px, 10vw, 42px);
        margin-bottom: 16px;
    }

    .contact-section .container {
        width: auto;
    }

    .contact-section-2 .r .info-box .info {
        margin-left: 12px;
    }
}

.booking-card-link {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgb(11 31 58 / 12%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-card-link:hover,
.booking-card-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgb(11 31 58 / 16%);
}

.booking-card-link:focus-visible {
    outline: 3px solid var(--color-gold, #C8A84B);
    outline-offset: 4px;
}

.booking-card-image {
    display: block;
    width: 100%;
    height: auto;
}

.booking-card-caption {
    margin: 16px 0 0;
    color: #4a5b72;
    font-size: 16px;
    line-height: 1.6;
}

.booking-panel {
    border: 1px solid #dbe2ee;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 18px 38px rgb(11 31 58 / 10%);
    overflow: hidden;
}

.booking-panel-header {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 24px 24px 20px;
    background: #0b1f3a;
    color: #fff;
}

.booking-panel-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--color-gold, #c8a84b);
    color: #0b1f3a;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.booking-panel-title {
    margin: 0;
    font-size: clamp(28px, 3vw, 34px);
    line-height: 1.1;
    color: #fff;
}

.booking-panel-subtitle {
    margin: 8px 0 0;
    color: #d9e4f2;
    font-size: 16px;
    line-height: 1.5;
}

.booking-panel-body {
    padding: 24px;
}

.booking-panel-intro {
    margin: 0 0 14px;
    color: #22344d;
    font-size: 17px;
    line-height: 1.6;
}

.booking-panel-list {
    margin: 0;
    padding-left: 22px;
    color: #365884;
}

.booking-panel-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.booking-panel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-top: 24px;
    padding: 0 26px;
    border-radius: 14px;
    background: var(--color-gold, #c8a84b);
    color: #0b1f3a;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgb(200 168 75 / 25%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-panel-cta:hover,
.booking-panel-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgb(200 168 75 / 30%);
}

.booking-panel-cta:focus-visible {
    outline: 3px solid #0b1f3a;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .booking-panel-header,
    .booking-panel-body {
        padding: 20px;
    }

    .booking-panel-header {
        align-items: flex-start;
    }

    .booking-panel-badge {
        min-width: 64px;
        font-size: 16px;
    }

    .booking-panel-cta {
        width: 100%;
    }
}

.booking-panel-calendar {
    display: block;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #dbe2ee;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 50%);
}

.booking-panel-calendar-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.booking-panel-calendar-title {
    color: #0b1f3a;
    font-size: 18px;
    font-weight: 700;
}

.booking-panel-calendar-subtitle {
    color: #4a5b72;
    font-size: 14px;
}

.booking-panel-weekdays,
.booking-panel-dates {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.booking-panel-weekdays {
    margin-bottom: 10px;
    color: #4a5b72;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.booking-panel-dates span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    background: #f1f5fa;
    color: #365884;
    font-size: 15px;
    font-weight: 600;
}

.booking-panel-dates span:empty {
    background: transparent;
}

.booking-panel-dates .is-open {
    background: rgb(200 168 75 / 18%);
    color: #0b1f3a;
    border: 1px solid rgb(200 168 75 / 45%);
}

.booking-panel-calendar-note {
    margin: 14px 0 0;
    color: #4a5b72;
    font-size: 14px;
    line-height: 1.5;
}

.booking-panel-calendar:hover,
.booking-panel-calendar:focus-visible {
    border-color: rgb(200 168 75 / 65%);
    box-shadow: 0 10px 20px rgb(11 31 58 / 8%);
}

.booking-panel-calendar:focus-visible {
    outline: 3px solid var(--color-gold, #c8a84b);
    outline-offset: 4px;
}

.booking-panel-date,
.booking-panel-dates .is-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}

.booking-panel-dates .is-empty {
    background: transparent;
}

.booking-panel-date {
    background: #f1f5fa;
    color: #365884;
    text-decoration: none;
}

.booking-panel-date.is-open {
    background: rgb(200 168 75 / 18%);
    color: #0b1f3a;
    border: 1px solid rgb(200 168 75 / 45%);
}

.booking-panel-date.is-open:hover,
.booking-panel-date.is-open:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgb(11 31 58 / 8%);
}

.booking-panel-date.is-open:focus-visible {
    outline: 3px solid var(--color-gold, #c8a84b);
    outline-offset: 2px;
}

.booking-panel-date.is-past {
    background: #f6f8fb;
    color: #9aa8ba;
}

.booking-panel-date.is-today {
    box-shadow: inset 0 0 0 2px #0b1f3a;
}


.booking-panel-date.is-weekend {
    background: #eef2f7;
    color: #b0bccb;
}


.booking-panel-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.booking-panel-flag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgb(200 168 75 / 14%);
    border: 1px solid rgb(200 168 75 / 35%);
    color: #7a4a1d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}


.booking-panel-calendar-head-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.booking-panel-flag-inline {
    min-height: 30px;
}

