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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===============================
   HEADER – CLEAN FIX
================================ */

header {
    background: linear-gradient(135deg, #FF0000 0%, #00AA00 25%, #FFFF00 50%, #0000FF 75%, #FF0000 100%);
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Container */
.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-img {
    height: 40px;
    width: auto;
}

/* Nav */
header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: nowrap;
}

header nav {
    flex-shrink: 0;
}
@media (max-width: 480px) {

    .header-container {
        padding: 0 10px;
    }

    header nav ul {
        gap: 10px;
    }

    header nav a {
        font-size: 12px;
        padding: 4px 6px;
    }

    .logo-img {
        height: 30px;
    }
}


/* Links */
header nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.2s ease;
}

header nav a:hover {
    background: rgba(255,255,255,0.2);
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255,0,0,0.1) 0%, rgba(0,170,0,0.1) 25%, rgba(255,255,0,0.1) 50%, rgba(0,0,255,0.1) 75%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 30px 0;
    border: 3px solid;
    border-image: linear-gradient(135deg, #FF0000, #00AA00, #FFFF00, #0000FF) 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FF0000, #00AA00, #FFFF00, #0000FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: #555;
    margin-bottom: 10px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: black;
}

.tab-button:nth-child(1) {
    background-color: #FF0000;
}

.tab-button:nth-child(1):hover {
    background-color: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,0,0,0.4);
}

.tab-button:nth-child(2) {
    background-color: #00AA00;
}

.tab-button:nth-child(2):hover {
    background-color: #008800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,170,0,0.4);
}

.tab-button:nth-child(3) {
    background-color: #FFFF00;
    color: #333;
}

.tab-button:nth-child(3):hover {
    background-color: #CCCC00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,0,0.4);
}

.tab-button.active {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}
.tab-button.active {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            border: 2px solid #000;
        }
        /* FAQ toggle styles */
        .faq-answer {
            display: none;
        }
        .faq-answer.active {
            display: block;
        }
.tab-content.standalone {
    display: block !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Forms */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-container h2 {
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
    border-bottom: 3px solid;
    padding-bottom: 15px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0000FF;
    box-shadow: 0 0 5px rgba(0,0,255,0.3);
}

select {
    cursor: pointer;
    appearance: none;
    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='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Submit Button */
.submit-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: black;
    margin-top: 20px;
}

.tab-content:nth-child(1) .submit-btn {
    background-color: #FF0000;
}

.tab-content:nth-child(1) .submit-btn:hover {
    background-color: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,0,0,0.4);
}

.tab-content:nth-child(2) .submit-btn {
    background-color: #00AA00;
}

.tab-content:nth-child(2) .submit-btn:hover {
    background-color: #008800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,170,0,0.4);
}

.tab-content:nth-child(3) .submit-btn {
    background-color: #FFFF00;
    color: #333;
}

.tab-content:nth-child(3) .submit-btn:hover {
    background-color: #CCCC00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,0,0.4);
}

/* Section Styling */
section {
    margin: 50px 0;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid;
}

#how-it-works h2 {
    border-bottom-color: #FF0000;
    color: #FF0000;
}

#faq h2 {
    border-bottom-color: #00AA00;
    color: #00AA00;
}

#terms h2 {
    border-bottom-color: #0000FF;
    color: #0000FF;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    background: linear-gradient(135deg, rgba(255,0,0,0.1) 0%, rgba(0,170,0,0.1) 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid;
    transition: all 0.3s ease;
}

.step:nth-child(1) {
    border-left-color: #FF0000;
}

.step:nth-child(2) {
    border-left-color: #00AA00;
}

.step:nth-child(3) {
    border-left-color: #FFFF00;
}

.step:nth-child(4) {
    border-left-color: #0000FF;
}

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

.step-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FF0000, #00AA00, #FFFF00, #0000FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.step p {
    color: #666;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: linear-gradient(135deg, rgba(0,170,0,0.1) 0%, rgba(0,170,0,0.05) 100%);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 5px solid #00AA00;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(0,170,0,0.2) 0%, rgba(0,170,0,0.1) 100%);
}

