/* Custom Luxury Styles */

:root {
    --primary-color: #0f172a;
    /* Dark Blue */
    --secondary-color: #0ea5e9;
    /* Vibrant Blue */
    --accent-color: #0ea5e9;
    /* Cyan */
    --bg-color: #f8fafc;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-color);
}

/* Colors */
.text-dark-blue {
    color: var(--primary-color) !important;
}

.text-cyan {
    color: var(--accent-color) !important;
}

.bg-dark-blue {
    background-color: var(--primary-color) !important;
}

.bg-cyan {
    background-color: var(--accent-color) !important;
}

.bg-light-cyan {
    background-color: rgba(14, 165, 233, 0.1) !important;
}

.hover-cyan:hover {
    color: var(--accent-color) !important;
    transition: color 0.3s ease;
}

b,
strong {
    color: #000;
}

.cancellation-fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
}

.cancellation-fees-table th,
.cancellation-fees-table td {
    border: 1px solid #dee2e6;
    padding: 16px;
    text-align: left;
    vertical-align: middle;
}

.cancellation-fees-table th {
    background: #ffffff;
    color: #0b1d3a;
    font-size: 18px;
    font-weight: 700;
}

.newsletter .btn:hover {
    color: #fff;
    background-color: #0ea5e9;
}

.cancellation-fees-table tbody tr:nth-child(odd) {
    background: #f8f9fa;
}

.cancellation-fees-table td {
    font-size: 16px;
    color: #333;
}

/* Header & Nav */
.custom-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.custom-header .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.custom-header .nav-link:hover {
    color: var(--accent-color);
}

.btn-premium {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
    color: white;
}

.dropdown-toggle::after {
    display: none;
}

/* Cards */
.premium-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(0);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.transition-scale {
    transition: transform 0.6s ease;
}

.premium-card:hover .transition-scale {
    transform: scale(1.05);
}

/* Pagination */
.custom-pagination {
    display: flex;
    gap: 8px;
}

.custom-pagination .page-link {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 20px;
    color: var(--primary-color);
    background: white;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.custom-pagination .page-link:hover:not(.disabled):not(.active) {
    background: var(--bg-color);
    border-color: #cbd5e1;
    color: var(--secondary-color);
}

.custom-pagination .page-link.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.custom-pagination .page-link.disabled {
    color: #94a3b8;
    background: #f1f5f9;
    cursor: not-allowed;
}

/* Service Card */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(14, 165, 233, 0.2);
    transform: translateY(-5px);
}

/* Testimonial */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Footer */
.custom-footer {
    background-color: var(--primary-color);
}

.footer-title {
    color: white;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
}

.footer-links a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

/* Dropdown Styles */
.dropdown-toggle::after {
    display: none !important;
}

.custom-footer {
    padding-bottom: 0 !important;
}

.offcanvas {
    background-color: #ffffff !important;
    height: 100vh;
}


@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeDown 0.3s ease forwards;
    }

    .navbar-expand-lg .navbar-nav {
        align-items: center;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

.icon-vibrate {
    display: inline-block;
    animation: ring 1.5s infinite ease-in-out;
}

.dropdown-menu {
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
    animation: fadeDown 0.3s ease forwards;
}

.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--accent-color);
}

/* Dynamic Policy Content Styles */
.dynamic-policy-content h2 {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.dynamic-policy-content h3 {
    background-color: rgba(14, 165, 233, 0.1);
    /* bg-light-cyan */
    color: #0f172a;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin-bottom: 0;
    border-left: 4px solid #0dcaf0;
    /* border-cyan */
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.dynamic-policy-content h3::before {
    content: "\f0e7";
    /* bolt icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #0dcaf0;
    margin-right: 0.5rem;
}

.dynamic-policy-content h3+ul {
    background-color: rgba(14, 165, 233, 0.1);
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-left: 4px solid #0dcaf0;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    margin-bottom: 3rem;
    list-style: none;
    color: #6c757d;
}

.dynamic-policy-content h3+ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.8;
}

.dynamic-policy-content h3+ul li::before {
    content: "\f058";
    /* check-circle icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #0dcaf0;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.dynamic-policy-content p {
    color: #6c757d;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.dynamic-policy-content table {
    width: 100%;
    margin-bottom: 3rem;
    border-collapse: collapse;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.dynamic-policy-content table th {
    background-color: #0f172a;
    color: #fff;
    padding: 1rem;
    text-align: left;
    border: 1px solid #dee2e6;
    font-weight: bold;
}

.dynamic-policy-content table td {
    padding: 1rem;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.dynamic-policy-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.dynamic-policy-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}


.dynamic-policy-content h3+p+ul {
    background-color: rgba(14, 165, 233, 0.1);
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-left: 4px solid #0dcaf0;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    margin-bottom: 3rem;
    list-style: none;
    color: #6c757d;
    margin-top: -1.5rem;
    /* to pull it up over the empty p */
}

.dynamic-policy-content h3+p+ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.8;
}

.dynamic-policy-content h3+p+ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #0dcaf0;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

/* General UL styling (for lists not right after h3) */
.dynamic-policy-content ul:not(.dynamic-policy-content h3 + ul):not(.dynamic-policy-content h3 + p + ul) {
    list-style: none;
    padding-left: 0;
    color: #6c757d;
    line-height: 2;
    margin-bottom: 2rem;
}

.dynamic-policy-content ul:not(.dynamic-policy-content h3 + ul):not(.dynamic-policy-content h3 + p + ul) li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.8rem;
}

.dynamic-policy-content ul:not(.dynamic-policy-content h3 + ul):not(.dynamic-policy-content h3 + p + ul) li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #0dcaf0;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

/* Airline policy links accordion */
.airline-policies-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #d5ddeb;
    border-radius: 0;
}

.airline-policies-accordion .accordion-button {
    padding: 1.5rem 0;
    color: #06155c;
    background: transparent;
    box-shadow: none;
    font-size: 1.25rem;
    font-weight: 700;
}

.airline-policies-accordion .accordion-button::after {
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background-image: none;
    content: '+';
    color: #06155c;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.75rem;
    text-align: center;
    transform: none;
}

.airline-policies-accordion .accordion-button:not(.collapsed)::after {
    content: '\2212';
}

.airline-policies-accordion .accordion-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    padding: 0 0 1.5rem;
}

.airline-policy-link {
    display: block;
    min-height: 3.25rem;
    padding: .85rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    color: #071ac8;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.airline-policy-link:hover {
    border-color: #0ea5e9;
    background-color: rgba(14, 165, 233, .05);
}

@media (max-width: 1440px) {
    .navbar-brand img {
        width: 190px !important;
    }

    .offcanvas-body a {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 767.98px) {
    .airline-policies-accordion .accordion-body {
        grid-template-columns: 1fr;
    }
}

/* Content Box List Styling */
.content-box ul, .content-box ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}
.content-box ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}
.content-box ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
}