/* ==========================================
   CSS SYSTEM - NOIBAI CONNECT LANDING PAGE
   ========================================== */

:root {
    /* Color Palette */
    --primary: #1d4ed8;          /* Cobalt Blue (Aviation / Trust) */
    --primary-hover: #1e40af;
    --primary-light: rgba(29, 78, 216, 0.1);
    --secondary: #f97316;        /* Safety Orange (Taxi Accent / CTA) */
    --secondary-hover: #ea580c;
    --secondary-light: rgba(249, 115, 22, 0.1);
    --dark: #0f172a;             /* Slate 900 */
    --dark-light: #1e293b;       /* Slate 800 */
    --light: #f8fafc;            /* Slate 50 */
    --gray: #64748b;             /* Slate 500 */
    --gray-light: #e2e8f0;       /* Slate 200 */
    --white: #ffffff;
    --success: #10b981;          /* Emerald Green */
    --gold: #f59e0b;             /* Amber Gold */
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.35);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Containers */
    --max-width: 1200px;
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-light);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light);
}

.text-white { color: var(--white) !important; }
.text-gray { color: var(--gray) !important; }
.text-orange { color: var(--secondary) !important; }
.bg-red-light { background-color: rgba(239, 35, 60, 0.1); color: #ef233c; }
.bg-blue-light { background-color: rgba(29, 78, 216, 0.1); color: var(--primary); }
.bg-green-light { background-color: rgba(16, 185, 129, 0.1); color: var(--success); }

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: var(--dark);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* CSS-based Premium Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    position: relative;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Nav Menu */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-call {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 1100;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-menu.open {
    right: 0;
}

.mobile-nav-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 20px;
}

.mobile-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.mobile-link:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.mobile-call-btn {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: var(--shadow-glow);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    background-image: url('assets/noibai_connect_hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 20%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge {
    align-self: flex-start;
    background-color: var(--primary-light);
    border: 1px solid rgba(29, 78, 216, 0.3);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 46px;
    line-height: 1.2;
    color: var(--white);
}

.hero-title .highlight {
    background: linear-gradient(to right, #f97316, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-feature-item i {
    color: var(--secondary);
}

/* Booking Card (Glassmorphism) */
.booking-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-glass);
    overflow: hidden;
}

.tab-content.active {
    display: block;
    padding: 28px 32px 32px;
}

.booking-card-header {
    margin-bottom: 24px;
    text-align: center;
}

.booking-card-header h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-card-header h3 i {
    color: var(--secondary);
}

.booking-card-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--secondary);
    font-size: 14px;
}

.form-group select, 
.form-group input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--white);
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group select option {
    background-color: var(--dark);
    color: var(--white);
}

.form-group select:focus, 
.form-group input:focus {
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.12);
}

.route-inputs {
    display: flex;
    flex-direction: row !important;
    align-items: flex-end;
    gap: 10px;
}

.route-inputs .input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-swap-route {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    transition: var(--transition-fast);
}

.btn-swap-route:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: rotate(180deg);
}

.form-row {
    display: flex;
    gap: 16px;
}

.width-50 {
    width: 50%;
}

.price-estimation {
    background-color: rgba(249, 115, 22, 0.1);
    border: 1px dashed rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

.estimated-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
}

.btn-submit-booking {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* ==========================================
   SECTION HEADER
   ========================================== */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-header .sub-title {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding: 0 16px;
}

.section-header .sub-title::before,
.section-header .sub-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    transform: translateY(-50%);
}

.section-header .sub-title::before { left: 0; }
.section-header .sub-title::after { right: 0; }

.section-header h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    color: var(--gray);
    font-size: 16px;
}

/* ==========================================
   SERVICES & PRICING
   ========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 35px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(29, 78, 216, 0.2);
}

.pricing-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.pricing-icon {
    width: 54px;
    height: 54px;
    background-color: var(--light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.pricing-card:hover .pricing-icon {
    background-color: var(--primary);
    color: var(--white);
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.pricing-desc {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pricing-routes {
    background-color: var(--light);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.route-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.route-price-item span {
    color: var(--gray);
}

.route-price-item strong {
    font-size: 16px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
}

.pricing-features li i {
    color: var(--success);
    margin-top: 4px;
}

.btn-pricing-select {
    width: 100%;
}

/* Featured Card Styles */
.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(29, 78, 216, 0.1);
}

