@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:wght@400;600&family=DM+Sans:wght@300;400;500;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0a1628;
    --navy-light: #162040;
    --gold: #c8a94a;
    --gold-light: #f0d98a;
    --cream: #faf8f3;
    --muted: #6b7280;
    --border: rgba(200, 169, 74, 0.25);
    --text: #1a1a2e;
    --primary: var(--navy);
    --primary-light: rgba(10, 22, 40, 0.04);
    --bg-color: #faf8f3;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-color);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content-area {
    flex-grow: 1;
}

/* ========== HEADER ========== */
.header {
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 9999;
    align-self: flex-start;
    width: 100%;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 0;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 1.2rem;
}

.footer-col.about p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col.links ul {
    list-style: none;
}

.footer-col.links li {
    margin-bottom: 10px;
}

.footer-col.links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col.links a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--gold);
}

.social-icons svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    border-top: 1px solid rgba(200, 169, 74, 0.2);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col.about p {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ========== PAGE CONTAINERS (Legal, FAQ) ========== */
.page-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem;
}

.page-container h1 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.page-container .subtitle {
    color: var(--muted);
    text-align: center;
    font-size: 16px;
    margin-bottom: 4rem;
}

.legal-container {
    max-width: 850px;
    margin: 3rem auto;
    padding: 2rem;
}

.legal-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(200, 169, 74, 0.15);
}

.legal-card h1 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 1rem;
}

.legal-card h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-size: 20px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.legal-card p,
.legal-card li {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-card ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.legal-card a {
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
}

.legal-card a:hover {
    color: var(--gold);
}

.last-updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 2rem;
}

@media(max-width: 600px) {

    .legal-container,
    .page-container {
        padding: 1rem;
        margin: 1.5rem auto;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .legal-card h1,
    .page-container h1 {
        font-size: 26px;
    }
}

/* ========== FAQ ACCORDION ========== */
.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    cursor: pointer;
}

.accordion-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: var(--navy);
    font-weight: 600;
}

.accordion-icon {
    font-size: 20px;
    color: var(--gold);
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    padding-bottom: 1.2rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* ========== HOW IT WORKS STEPS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(200, 169, 74, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(200, 169, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
}

.step-card h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.price-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(200, 169, 74, 0.1);
}

.price-card.popular {
    border: 2px solid var(--gold);
}

.price-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--gold);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 30px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.price-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 10px;
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 20px;
}

.price-amount span {
    font-size: 16px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.price-features li svg {
    color: #10b981;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.price-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: white;
}

.btn-solid {
    background: var(--navy);
    color: var(--gold);
    border: 1.5px solid var(--navy);
}

.btn-solid:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* ========== BLOGS ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(200, 169, 74, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eee;
}

.author-name {
    font-weight: 500;
    color: var(--text-dark);
}

.read-more-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}

.read-more-link:hover {
    color: var(--gold);
}

.post-container {
    max-width: 850px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.post-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(200, 169, 74, 0.15);
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.post-content {
    padding: 2.5rem 3rem;
}

.post-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.post-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.post-body {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-size: 22px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-body ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.back-link:hover {
    color: var(--gold);
}

@media(max-width: 600px) {
    .post-container {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 26px;
    }
}

/* ========== AUTHENTICATION (Login / Register) ========== */
.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, #162040 100%);
    position: relative;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.auth-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 26px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-card p.subtitle {
    color: var(--muted);
    text-align: center;
    font-size: 14px;
    margin-bottom: 2rem;
}

.field {
    margin-bottom: 1.2rem;
}

.field label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
    outline: none;
}

.field input:focus,
.field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 74, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--navy);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 14px;
    color: var(--muted);
}

.auth-footer a {
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
}

.auth-footer a:hover {
    color: var(--gold);
}

.msg-error {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
    padding: 12px;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.msg-success {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    color: #047857;
    padding: 12px;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* ========== PAGINATION ========== */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
    background: var(--white);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.pg-btn:hover:not(.pg-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
    color: var(--navy);
}

.pg-btn.pg-active {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
    box-shadow: 0 6px 16px rgba(10, 22, 40, 0.2);
    transform: translateY(-2px);
}

.pg-btn.pg-disabled {
    opacity: 0.5;
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.pg-ellipsis {
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 4px;
    line-height: 42px;
    font-weight: 600;
}

/* ========== POPULAR ROUTES ========== */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.route-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.route-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s;
    transform-origin: bottom;
}

.route-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(10, 22, 40, 0.06);
    border-color: var(--gold);
}

.route-card:hover::after {
    transform: scaleY(1);
}

.route-city {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.route-country {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ========== VERIFIED AIRLINES ========== */
.airlines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.airline-action-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    height: 110px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.airline-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(200, 169, 74, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.airline-action-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 35px rgba(10, 22, 40, 0.08);
    border-color: var(--gold);
    z-index: 2;
}

.airline-action-card:hover::before {
    opacity: 1;
}

.airline-action-card img {
    max-width: 90%;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.airline-action-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-8px);
}

.airline-action-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s;
    position: absolute;
    bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.03em;
}

.airline-action-card:hover .airline-action-name {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width: 900px) {
    .airlines-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 768px) {
    .airlines-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .airline-action-card {
        height: 90px;
        padding: 1rem;
    }
}

@media(max-width: 480px) {
    .airlines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}