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

:root {
    --background-dark: #051428;
    --background-mid: #0e2b56;
    --surface: rgba(255, 255, 255, 0.95);
    --surface-soft: rgba(255, 255, 255, 0.88);
    --text-primary: #000000;
    --text-muted: #666666;
    --accent: #ff6b35;
    --accent-soft: #ffc49b;
    --brand: #1c7bff;
    --border-soft: rgba(255, 255, 255, 0.14);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f2fff4 48%, #dff7e4 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-surface {
    background: var(--surface);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 24px 80px rgba(3, 19, 49, 0.18);
    border: 1px solid rgba(255,255,255,0.16);
    margin-bottom: 2rem;
}

.card-highlight {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(31, 78, 144, 0.12);
    box-shadow: 0 18px 40px rgba(4, 28, 60, 0.08);
    border-radius: 18px;
    padding: 1.75rem;
}

.hero {
    background:
        linear-gradient(135deg, rgba(1, 12, 28, 0.72), rgba(2, 44, 82, 0.52)),
        url('subheading-background.svg') center / cover no-repeat;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 30px 80px rgba(2, 22, 46, 0.22);
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.82);
}

.navbar {
    background: black;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 230px;
    max-width: 46vw;
    height: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-soft);
    opacity: 0.95;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

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

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

.btn-secondary {
    background-color: #3b90fb;
    color: white;
}

.btn-secondary:hover {
    background-color: #1c6fed;
}

.features h2,
.section-surface h2 {
    color: #0f2455;
}

