/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003366;
    --secondary-blue: #0052CC;
    --accent-orange: #FF8A00;
    --dark-gray: #1A2B3C;
    --medium-gray: #4A5B6C;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --black: #000000;
    --success: #00A86B;
    --warning: #FFC107;
    --danger: #DC3545;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Smooth native scrolling */
html { scroll-behavior: smooth; }

/* Responsive images */
img { max-width: 100%; height: auto; display: block; }

/* Generic reveal-on-scroll helpers (used by script.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms cubic-bezier(.2,.9,.28,1), transform 520ms cubic-bezier(.2,.9,.28,1); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Reduced motion respects user preference */
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none !important; transform: none !important; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    line-height: 1;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
    border: 2px solid var(--secondary-blue);
}

.btn-primary:hover {
    background-color: #0047B3;
    border-color: #0047B3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.btn-outline:hover {
    background-color: rgba(0, 82, 204, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Navigation */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1100;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.25s ease;
    background: transparent;
}
.top-nav.solid {
    background: var(--white);
    box-shadow: 0 6px 22px rgba(18,36,63,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    font-size: 24px;
    line-height: 1;
}

.logo-text {
    color: var(--white);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 32px;
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
}

.utility-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.current-lang {
    font-weight: 600;
    font-size: 14px;
}

.icon-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    position: relative;
    padding: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--white);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--danger);
    color: var(--white);
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

/* Responsive navigation behaviour */
@media (max-width: 968px) {
    .mobile-menu-btn { display: block; color: var(--dark-gray); }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 12px 20px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
    .main-nav.mobile-open { display: flex; }
    .nav-link { color: var(--dark-gray); padding: 12px 8px; }
    .utility-nav { gap: 12px; }
    .logo-text { color: var(--dark-gray); }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* Modern hero wrapper used in the simplified layout */
.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.65);
    transition: transform 0.6s ease, filter 0.4s ease;
    will-change: transform;
}

.hero .hero-inner { position: relative; z-index: 2; }

/* Make hero content responsive */
.hero-title { font-size: 40px; }
.hero-subtitle { font-size: 16px; max-width: 520px; }

@media (max-width: 768px) {
    .hero { min-height: 56vh; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 15px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .tracking-container { grid-template-columns: 1fr; }
    .tracking-map { height: 320px; padding: 20px; }
}

.hero-overlay {
    width: 100%;
    padding: 80px 0;
}

.hero-content {
    color: var(--white);
    max-width: 650px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature i {
    color: var(--accent-orange);
    font-size: 20px;
}

/* About section small plane icon and managers portraits */
.subheading { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-blue); }
.subheading .subheading-icon { font-size: 14px; color: var(--accent-orange); }

/* Managers removed: portrait styles cleaned up */
/* .managers { ... } .manager { ... } and related portrait rules were removed as managers section no longer exists */

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--secondary-blue);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* Tracking Section */
.tracking-section {
    padding: 100px 0;
    background-color: var(--white);
}

.tracking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tracking-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.tracking-content p {
    color: var(--medium-gray);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.6;
}

.tracking-form {
    margin-bottom: 40px;
}

.tracking-form .form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.tracking-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.tracking-form input:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--medium-gray);
    font-size: 14px;
}

.form-hint i {
    color: var(--secondary-blue);
}

.tracking-options {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.tracking-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--medium-gray);
    transition: var(--transition);
    padding: 16px;
    border-radius: var(--border-radius);
    min-width: 120px;
}

.tracking-option:hover {
    background-color: var(--light-gray);
    color: var(--secondary-blue);
}

.tracking-option i {
    font-size: 24px;
    margin-bottom: 8px;
}

.tracking-option span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.tracking-map {
    background-color: #e9f0f7;
    border-radius: 12px;
    padding: 40px;
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #b8d0e8;
    border-radius: 8px;
    position: relative;
}

.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
}