.pricing-card.featured .pricing-icon {
    background-color: var(--primary-light);
    color: var(--primary);
}

.pricing-card.featured:hover .pricing-icon {
    background-color: var(--primary);
    color: var(--white);
}

.pricing-card.featured .route-price-item strong {
    color: var(--secondary);
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.02);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
}

.why-icon-box.bg-blue { background-color: var(--primary); box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25); }
.why-icon-box.bg-orange { background-color: var(--secondary); box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25); }
.why-icon-box.bg-green { background-color: var(--success); box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25); }
.why-icon-box.bg-gold { background-color: var(--gold); box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25); }

.why-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
}

.step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.step-number {
    position: absolute;
    top: -24px;
    font-size: 72px;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.04);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.step-item:hover .step-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
    box-shadow: var(--shadow-md);
}

.step-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.step-item p {
    color: var(--gray);
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(0,0,0,0.01);
}

.stars {
    color: var(--gold);
    display: flex;
    gap: 4px;
}

.comment {
    font-style: italic;
    color: var(--dark-light);
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.client-info h5 {
    font-size: 15px;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 12px;
    color: var(--gray);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */

.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-col {
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--secondary);
    font-size: 16px;
    margin-top: 4px;
}

.contact-info li div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.contact-info li strong a {
    font-size: 18px;
    color: var(--white);
}

.contact-info li strong a:hover {
    color: var(--secondary);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ==========================================
   FLOATING WIDGETS
   ========================================== */

.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.widget-zalo, .widget-call {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: var(--transition-normal);
}

.widget-zalo {
    background-color: var(--white);
    padding: 8px;
}

.widget-zalo img {
    width: 100%;
    height: 100%;
}

.widget-zalo:hover {
    transform: scale(1.1) translateY(-3px);
}

.widget-call {
    background-color: var(--secondary);
    color: var(--white);
    font-size: 22px;
    animation: ring 1.5s infinite;
}

.widget-call:hover {
    transform: scale(1.1);
}

/* ==========================================
   MODAL DIALOG
   ========================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--white);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--secondary);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.modal-card h2 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 12px;
}

.modal-card > p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 24px;
}

.modal-details {
    background-color: var(--light);
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
    border: 1px solid var(--gray-light);
}

.modal-details h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

.modal-details ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-details li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.modal-details li span {
    color: var(--gray);
}

.modal-details li strong {
    color: var(--dark);
}

.modal-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    margin-bottom: 20px;
}

.modal-price span {
    font-weight: 600;
    font-size: 14px;
}

.modal-price strong {
    font-size: 24px;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
}

.modal-note {
    font-size: 12px;
    color: var(--gold);
    background-color: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    padding: 10px 14px;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 24px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.modal-note i {
    margin-top: 2px;
}

.btn-modal-close {
    width: 100%;
    padding: 14px;
}

/* ==========================================
   ANIMATIONS & MEDIA QUERIES
   ========================================== */

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

@keyframes ring {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6);
    }
    10% {
        transform: scale(1.1) rotate(-15deg);
    }
    20% {
        transform: scale(1.1) rotate(15deg);
    }
    30% {
        transform: scale(1.1) rotate(-15deg);
    }
    40% {
        transform: scale(1.1) rotate(15deg);
    }
    50% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
    }
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

/* Media Queries */

/* Tablet & Mobile Landscape */
@media (max-width: 1024px) {
    .header-container {
        height: 70px;
    }
    .nav {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding-top: 20px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 38px;
    }
    .badge {
        align-self: center;
    }
    .hero-features {
        justify-content: center;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile Portrait */
@media (max-width: 640px) {
    .section-padding {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .booking-card {
        padding: 24px 16px;
    }
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    .width-50 {
        width: 100%;
    }
    .section-header h2 {
        font-size: 26px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .floating-widgets {
        bottom: 20px;
        right: 20px;
    }
    .widget-zalo, .widget-call {
        width: 48px;
        height: 48px;
    }
    .modal-card {
        padding: 24px 16px;
    }
}

/* ==========================================
   BOOKING TABS
   ========================================== */

.booking-tabs {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-tab {
    flex: 1;
    padding: 14px 10px;
    border: none;
    background: transparent;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.booking-tab:hover {
    color: var(--primary);
    background: rgba(29, 78, 216, 0.04);
}

.booking-tab.active {
    color: var(--white);
    background: rgba(249, 115, 22, 0.15);
    border-bottom-color: var(--secondary);
}

.tab-content {
    display: none;
}

/* ==========================================
   INTER-PROVINCE SECTION
   ========================================== */

.bg-dark-navy {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.bg-dark-navy::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 40%, rgba(29, 78, 216, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 70%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.text-white { color: #ffffff !important; }
.text-light-gray { color: rgba(255, 255, 255, 0.7) !important; }
.sub-title.light {
    color: var(--secondary) !important;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.bg-dark-navy .section-header h2 { color: #ffffff; }
.bg-dark-navy .section-header p { color: rgba(255,255,255,0.7); }

/* Province Featured Cards Grid */
.province-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.province-route-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.province-route-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.province-route-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.province-route-card:hover::before { opacity: 1; }

.route-card-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: block;
    animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.route-card-dest {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
}

.route-card-km {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.route-card-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.route-card-price strong {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 700;
}

.route-card-highlights {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    text-align: left;
}

.route-card-highlights li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.route-card-highlights li i {
    color: var(--success);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.btn-sm {
    font-size: 0.82rem;
    padding: 8px 18px;
    min-height: auto;
}

/* Province Pricing Table */
.province-table-wrapper {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.table-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-title i { color: var(--secondary); }

.province-table-scroll {
    overflow-x: auto;
    border-radius: 12px;
}

.province-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 640px;
}

.province-table thead tr {
    background: linear-gradient(90deg, var(--primary), #1e40af);
}

.province-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.province-table thead th:first-child { border-radius: 12px 0 0 0; }
.province-table thead th:last-child { border-radius: 0 12px 0 0; }

.province-table tbody tr {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition-fast);
}

.province-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.09);
}

.province-table tbody tr.highlight-row {
    background: rgba(249, 115, 22, 0.07);
    border-left: 3px solid var(--secondary);
}

.province-table tbody tr.highlight-row:hover {
    background: rgba(249, 115, 22, 0.12);
}

.province-table td {
    padding: 13px 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    vertical-align: middle;
}

.province-table td:first-child {
    font-weight: 600;
    color: #ffffff;
}

.prov-icon {
    display: inline-block;
    margin-right: 4px;
}

.price-tag {
    color: var(--secondary) !important;
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-table-book {
    background: rgba(29, 78, 216, 0.7);
    border: 1px solid rgba(29, 78, 216, 0.5);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-table-book:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.05);
}

.table-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.table-note i { color: var(--secondary); margin-right: 4px; }
.table-note strong { color: rgba(255,255,255,0.8); }

/* Province select disabled styling */
select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--gray-light);
}

/* ==========================================
   RESPONSIVE - INTER-PROVINCE
   ========================================== */

@media (max-width: 1024px) {
    .province-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .province-featured-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .province-route-card {
        padding: 18px 12px;
    }
    .route-card-icon { font-size: 2rem; }
    .route-card-dest { font-size: 1.1rem; }
    .route-card-highlights { display: none; }
    .province-table-wrapper { padding: 16px; }
    .booking-tab { font-size: 0.82rem; padding: 12px 8px; gap: 5px; }
    .booking-tab i { font-size: 0.9rem; }
}

@media (max-width: 420px) {
    .province-featured-grid {
        grid-template-columns: 1fr;
    }
}