.feature {
    background: rgba(255,255,255,0.94);
    padding: 1.75rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(4, 28, 60, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 45px rgba(4, 28, 60, 0.10);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3,
.summary-card h3,
.delivery-info-box h3 {
    color: #0f2455;
}

.footer {
    background: rgba(2, 20, 44, 0.97);
    color: white;
    padding: 3rem 0 0 0;
    margin-top: 3rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
}

/* Navbar */
.navbar {
    background-color: white;
    color: #0f2455;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #0f2455;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.btn-primary, .btn-secondary {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #ff6b35;
    color: white;
}

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

.btn-secondary {
    background-color: #4CAF50;
    color: white;
}

.btn-secondary:hover {
    background-color: #45a049;
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(1, 12, 28, 0.72), rgba(2, 44, 82, 0.52)),
        url('subheading-background.svg') center / cover no-repeat;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.hero-subheading {
    display: block;
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin: 0 0 2rem;
}

.hero-image-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.hero-image-text {
    padding: 3rem;
}

.hero-image-text h2 {
    color: #003d82;
    margin-bottom: 1rem;
}

.hero-image-text p {
    color: #555;
    line-height: 1.8;
}

.admin-credentials {
    margin-top: 1.5rem;
    background-color: #e7f3ff;
    border: 1px solid #c5e1ff;
    color: #0f3f78;
}

.admin-credentials p {
    margin: 0.5rem 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 3rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #003d82;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #003d82;
    margin-bottom: 0.5rem;
}

.homepage-aircraft {
    margin: 0 auto 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(4, 28, 60, 0.16);
    background: white;
}

.homepage-aircraft img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.pricing-section {
    background: rgba(255, 255, 255, 0.58);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    display: grid;
    gap: 0.75rem;
    min-height: 210px;
    background: white;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pricing-card h3 {
    color: #003d82;
}

.pricing-card-time {
    color: #52616f;
    font-weight: 600;
}

.pricing-card-price {
    color: #ff6b35;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.pricing-status {
    margin-top: 1rem;
    color: #721c24;
    text-align: center;
}

/* Page Content */
.page-content {
    padding: 2rem 0;
    min-height: calc(100vh - 250px);
}

.page-content h1 {
    color: #003d82;
    margin-bottom: 0.5rem;
}

.subtitle {
    display: block;
    color: white;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 760px;
    padding: 1.35rem 1.5rem;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(3, 12, 28, 0.86), rgba(5, 30, 54, 0.58)),
        url('subheading-background.svg') center / cover no-repeat;
    box-shadow: 0 18px 45px rgba(4, 28, 60, 0.18);
}

/* Forms */
.delivery-form,
.track-search {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

fieldset {
    border: none;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

fieldset:last-of-type {
    border-bottom: none;
}

legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: #003d82;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #003d82;
    box-shadow: 0 0 4px rgba(0,61,130,0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.price-preview {
    margin-top: 0.5rem;
    color: #003d82;
    font-weight: 700;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hidden {
    display: none !important;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.summary-card h3 {
    margin-bottom: 0.75rem;
    color: #003d82;
}

.data-table {
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
}

.data-table th,
.data-table td {
    padding: 0.9rem 1rem;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: #f1f5f9;
    color: #102a43;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.status-pill {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: white;
}

.status-pill.pending { background: #ff9800; }
.status-pill.in-transit { background: #4169e1; }
.status-pill.delivered { background: #28a745; }
.status-pill.delayed { background: #dc3545; }

.no-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Track Search */
.track-search {
    display: flex;
    gap: 1rem;
}

.track-search form {
    flex: 1;
    display: flex;
    gap: 1rem;
}

.track-search .form-group {
    flex: 1;
    margin: 0;
}

.track-search input {
    width: 100%;
}

.track-search button {
    align-self: flex-end;
}

/* Messages */
.success-message,
.error-message,
.info-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 1rem;
}

.success-message strong {
    display: block;
    margin: 0.5rem 0;
    font-family: monospace;
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: 4px;
    word-break: break-all;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.error-message h3 {
    color: #721c24;
    margin-bottom: 1rem;
}

.info-box {
    background-color: #e2e3e5;
    border: 1px solid #d6d8db;
    color: #383d41;
}

.hidden {
    display: none !important;
}

/* Tracking Results */
.tracking-results {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
}

.tracking-code {
    flex: 1;
}

.tracking-code p {
    color: #666;
    margin-bottom: 0.5rem;
}

.tracking-code h2 {
    font-size: 1.5rem;
    font-family: monospace;
    color: #003d82;
}

.status-badge {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Timeline */
.timeline {
    margin: 2rem 0;
    padding: 2rem 0;
}

.timeline h3 {
    color: #003d82;
    margin-bottom: 1.5rem;
}

.timeline-items {
    position: relative;
    padding-left: 30px;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -28px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ddd;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #ddd;
}

.timeline-item.active .timeline-marker {
    background-color: #28A745;
    box-shadow: 0 0 0 2px #28A745;
}

.timeline-content {
    padding: 0.5rem;
}

.timeline-content strong {
    color: #003d82;
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 0.25rem;
}

.timeline-content .note {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

/* Delivery Info Grid */
.delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.delivery-info-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #003d82;
}

.delivery-info-box h3 {
    color: #003d82;
    margin-bottom: 1rem;
}

.info-content {
    line-height: 1.8;
}

.info-content p {
    margin-bottom: 0.5rem;
    color: #666;
}

.info-content strong {
    color: #333;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.summary-card h3 {
    margin-bottom: 0.75rem;
    color: #003d82;
}

.summary-card p {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.pricing-settings h2 {
    color: #003d82;
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.pricing-settings .info-box {
    margin-top: 1rem;
    margin-bottom: 0;
}

.data-table {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f5f8fb;
    color: #003d82;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.status-pill {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.status-pill.pending { background-color: #ff9800; }
.status-pill.in-transit { background-color: #007bff; }
.status-pill.delivered { background-color: #28a745; }
.status-pill.delayed { background-color: #dc3545; }
.status-pill.default { background-color: #6c757d; }

.no-content {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    color: #856404;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background-color: #003d82;
    color: white;
    padding: 3rem 0 0 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    position: relative;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.admin-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 1.5rem;
    text-decoration: none;
    color: #ff6b35;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    display: inline-block;
    padding: 0.5rem;
}

.admin-icon:hover {
    color: #ff5a1e;
    transform: scale(1.2) rotate(15deg);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image-inner {
        grid-template-columns: 1fr;
    }

    .tracking-header {
        flex-direction: column;
        gap: 1rem;
    }

    .track-search form {
        flex-direction: column;
    }

    .track-search button {
        align-self: stretch;
    }

    .delivery-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .tracking-code-content {
        flex-direction: column;
    }

    .tracking-code-content code {
        min-width: 100%;
    }

    .admin-icon {
        position: static;
        display: inline-block;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .page-content {
        padding: 1rem 0;
    }

    .delivery-form,
    .track-search {
        padding: 1rem;
    }
}
