/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #005FDF;
    --primary-dark: #004bb5;
    --primary-rgb: 0, 95, 223;
    --secondary-color: #eef5ff;
    --text-color: #333333;
    --light-bg: #e3efff;
    --border-color: #c5daf7;

    --bs-primary: #005FDF;
    --bs-primary-rgb: 0, 95, 223;
    --bs-link-color: #005FDF;
    --bs-link-hover-color: #004bb5;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
    max-width: 100%;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Typography styles */
.font-script {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header */
.top-bar {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar > .container {
    max-width: 100%;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.navbar-brand .site-logo {
    height: 135px;
    width: auto;
    max-width: 380px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .navbar-brand .site-logo {
        height: 90px;
        max-width: min(280px, 72vw);
    }

    .navbar-collapse .navbar-nav {
        padding-top: 0.5rem;
    }

    .navbar-collapse .nav-link {
        margin: 0;
        padding: 0.55rem 0;
    }

    .navbar-cta {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        gap: 0.75rem;
        padding: 1rem 0 0.25rem;
        border-top: 1px solid var(--border-color);
        margin-top: 0.5rem;
    }

    .navbar-cta .navbar-phone {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .navbar-cta .btn {
        width: 100%;
    }
}
.navbar-brand span {
    display: block;
    font-size: 0.7rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    color: #555;
    text-transform: uppercase;
    margin-top: -5px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 10px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #111;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.hero-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-script {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    font-size: 0.85rem;
}
.trust-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Booking Form */
.booking-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    margin-top: -100px;
}

.booking-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    max-width: 100%;
}

.booking-card .input-group {
    min-width: 0;
    flex-wrap: nowrap;
}

.booking-card .input-group .form-control {
    min-width: 0;
}

.booking-features {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.booking-whatsapp-btn {
    background-color: #25d366;
    border-color: #25d366;
    padding: 0.85rem 1.25rem;
    min-height: 52px;
}

.booking-form-submit {
    display: flex;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .booking-form-submit {
        padding-top: 1.75rem;
    }
}
.booking-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: #555;
}
.booking-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Services */
.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Features */
.feature-item {
    text-align: center;
}
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.feature-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Fleet */
.vehicle-card {
    border: none;
    background: transparent;
}
.vehicle-img-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}
.vehicle-img-wrapper img {
    max-width: 100%;
    height: auto;
}
.vehicle-img-wrapper--large {
    padding: 28px 20px;
}
.vehicle-img-wrapper--large img {
    max-height: 140px;
    object-fit: contain;
}
.vehicle-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}
.vehicle-stats i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Destinations */
.destination-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.destination-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.destination-card .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 15px 10px;
    color: #fff;
}
.destination-card h4 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Testimonials */
.testimonial-google {
    font-size: 1.35rem;
    color: var(--primary-color);
    line-height: 1;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}
.stars {
    color: #ffc107;
    margin-bottom: 15px;
}
.testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    min-height: 80px;
}
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.client-img {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.client-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}
.client-loc {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
}

.footer-brand {
    display: inline-block;
}

.footer-logo {
    height: 110px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}
footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 10px;
}
footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
    text-align: center;
}

/* Specific page tweaks */
.bg-light-blue {
    background-color: var(--light-bg);
}
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 10px;
}
.section-title .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* Timeline (How it works) */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--primary-color) 0, var(--primary-color) 5px, transparent 5px, transparent 10px);
    z-index: 1;
}
.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}
.timeline-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.timeline-step h4 {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.timeline-step p {
    font-size: 0.85rem;
    color: #666;
}

/* Compare table */
.compare-table th {
    background-color: var(--light-bg);
    text-align: center;
    padding: 15px;
}
.compare-table td {
    text-align: center;
    padding: 15px;
    vertical-align: middle;
}
.check-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Image wrappers */
.rounded-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
}
.rounded-img-wrapper img {
    width: 100%;
    height: auto;
}