.map-point.nairobi { top: 40%; left: 45%; }
.map-point.mombasa { top: 70%; left: 60%; }
.map-point.kisumu { top: 35%; left: 35%; }
.map-point.dar-es-salaam { top: 80%; left: 65%; }
.map-point.kampala { top: 30%; left: 40%; }

.point-marker {
    width: 20px;
    height: 20px;
    background-color: var(--secondary-blue);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.point-marker:hover {
    transform: scale(1.2);
}

.point-marker.active {
    background-color: var(--accent-orange);
    animation: pulse 2s infinite;
}

.point-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transition: var(--transition);
}

.map-point:hover .point-label {
    opacity: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Leaflet tracking map styles */
.tracking-map-canvas, #tracking-map-canvas { width: 100%; height: 100%; min-height: 360px; border-radius: 8px; overflow: hidden; }
#tracking-map-canvas .leaflet-container, .tracking-map-canvas .leaflet-container { height: 100% !important; }

/* pulsing hub icon used as a DivIcon */
.pulse-icon { position: relative; width: 18px; height: 18px; }
.pulse-icon .pulse { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; background: rgba(255,165,0,0.22); animation: pulse-expand 1.8s infinite; }
.pulse-icon .pulse-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: 50%; background: var(--accent-orange); box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.pulse-icon .map-label { display: block; margin-top: 26px; text-align: center; font-size: 12px; background: rgba(0,0,0,0.6); color: #fff; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }

@keyframes pulse-expand { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.9 } 70% { transform: translate(-50%, -50%) scale(2.2); opacity: 0 } 100% { opacity: 0 } }

/* moving shipment icon */
.ship-icon i { color: var(--accent-orange); font-size: 16px; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }

/* highlight state for pulse icons */
.pulse-icon.highlight { transform: scale(1.12); box-shadow: 0 6px 18px rgba(255,165,0,0.2); }

/* tracking status text under input */
.tracking-status-text { margin-top: 10px; font-size: 14px; color: var(--dark-gray); background: rgba(255,255,255,0.02); padding: 8px 12px; border-radius: 6px; border: 1px dashed rgba(0,0,0,0.06); }
.tracking-status-text strong { color: var(--accent-orange); }


/* Schedules Section */
.schedules-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.schedule-tabs {
    display: flex;
    gap: 2px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 500px;
}

.schedule-tab {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--medium-gray);
}

.schedule-tab:hover {
    background-color: rgba(0, 82, 204, 0.05);
}

.schedule-tab.active {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.schedule-content {
    margin-bottom: 40px;
}

.schedule-table {
    display: none;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.schedule-table.active {
    display: block;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    padding: 20px;
    text-align: left;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.on-time {
    background-color: rgba(0, 168, 107, 0.1);
    color: var(--success);
}

.status.delayed {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
}

.schedule-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}



.hero-content {
    color: var(--white);
    max-width: 650px;
    margin-bottom: 40px;
    font-size: 16px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat {
    text-align: center;
    padding: 24px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 14px;
    font-weight: 500;
}

.company-values h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value {
    text-align: center;
    padding: 24px;
}

.value i {
    font-size: 32px;
    color: var(--secondary-blue);
    margin-bottom: 16px;
}

.value h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.value p {
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.5;
}

.company-image {
    position: relative;
}

.image-placeholder {
    height: 600px;
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.image-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.image-overlay p {
    font-size: 16px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.footer-location { margin-top: 8px; color: var(--medium-gray); font-size: 14px; }
.footer-location i { color: var(--accent-orange); margin-right: 8px; font-size: 16px; vertical-align: text-bottom; }

/* Small action button inside input fields (e.g., Outlook compose after Email) */
.input-with-action { position: relative; }
.input-with-action input { padding-right: 44px; }
.input-action-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--secondary-blue);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}
.input-action-btn:hover { background: rgba(0,0,0,0.04); transform: translateY(-50%) scale(1.02); }

/* booking debug panel styles removed */

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-info i {
    color: var(--accent-orange);
    width: 16px;
    margin-top: 4px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 12px 20px;
}

/* Booking modal styles */
.booking-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 24px;
}
.booking-modal[aria-hidden="false"] { display: flex; }
.booking-modal-content {
    background: var(--white);
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(2,6,23,0.2);
}
.booking-header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid #eee; }
.booking-header h3 { margin:0; color:var(--primary-blue); }
.close-booking { background:none; border:none; font-size:24px; cursor:pointer; }
.booking-body { padding:20px; }
.booking-intro { font-size:16px; margin-bottom:8px; }
.booking-desc { color:var(--medium-gray); margin-bottom:16px; }
.booking-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
.booking-actions .btn { padding:10px 14px; }
.booking-extra label { display:block; font-size:13px; margin-bottom:6px; color:var(--medium-gray); }
.booking-extra textarea { width:100%; padding:12px; border-radius:8px; border:1px solid #e6e6e6; resize:vertical; font-size:14px; }

/* small screens */
@media (max-width: 480px) {
    .booking-modal-content { max-width: 96%; }
    .booking-actions { flex-direction:column; }
}

.service-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-height: 52px; /* keep card action lines visually aligned across cards */
}
.service-actions .book-btn { padding: 10px 18px; font-weight:700; border-radius:8px; white-space:nowrap; }
.service-actions .book-btn.btn-primary { background: linear-gradient(90deg,var(--accent-orange), #ff7a00); color: #fff; border: none; box-shadow: 0 12px 30px rgba(255,138,0,0.12); }
.service-actions .book-btn.btn-primary:hover { transform: translateY(-3px); }

/* Booking form rows inside modal */
.booking-form .form-row { margin-bottom: 12px; }
.booking-form label { display:block; font-size:13px; margin-bottom:6px; color:var(--medium-gray); }
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form select,
.booking-form textarea { width:100%; padding:10px 12px; border-radius:8px; border:1px solid #e6e6e6; font-size:14px; }
.booking-form textarea { min-height:120px; }

/* Inline booking page section */
.booking-page-section { padding: 60px 0; background: var(--white); display: none; }
.booking-page-section.active { display: block; }
.booking-page-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.booking-page-section .section-title { margin-bottom: 6px; }
.booking-page-section .section-subtitle { margin-bottom: 28px; color: var(--medium-gray); }
.booking-page-form { background: #fff; padding: 24px; border-radius: 8px; box-shadow: var(--box-shadow); }
.booking-page-form .form-top { display:flex; justify-content:flex-end; margin-bottom:12px; }
.booking-page-form .two-col { display:flex; gap:12px; }
.booking-sidebar { background: #f7fbff; padding: 24px; border-radius: 8px; box-shadow: var(--box-shadow); }
.booking-success { margin-top:12px; padding:12px 14px; background: rgba(0,168,107,0.08); color: var(--success); border-radius:8px; font-weight:600; }

@media (max-width: 900px) {
    .booking-page-grid { grid-template-columns: 1fr; }
    .booking-sidebar { order: 2; }
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .main-nav {
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .tracking-container,
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav,
    .utility-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-section,
    .tracking-section,
    .schedules-section,
    .company-section {
        padding: 60px 0;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Added styles for new sections */
.about-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px 0;
}
.about-media { position: relative; }
.about-main { width: 100%; border-radius: 12px; display: block; }
.about-stats { position: absolute; right: 20px; bottom: -20px; display:flex; gap:16px; }
.about-stats .stat { background: var(--white); padding: 12px 18px; border-radius: 8px; box-shadow: var(--box-shadow); text-align:center; }
.about-content .features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.about-cta { display:flex; gap:12px; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.service-card { background: var(--white); padding: 18px; border-radius: 8px; text-align: left; box-shadow: var(--box-shadow); transition: var(--transition); }
.service-card .service-img { width: 100%; height: 160px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.service-card h3 { color: var(--primary-blue); margin-bottom: 8px; }

.recognized-section { padding: 40px 0; text-align:center; }
.recognized-section .logos { display:flex; gap:24px; align-items:center; justify-content:center; flex-wrap:wrap; margin-top:16px; }
.recognized-section .logos img { width: 120px; height: auto; filter: grayscale(20%); opacity:0.95; }

.logistics-section { padding: 80px 0; background: linear-gradient(180deg, rgba(245,247,250,1) 0%, rgba(255,255,255,1) 100%); }
.steps-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.step { background: var(--white); padding: 24px; border-radius: 8px; text-align:center; box-shadow: var(--box-shadow); }
.step i { font-size: 28px; color: var(--secondary-blue); margin-bottom: 12px; }

.why-section { padding: 80px 0; }
.why-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.why-item { background: var(--white); padding: 20px; border-radius: 8px; text-align:center; box-shadow: var(--box-shadow); }
.why-item i { font-size: 28px; color: var(--accent-orange); margin-bottom: 8px; }

.blog-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.blog-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--box-shadow); }
.blog-card img { width:100%; height:160px; object-fit:cover; }
.blog-card h4 { padding: 16px; margin: 0; color: var(--primary-blue); }
.blog-card p { padding: 0 16px 16px 16px; color: var(--medium-gray); }

.site-footer { background: var(--primary-blue); color: var(--white); padding: 60px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; align-items:start; }
.footer-about .footer-logo { width: 120px; height: auto; border-radius:6px; }
.footer-newsletter input { padding: 10px; border-radius: 4px; border: none; }

@media (max-width: 1024px) {
    .about-section .about-grid { grid-template-columns:1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .recognized-section .logos img { width: 80px; }
    .testimonial { min-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* small helper */
.section-header { text-align:center; margin-bottom: 20px; }
.section-title { font-size: 28px; color: var(--primary-blue); }
.section-subtitle { color: var(--medium-gray); }

/* Hero styles (aligned with existing theme) */
.hero {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000; /* fallback while images load */
    background-image: url('images/hero2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-inner { position: relative; z-index: 20; }
.hero-content { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; }
.hero-title { font-size: 54px; line-height: 1.03; color: var(--dark-gray); margin-bottom: 18px; font-weight: 800; }
.hero-title span { color: var(--accent-orange); }
.hero-subtitle { color: var(--medium-gray); margin-bottom: 22px; font-size: 18px; max-width: 520px; }
.hero-image { text-align: right; }
.hero-main-image { width: 100%; border-radius: 14px; box-shadow: 0 20px 50px rgba(2,6,23,0.08); max-height: 500px; object-fit: cover; }
.float-img { position: absolute; width: 120px; right: 40px; top: -10px; border-radius: 10px; box-shadow: 0 12px 30px rgba(2,6,23,0.12); }

/* Mobile menu open states */
.main-nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary-blue);
    padding: 20px;
    gap: 16px;
    z-index: 1200;
}
.main-nav.mobile-open .nav-link { color: var(--white); }
.mobile-menu-btn[aria-expanded="true"] { color: var(--secondary-blue); }

@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-image { text-align: center; }
    .float-img { display: none; }
    .hero-title { font-size: 32px; }
}

/* Curved hero (modern, responsive) */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 160px;
    background: transparent;
    color: #fff;
    min-height: 600px;
}

.hero::after {
    /* gentle semicircular curve at the bottom; uses large border-radius to create ellipse */
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -80px;
    height: 180px;
    background: var(--white);
    border-radius: 50%/100%;
    z-index: 3;
    /* keep it subtle on small screens */
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative; /* sits above the ::after */
    z-index: 2;
    padding-top: 20px;
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.03;
    margin-bottom: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.35);
}
.hero-title span { color: rgba(255, 210, 110, 1); text-shadow: 0 6px 18px rgba(0,0,0,0.45); }

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 26px;
    font-weight: 500;
    text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.hero-cta { display:flex; gap:16px; align-items:center; }
.hero-cta .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.18); }
.hero-cta .btn-primary { box-shadow: 0 18px 50px rgba(255,138,0,0.18); }

/* stronger button contrast on mobile */
@media (max-width: 768px) {
    .hero-cta .btn-primary { padding: 12px 20px; font-size: 15px; }
}

.hero-media { display: none; }
.hero-main-image { width: 100%; height: auto; max-height: 520px; border-radius: 14px; box-shadow: 0 28px 60px rgba(3,24,55,0.3); display:block; }

/* Ensure the curve size and hero padding reduce on smaller devices */
@media (max-width: 992px) {
    .hero { padding-bottom: 120px; }
    .hero::after { bottom: -60px; height: 140px; }
    .hero-media { flex-basis: 420px; }
}

@media (max-width: 768px) {
    .hero { padding: 48px 0 90px; }
    .hero-inner { flex-direction: column-reverse; text-align: center; gap: 24px; }
    .hero-media { flex-basis: auto; width: 100%; }
    .hero-main-image { max-width: 92%; margin: 0 auto; }
    .hero::after { left: -40%; right: -40%; bottom: -40px; height: 120px; }
    .hero-title { font-size: 32px; }
}

@media (max-width: 480px) {
    .hero { padding: 36px 0 80px; }
    .hero::after { bottom: -30px; height: 90px; left: -60%; right: -60%; }
    .hero-title { font-size: 26px; }
}

/* Ensure the white curve blends perfectly with the next section which is white */
.about-section, .services-section { position: relative; z-index: 2; }

/* Visual polish and refined components */
header.top-nav { background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6)); backdrop-filter: blur(6px); }
.nav-container { height: 72px; }
.logo img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; margin-right: 10px; }
.logo-text { font-size: 20px; color: var(--primary-blue); }
.main-nav { gap: 28px; }
.nav-link { color: var(--medium-gray); padding: 8px 6px; }
.nav-link:hover { color: var(--primary-blue); }
.nav-link.active { color: var(--secondary-blue); font-weight: 700; }

.btn { border-radius: 10px; padding: 12px 22px; font-weight: 700; letter-spacing: 0.2px; }
.btn-primary { background: linear-gradient(90deg,var(--accent-orange), #ff7a00); color: white; box-shadow: 0 12px 30px rgba(255,138,0,0.12); border: none; }
.btn-outline { border: 2px solid rgba(2,6,23,0.06); background: transparent; color: var(--dark-gray); }
.btn:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(2,6,23,0.06); }

.services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-card { position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06)); opacity: 0; transition: opacity .3s ease; }
.service-card:hover::after { opacity: 1; }
.service-card h3 { margin-top: 12px; }

/* Testimonials Section */
.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(240, 245, 250, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

.testimonial-section .section-title {
    margin-bottom: 50px;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    min-height: 420px;
}

.testimonials {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.testimonial {
    flex: 0 0 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 51, 102, 0.05);
    transition: all 0.3s ease;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial:hover {
    box-shadow: 0 8px 32px rgba(0, 82, 204, 0.12);
    transform: translateY(-4px);
    border-color: rgba(0, 82, 204, 0.1);
}

.testimonial .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--secondary-blue);
    transition: transform 0.3s ease;
}

.testimonial:hover .avatar {
    transform: scale(1.08);
}

.testimonial p {
    font-size: 16px;
    font-style: italic;
    color: var(--medium-gray);
    margin-bottom: 16px;
    line-height: 1.8;
    font-weight: 500;
}

.testimonial h4 {
    margin-top: 12px;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.testimonial h4::before {
    content: '"';
    color: var(--accent-orange);
    font-size: 20px;
    margin-right: 4px;
}

/* Navigation buttons */
.testim-prev, .testim-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--secondary-blue);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.15);
    cursor: pointer;
    font-size: 24px;
    color: var(--secondary-blue);
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
    outline: none;
}

.testim-prev:hover, .testim-next:hover {
    background: var(--secondary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.25);
}

.testim-prev:active, .testim-next:active {
    transform: translateY(-50%) scale(0.96);
}

.testim-prev {
    left: 12px;
}

.testim-next {
    right: 12px;
}

/* Dot indicators */
.testim-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
    align-items: center;
}

.testim-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.testim-dots button:hover {
    background: rgba(0, 82, 204, 0.5);
    transform: scale(1.2);
}

.testim-dots button.active {
    background: var(--secondary-blue);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
    width: 32px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .testimonials,
    .testimonial,
    .testim-prev,
    .testim-next,
    .testim-dots button {
        transition: none !important;
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonials-wrapper {
        padding: 15px 0;
        min-height: 380px;
    }

    .testimonial {
        padding: 28px 20px;
    }

    .testimonial .avatar {
        width: 68px;
        height: 68px;
        margin-bottom: 16px;
    }

    .testimonial p {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .testim-prev, .testim-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .testim-prev {
        left: 4px;
    }

    .testim-next {
        right: 4px;
    }
}

/* Footer social icons */
.footer-socials { margin-top:14px; }
.footer-social-icons { display:flex; gap:10px; margin-top:8px; }
.footer-social-icons a { width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background: rgba(2,6,23,0.06); color: var(--primary-blue); text-decoration:none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.footer-social-icons a:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(2,6,23,0.06); background: linear-gradient(90deg,var(--accent-orange), #ff7a00); color: #fff; }


/* subtle entrance animations */
.fade-in-up { animation: fadeUp .6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* final footer tweaks */
.site-footer { padding-bottom: 40px; }

/* Nav underline */
.nav-underline {
    position: absolute;
    bottom: -6px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 3px;
    transition: left 0.26s cubic-bezier(.2,.9,.28,1), width 0.26s cubic-bezier(.2,.9,.28,1), top 0.26s cubic-bezier(.2,.9,.28,1), height 0.26s ease, opacity 0.18s ease;
    opacity: 0;
    z-index: 20;
}

@media (max-width: 768px) {
    /* On mobile we show a vertical left indicator positioned by JS */
    .nav-underline { bottom: auto; left: 0; width: 4px; opacity: 0; }
}

/* Image reveal and transitions (animations on scroll + hover polish) */
img {
    max-width: 100%;
    height: auto;
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity, filter;
    transition: transform 420ms cubic-bezier(.2,.8,.2,1), opacity 420ms ease, filter 420ms ease;
}

/* Reveal base state */
.reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    filter: blur(4px) saturate(0.98) contrast(0.98);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) saturate(1) contrast(1);
}

/* Slight lift on hover for service and blog images */
.service-card .service-img:hover,
.blog-card img:hover,
.hero-main-image:hover,
.about-main:hover,
.recognized-section .logos img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(2,6,23,0.08);
    opacity: 1;
}

/* Subtle parallax container (for JS to adjust) */
.parallax-img {
    transition: transform 420ms cubic-bezier(.2,.8,.2,1);
    will-change: transform;
}

/* Responsive tuning: ensure transforms don't overflow on small screens */
@media (max-width: 768px) {
    .service-card .service-img,
    .blog-card img {
        height: auto;
        transform: none !important;
    }
}

/* Accessibility: reduce motion preference respect */
@media (prefers-reduced-motion: reduce) {
    img, .reveal, .reveal.in-view, .parallax-img { transition: none !important; animation: none !important; transform: none !important; }
}

/* Inline booking form animated reveal (fade + slide) */
.booking-page-section {
    opacity: 0;
    transform: translateY(18px);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: opacity 360ms cubic-bezier(.2,.9,.28,1), transform 360ms cubic-bezier(.2,.9,.28,1), max-height 520ms ease;
    will-change: opacity, transform, max-height;
    background: transparent;
}
.booking-page-section.active {
    opacity: 1;
    transform: translateY(0);
    max-height: 2200px; /* large enough to accommodate the form */
    visibility: visible;
    transition: opacity 360ms cubic-bezier(.2,.9,.28,1), transform 360ms cubic-bezier(.2,.9,.28,1), max-height 720ms ease;
}

/* Slight elevation and spacing for the inline booking section when visible */
.booking-page-section .container {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.98));
    padding: 30px 20px 46px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(12,36,64,0.06);
}

/* Floating persistent booking button */
.floating-book-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg,var(--accent-orange), #ff7a00);
    color: #fff;
    box-shadow: 0 10px 36px rgba(12,36,64,0.16);
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    /* entrance animation */
    animation: floating-enter 640ms cubic-bezier(.2,.9,.28,1) both;
    animation-delay: 520ms;
}
.floating-book-btn:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(12,36,64,0.2); }
.floating-book-btn:active { transform: translateY(0); }
.floating-book-btn .fb-label { display: inline-block; }

@media (max-width: 480px) {
    .floating-book-btn { padding: 12px; right: 14px; bottom: 14px; }
    .floating-book-btn .fb-label { display: none; }
}

/* Floating button entrance keyframes */
@keyframes floating-enter {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .floating-book-btn { animation: none !important; transition: none !important; }
}

/* Make header open-booking button slightly more compact on small screens */
#open-booking-btn { padding: 8px 14px; font-size: 13px; }
#footer-open-booking { margin-top: 10px; display: inline-block; }

/* Hero slider styles (CSS-driven transitions for the hero slideshow) */
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #000;
    display: block;
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2,6,23,0.65) 0%, rgba(28,114,189,0.35) 100%);
    z-index: 1;
    pointer-events: none;
}


.hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 600ms ease-out, transform 600ms ease-out, filter 10s ease-out;
    opacity: 0;
    z-index: 0;
    will-change: opacity, transform;
    transform: scale(1.02);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Subtle zoom/brightness animation applied to the slide itself */
    filter: brightness(0.98);
}

@keyframes slideZoom {
    from {
        transform: scale(1.05);
        filter: brightness(0.95);
    }
    to {
        transform: scale(1);
        filter: brightness(1);
    }
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.hero-slider .slide.active {
    animation: slideZoom 10s ease-out forwards;
}

/* Navigation buttons */
.hero-prev, .hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    font-size: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.hero-prev {
    left: 12px;
}

.hero-next {
    right: 12px;
}

.hero-prev:hover, .hero-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-prev:active, .hero-next:active {
    transform: translateY(-50%) scale(0.98);
}

/* Dot indicators */
.hero-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    display: flex;
    gap: 8px;
    z-index: 3;
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    outline: none;
}

.hero-dots button:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: scale(1.15);
}

.hero-dots button.active {
    background: var(--accent-orange);
    box-shadow: 0 0 12px rgba(255, 138, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 12px;
    height: 12px;
}

/* Play/Pause control inside hero */
.hero-playpause {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.hero-playpause:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.05);
}

.hero-playpause:focus {
    outline: 2px solid rgba(255,255,255,0.18);
}



@media (prefers-reduced-motion: reduce) {
    .hero-slider .slide {
        transition: none !important;
        animation: none !important;
    }
    
    .hero-prev, .hero-next,
    .hero-dots button {
        transition: none !important;
    }
}

/* Ensure hero text overlays reliably and remains readable */
.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 51, 102, 0.25) 0%,
        rgba(0, 51, 102, 0.15) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-inner {
    position: relative;
    z-index: 4;
}

.hero-content {
    position: relative;
    z-index: 5;
    color: #fff;
}

.hero-title, .hero-subtitle {
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.6),
                 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-slider::before {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.36) 0%,
            rgba(0, 0, 0, 0.42) 50%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }
    
    .hero-prev, .hero-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .hero-prev {
        left: 8px;
    }
    
    .hero-next {
        right: 8px;
    }
    
    .hero-dots {
        bottom: 12px;
        gap: 6px;
        padding: 6px 10px;
    }
    
    .hero-dots button {
        width: 8px;
        height: 8px;
    }
    
    .hero-dots button.active {
        width: 10px;
        height: 10px;
    }
}
/* Use modern CSS for responsiveness */
.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

/* Use clamp() for fluid typography */
h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

/* CSS Grid/Flexbox for layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
/* Use transform and opacity for smooth animations */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hardware acceleration */
.animated-element {
  transform: translateZ(0);
  will-change: transform, opacity;
}