.faq-toggle {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: #f9f9f9;
    color: #666;
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

/* Terms of Service */
.terms-section {
    margin-bottom: 30px;
}

.terms-section h3 {
    color: #0000FF;
    margin-bottom: 15px;
    font-size: 18px;
}

.terms-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.terms-section ul {
    margin-left: 20px;
    color: #666;
    line-height: 1.8;
}

.terms-section li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #FF0000 0%, #00AA00 25%, #FFFF00 50%, #0000FF 75%, #FF0000 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

footer p {
    margin-bottom: 10px;
}

/* =====================================================
   HEADER MOBILE RESPONSIVE - APPLIED FROM REFERENCE
===================================================== */


   


    header nav a, #mainHeader nav a {
        font-size: 12px !important;
        padding: 5px 8px !important;
    }

    header img, #mainHeader .logo-img {
        max-height: 30px !important;
    }


/* Ensure header remains horizontal on smaller phones */
@media (max-width: 500px) {
    header .header-container, 
    #mainHeader .header-container {
        padding: 0 10px !important;
    }

    


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

    .hero h1 {
        font-size: 32px;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .form-container {
        padding: 20px;
    }

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

    section {
        padding: 20px;
    }
}

/* Success Message */
.success-message {
    display: none;
    background: #00AA00;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* --- FLIGHT & HOTEL SPECIFIC RULES --- */
.passenger-block { 
    border: 1px dashed #cbd5e0; 
    padding: 20px; 
    border-radius: 8px; 
    margin-bottom: 25px; 
    background: #fafafa; 
}

.multicity-segment { 
    border-left: 4px solid #0000FF; 
    padding-left: 20px; 
    margin-bottom: 20px; 
    background: #f8faff;
    padding-top: 10px;
    padding-bottom: 10px;
}

#mainHeader nav {
    flex-shrink: 0 !important;
}
@media (max-width: 768px) {
    #mainHeader nav ul {
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* 
   IMPORTANT: On the flight-only page, we don't have tabs, 
   so we add this class to make the content visible immediately.
*/
.tab-content.standalone {
    display: block !important;
}

.trip-type-container { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 25px; 
    background: #f0f4f8; 
    padding: 15px; 
    border-radius: 8px; 
}

.trip-type-container label { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    cursor: pointer; 
    margin-bottom: 0; 
    font-size: 14px;
}

/* FIX: Show form on standalone pages */
.tab-content.standalone { display: block !important; }

/* FIX: Stop header from blocking mouse clicks */
#mainHeader { z-index: 100; }

/* FIX: Form visibility */
.tab-content { opacity: 1; visibility: visible; }

/* =========================================
   FORCE HEADER HORIZONTAL (NO STACKING)
========================================= */

#mainHeader .header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}

#mainHeader nav {
    display: flex !important;
    align-items: center !important;
}

#mainHeader nav ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 25px !important;
    flex-wrap: nowrap !important;
}

#mainHeader nav ul li {
    display: inline-block !important;
}

#mainHeader nav a {
    white-space: nowrap !important;
}

body {
    padding-top: 70px;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.success-message.show {
    display: block;
}

/* Base styles for the commitment section */
#commitment {
  background-color: #fcfcfc;
  padding: 60px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Container for consistent width and centering */
#commitment .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section heading */
#commitment h2 {
  text-align: center;
  color: #333;
  margin-bottom: 40px;
}

/* Grid container – assumes it's the second child of .container */
#commitment .container > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Each feature card */
#commitment .container > div:nth-child(2) > div {
  text-align: center;
  padding: 20px;
}

/* Icon container (first child inside each card) */
#commitment .container > div:nth-child(2) > div > div:first-child {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Card heading */
#commitment .container > div:nth-child(2) > div h3 {
  color: #FF0000;
  margin-bottom: 10px;
}

/* Card paragraph */
#commitment .container > div:nth-child(2) > div p {
  color: #666;
  font-size: 14px;
}

/* Dashed box – assumes it's the last child of .container */
#commitment .container > div:last-child {
  margin-top: 40px;
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px dashed #ccc;
}

/* Paragraph inside the dashed box */
#commitment .container > div:last-child p {
  margin: 0;
  font-style: italic;
  color: #444;
}