/* UI Enhancements */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #ffffff; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; pointer-events: none; }
#preloader.fade-out { opacity: 0; pointer-events: none; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; color: #fff; border-radius: 50%; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; text-decoration: none; }
.whatsapp-float:hover { background-color: #128c7e; color: #fff; transform: scale(1.1); }
.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; width: 100%; max-width: 100%; background: #ffffff; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 999; display: flex; justify-content: space-around; padding: 10px 0; border-top: 1px solid var(--border-color); box-sizing: border-box; }
.mobile-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #555; font-size: 0.75rem; font-weight: 500; transition: color 0.3s ease; }
.mobile-bottom-nav .nav-item i { font-size: 1.2rem; margin-bottom: 3px; }
.mobile-bottom-nav .nav-item:hover, .mobile-bottom-nav .nav-item:focus { color: var(--primary-color); }
@media (max-width: 991px) { body { padding-bottom: 70px; } .whatsapp-float { bottom: 85px; right: 20px; width: 50px; height: 50px; font-size: 25px; } }

/* Tablet & mobile */
@media (max-width: 991px) {
    .booking-card {
        margin-top: -36px;
    }

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

    .section-title {
        margin-bottom: 36px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-step {
        width: 100%;
    }

    .hero-section--fixed-bg {
        background-attachment: scroll !important;
    }
}

/* Mobile Responsiveness Fixes */
@media (max-width: 767px) {
    .top-bar {
        font-size: 0.78rem;
        text-align: center;
    }

    .top-bar .container {
        justify-content: center !important;
    }

    .top-bar .contact-info span {
        display: inline-block;
        max-width: 100%;
    }

    .navbar {
        padding: 0.65rem 0;
    }

    .navbar-brand .site-logo {
        height: 72px;
        max-width: min(220px, 65vw);
    }

    .hero-section {
        min-height: auto;
        padding: 48px 0 56px;
    }

    .hero-section::before {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.85) 100%);
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .hero-script {
        font-size: 1.25rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content {
        text-align: left;
        max-width: 100%;
    }

    .hero-content .d-flex.gap-3 {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content .btn {
        width: 100%;
        text-align: center;
    }

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

    .section-title h2 {
        font-size: 1.6rem;
        padding: 0 0.25rem;
    }

    .mobile-bottom-nav {
        z-index: 99999;
    }

    .whatsapp-float {
        z-index: 100000;
        bottom: 85px;
        right: 12px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .booking-card {
        margin-top: 0;
        padding: 18px 16px 24px;
        border-radius: 10px;
    }

    #booking.container,
    section.container.position-relative {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
        padding-bottom: 1.5rem;
    }

    .booking-card h3 {
        font-size: 1.15rem;
        flex-wrap: wrap;
    }

    .booking-form-grid {
        --bs-gutter-y: 1.15rem;
    }

    .booking-form-submit {
        margin-top: 0.75rem;
        padding-top: 0.25rem;
        align-items: stretch;
    }

    .booking-whatsapp-btn {
        min-height: 54px;
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .booking-features {
        margin-top: 2rem;
        padding-top: 1.5rem;
        flex-wrap: wrap;
        gap: 1.25rem 0.75rem;
        justify-content: flex-start;
    }

    .booking-feature {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .vehicle-stats {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 0.8rem;
    }

    .vehicle-stats span {
        text-align: center;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-bottom .links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .compare-table {
        font-size: 0.75rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 8px;
        white-space: nowrap;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .contact-cards-overlap {
        margin-top: 0 !important;
        padding-top: 1.5rem !important;
    }

    #planning.container {
        margin-top: 0 !important;
    }

    .hero-section--fixed-bg {
        min-height: auto !important;
        padding-top: 72px !important;
        padding-bottom: 48px !important;
    }

    .container {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
}

/* Extra Safe Area Padding for Bottom Nav */
@media (max-width: 767px) {
    .mobile-bottom-nav { padding-bottom: max(15px, env(safe-area-inset-bottom)); }
    .mobile-bottom-nav .nav-item span { display: block; line-height: 1.2; margin-top: 4px; }
}

/* Private Tours CSS */
.vehicle-selector { border: 2px solid #e9ecef; cursor: pointer; transition: all 0.3s ease; }
.btn-check:checked + .vehicle-selector { border-color: var(--primary-color); background-color: rgba(var(--primary-rgb), 0.05); }
.tour-card { transition: transform 0.3s ease; }
.tour-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }
.feature-circle { width: 70px; height: 70px; border-radius: 50%; border: 1px dashed var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary-color); transition: all 0.3s ease; }
.feature-circle:hover { background-color: var(--primary-color); color: #fff; }
.destination-thumb { position: relative; border-radius: 8px; overflow: hidden; height: 80px; }
.destination-thumb img { width: 100%; height: 100%; object-fit: cover; }
.destination-thumb .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 0.8rem; transition: background 0.3s ease; }
.destination-thumb:hover .overlay { background: rgba(0,0,0,0.2); }
.step-line { position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(to right, var(--primary-color) 0, var(--primary-color) 5px, transparent 5px, transparent 10px); z-index: 1; }
.step-card { position: relative; z-index: 2; padding: 0 15px; }
.step-number { width: 35px; height: 35px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 20px; box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.1); }
@media (max-width: 991px) { .destination-thumb { height: 100px; } .step-line { display: none; } .step-number { margin: 0 auto 20px; } .step-card { text-align: center !important; margin-bottom: 30px; } .step-card p { text-align: center; } .step-card p i { float: none !important; margin-bottom: 10px; display: block; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }
